trekhleb/nano-neuron
A minimal JavaScript implementation demonstrating how a single artificial neuron learns to convert Celsius to Fahrenheit.

Velocity · 7d
+1.0
★ / day
Trend
→steady
star history
NanoNeuron is an educational project that teaches machine learning fundamentals through 7 simple JavaScript functions. It implements a single neuron with prediction, cost calculation, forward and backward propagation, and training capabilities. The project requires no external libraries, demonstrating the core math behind machine learning by having a neuron learn the Celsius-to-Fahrenheit conversion formula from scratch.