Skip to content

Instantly share code, notes, and snippets.



Created Apr 10, 2020
What would you like to do?
vector<double>error; // for storing the error values
double err; // for calculating error on each stage
double b0 = 0; // intializing b0
double b1 = 0; // initializing b1
double alpha = 0.01; // initializing our learning rate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment