Created
April 10, 2020 06:56
-
-
Save Alakhator/5bc3960cf64225aa44abf18737092a3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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