Re:Leaf: Machine learning framework in Rust
by hobofan on Tuesday March 08, 2016 @08:46AM
(#11245143)
A DSL based format has some advantages as it easy to get going with building networks. However you are then constrained by what the program that interprets/executes the DSL supports in terms of loading/saving data, solvers etc.. If you want to do something more dynamic e.g. AlphaGo then you have to go back to a "real" programming language anyway.
That's not to say that Leaf won't have a DSL at some point, but we will wait until the features of the layers are a bit more stabilized and we have more clearly mapped out what goals we have for a DSL.
Re:Leaf: Machine learning framework in Rust
by NotUsingLinux on Tuesday March 08, 2016 @09:17AM
(#11245308)
so you say prototyping is easier without a DSL?
Re:Leaf: Machine learning framework in Rust
by hobofan on Tuesday March 08, 2016 @09:30AM
(#11245396)
Depends on what kind of prototyping. At the current state of neural networks DSLs are mainly helpful if you want to tune a network architecture for well-established tasks like image classification for the Imagenet dataset.
Outside of that I see more dynamic alternatives used much more.
You can easily add new layer types, and recurrent connections are easy too - you just add a delay node.
Furthermore, since the configuration file format is fairly simple, it is possible to make GUI tools to visualise it and - in future - edit it.