Skip to content

davidkowalk/c_gradient_descent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c_gradient_decent

This project supplies the tools for simple gradient descent in either two dimensions (1 input and 1 output) or generalized concepts in more dimensions.

It can find either minimums or maximums by adjusting the gamma-scalar (see documentation) from a supplied function. Derivatives are determined numerically with a supplied step-size.

See the documentation ind /docs/ for more information.

Installation

To install this api in your project copy the following files into your workspace:

  • gradient_descent.h
  • gradient_descent.c
  • vector_math.c

Please note that gradient_descent.c will try to include vector_math.c regardless of whether or not it's functions are already defined.

About

Open source model fitting with basic gradient descent.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages