DiffSharp
ocaml-torch
DiffSharp | ocaml-torch | |
---|---|---|
4 | 1 | |
599 | 431 | |
0.0% | 0.5% | |
4.6 | 2.5 | |
over 1 year ago | 11 months ago | |
F# | OCaml | |
BSD 2-clause "Simplified" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
DiffSharp
- OCaml's Wings for Machine Learning
-
Why is F# code so robust and reliable?
More expressive nature of F# means you don't have that many files. C# is luckily and finally moving into that direction too. There was no reason for "one file per class" policy anyway, but it was still widely adopted historically.
Here's an example of a worst-case scenario (GUI frameworks have notoriously huge amount of code): https://github.com/fsprojects/Avalonia.FuncUI/blob/master/sr...
But realistically an average project would look closer to this instead: https://github.com/DiffSharp/DiffSharp/blob/dev/src/DiffShar...
Once you have enough files, it might be a good idea to factor out separate concerns into different projects.
- Automatic differentiation in a lot more than 38 lines of F#
-
Neural Networks Fsharp
Yes. You can use TensorFlow.NET or DiffSharp.
ocaml-torch
What are some alternatives?
corgi - A neural network, and tensor dynamic automatic differentiation implementation for Rust.
lamp - deep learning and scientific computing framework with native CPU and GPU backend for the Scala programming language
hyperlearn - 2-2000x faster ML algos, 50% less memory usage, works on all hardware - new and old.
norse - Deep learning with spiking neural networks (SNNs) in PyTorch.
dfdx - Deep learning in Rust, with shape checked tensors and neural networks
DALI - A GPU-accelerated library containing highly optimized building blocks and an execution engine for data processing to accelerate deep learning training and inference applications.