sar-gupta / neural-network-from-scratch Goto Github PK
View Code? Open in Web Editor NEWImplementation of a neural network from scratch in python.
License: MIT License
Implementation of a neural network from scratch in python.
License: MIT License
Add inverted dropout implementation.
During long waits of training and saving, I was getting confused if the program is stuck. Perhaps progress like the following would help? I can create separate PR or commit to #3 if you think its a good idea.
Starting...
Training...
== EPOCH: 0 / 5 ==
Training with 60000 / 60000
Error: 9.15849543933
== EPOCH: 1 / 5 ==
Training with 23692 / 60000
...
Saving...
Testing...
Accurracy: 7.87
Class names are usually CamelCased, and Python code should follow PEP to maximize readability. The importance of readability is to ensure fellow programmers can better learn from code and track bugs. Nonetheless, your code is generally very readable. Good job! ๐
== EPOCH: 1 / 5 ==
Training with 2001 / 60000
/Users/dikshant/opt/anaconda3/lib/python3.7/site-packages/ipykernel_launcher.py:101: RuntimeWarning: divide by zero encountered in log
/Users/dikshant/opt/anaconda3/lib/python3.7/site-packages/ipykernel_launcher.py:101: RuntimeWarning: invalid value encountered in multiply
Training with 59951 / 60000/ 60000
Error: nan
== EPOCH: 2 / 5 ==
Training with 59951 / 60000 / 6000060000
Error: nan
== EPOCH: 3 / 5 ==
Training with 59951 / 60000
Error: nan
== EPOCH: 4 / 5 ==
Training with 59951 / 600001551 / 60000
Error: nan
== EPOCH: 5 / 5 ==
Training with 59951 / 60000
Error: nan
this is the output on a run on tensorflow's version of mnist
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.