Skip to content

Instantly share code, notes, and snippets.

@Alakhator
Created April 10, 2020 07:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Alakhator/2aafabe4172e4f35396d9d94a286db97 to your computer and use it in GitHub Desktop.
Save Alakhator/2aafabe4172e4f35396d9d94a286db97 to your computer and use it in GitHub Desktop.
vector<double>error; // for storing the error values
double err; // for calculating error on each stage
double b0 = 0; // initializing b0
double b1 = 0; // initializing b1
double b2= 0; // initializing b2
double alpha = 0.01; // initializing our learning rate
double e = 2.71828
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment