This project is a simple Scala porting of deeplearning4j-0.4-example.
The main purpose of this project is:
-
Show example of how to use deeplearning4j Java API from scala
-
Provide a sbt project template depends on DL4J
Every examples in this demonstration directly calls Java APIs of DL4J. If you want to write codes in the scala manner strongly, you should consider to use deeplearning4s.
Repository of Deeplearning4J neural net examples:
- Convolutional Neural Nets
- Deep-belief Neural Nets
- Glove Example
- Restricted Boltzmann Machines
- Recurrent Neural Nets
- Recursive Neural Nets
- TSNE
- Word2Vec
For more information, check out deeplearning4j.org and its JavaDoc.
If you notice issues, please log them, and if you want to contribute, submit a pull request. Input is welcome here.
Model Name | Accuracy | F1 | Training |
---|---|---|---|
CNNIris | 0.9 | 0.94 | batch |
CNNMnist | 0.87 | 0.87 | batch |
DBNIris | 0.67 | 0.8 | full |
DBNMnistFull | 0.09 | 0.17 | batch |
MLPBackpropIris | 0.82 | 0.81 | full |
MLPMnistSingleLayer | 0.91 | 0.91 | batch |
RBMIris | NA | full | |
TSNEStandard | NA | NA | |
Word2VecRawText | NA | batch |
- Accuracy and F1 depends on how many examples the model is trained on.