This is a simple neural network built in Go. It is further discussed here and in Machine Learning with Go.
dwhitena / gophernet Goto Github PK
View Code? Open in Web Editor NEWA simple from-scratch neural net written in Go
A simple from-scratch neural net written in Go
This is a simple neural network built in Go. It is further discussed here and in Machine Learning with Go.
Hello. I've been digging around neural networks lately. I made me a single hidden layer network from scratch and was not sure, if my results are right and I made a mistake. So I tried to find another implementations to compare results and I stumbled upon this repo & blog. So I made result comparison between your and my implementation and the results didn't match for the same initial conditions.
After some time spent to reevaluate my code, some other examples and math background, I've decided to write tis issue to ask a question about your training code on following lines.
Lines 174 to 176 in 09031b1
My question is: Is there a bug in your code? Shouldn't the parameter to applySigmoidPrime
be outputLayerInput
(resp. hiddenLayerInput
)?
I've found some materials and there they compute the delta using sigmoid prime (derivation of sigmoid) with the same input as the parameter to sigmoid in input forward propagaion.
NOTE: Or since the output = sigmoid(outputLayerInput)
, you can compute the sigmoidPrime as output*(1-output)
.
Thank you for your time & I'm looking forward to your answer.
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.