Skip to content
/ NN.c Public

Feedforward neural network implemented from scratch in pure C.

Notifications You must be signed in to change notification settings

mrochk/NN.c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

Feedforward neural network implemented from scratch in pure C.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published