An introduction to building a simple neural network from scratch in C without external libraries.
Chapters:
- - Intro
- - What is Machine Learning
- - Mathematical Modeling
- - Plan for Today
- - Our First Model
- - Training Data for the Model
- - Initializing the Model
- - Measuring How Well Model Works
- - Improving the Cost Function
- - Approximating Derivatives
- - Training Process
- - Artifician Neurons
- - Adding Bias to the Model
- - More Complex Model
- - Simple Logic Gates Model
- - Activation Function
- - Troubleshooting the Model
- - Adding Bias to the Gates Model
- - Plotting the Cost Function
- - Muxiphobia
- - How I Understand Bias
- - Other Logic Gates
- - XOR-gate with 1 neuron
- - XOR-gate with multiple neurons
- - Coding XOR-gate model
- - Human Brain VS Artificial Neural Network
- - Continue coding XOR-gate model
- - Non-XOR-gates with XOR Architecture
- - Looking Inside of Neural Network
- - Arbitrary Logic Circuits
- - Shapes Classifier
- - Better Representation of Neural Networks
- - Outro
- - Smooch
References:
- github.com/tsoding/perceptron
- Notes: github.com/tsoding/ml-notes
Support:
- BTC: bc1qj820dmeazpeq5pjn89mlh9lhws7ghs9v34x9v9
Why it's here
1 person recommends this
What people say. Recommended as a rare and detailed tutorial on implementing neural networks in C rather than Python.
G
u/GovtOfficer420in r/C_Programming • Recommends
So I created a simple Neural Network in C...
So I created a simple neural network in C. I was inspired by tsoding daily's playlist Machine Learning in C. I was looking for neural network tutorial but unfortunately everything was in python. This guy's video was only one I could find that was in C.
So here is my simple NN. It's fully connected only. And I'm only using Finite Difference as the learning algorithm. I'll post here again after I learn back propagation.
Anyway, here's the link and all feedback is welcome: https://pastebin.com/c2KUExvb