-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Examples about training and inference #128
Comments
whoops, we didn't publish the latest code with sequential and Adam included. Version 0.0.11 should be good now! Adam is unfortunately a bit buggy at the moment so I changed the example to use sgd |
Awesome, it seems to do something now, thank you. Some more questions if you don't mind:
Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd like to build a little feed-forward fully connected thing with just one hidden layer, I looked at the examples but perhaps the most relevant one, train.ts, doesn't seem to work anymore as things like
sm.module.sequential
andsm.optim.Adam
don't seem to exist anymore.It would be great to get that example fixed.
In general it would also be great to get a sort of simpler and more exhaustive "getting started" example, like a tiny model that learns XOR that showcases how to build the network (perhaps with 1 hidden layer for the sake of showcasing how to do it), how to feed it data for training, and how to validate it with more data afterwards.
At the moment I'm a bit stuck, I have the dataset, I had the network sort of working on top of
Brain.js
(too slow), but I don't know what Shumai code I should write to recreate the same network and training/testing "pipeline".The text was updated successfully, but these errors were encountered: