mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
change test2 function to predict
This commit is contained in:
parent
9ded2c120c
commit
14068efe18
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user