change test2 function to predict

This commit is contained in:
Krishna Vedala 2020-05-31 07:49:47 -04:00
parent 9ded2c120c
commit 14068efe18

View File

@ -211,7 +211,7 @@ void test1(double eta = 0.01) {
/**
* test function to predict points in a 2D coordinate system above the line
* \f$x+y=-1\f$ as +1 and others as -1.
* \f$x+3y=-1\f$ as +1 and others as -1.
* Note that each point is defined by 2 values or 2 features.
* The function will create random sample points for training and test purposes.
* \param[in] eta learning rate (optional, default=0.01)