Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 802 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 802 Bytes

NN.c

Feedforward neural network & other ML models implemented from scratch in pure C.

Models implemented:

Examples are illustrated by fitting linear as well as non-linear functions.

For now the functions derivatives / weights gradients are calculated either "by hand" or approximated via finite difference for each example, but I plan on building an autograd engine soon too.

For the optimizer we always use the simple non-stochastic gradient descent algorithm.

For storing numerical values we use the single-precision floating-point type (float).