3 ms·
This is such a cool project! Plus a pretty awesome example of using Rust for CLI's. I'm curious about the neural network though. Is that also written in Rust? O
by bhargav_ 8y ago
This is such a cool project! Plus a pretty awesome example of using Rust for CLI's. I'm curious about the neural network though. Is that also written in Rust? Or are you embedding something else?
- tectonic 8y agoThanks! It is written in Rust. It's a very simple NN with one hidden layer and back propagation.
- bhargav_ 8y agoJust saw the implementation. It's goes a little over my head unfortunately, but I am curious about the affects of it. Did you compare the non-neural net version with the neural net version? If so what differences did you find?
- tectonic 8y agoI found that the neural network does a little better than a simple linear regression function for weighting the parameters. I train it on a few months of my own shell history to predict, based on the last commands, what I'll type next.
- 2bitencryption 8y agoare the default weights I see in the code the result of your own local training?
- tectonic 8y agoYup