mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
improve documentation for adaline
This commit is contained in:
parent
09f6252724
commit
82f3fff672
@ -266,6 +266,10 @@ void test2(double eta = 0.01) {
|
|||||||
* sphere of radius 1 and centre at origin as +1 and others as -1. Note that
|
* sphere of radius 1 and centre at origin as +1 and others as -1. Note that
|
||||||
* each point is defined by 3 values but we use 6 features. The function will
|
* each point is defined by 3 values but we use 6 features. The function will
|
||||||
* create random sample points for training and test purposes.
|
* create random sample points for training and test purposes.
|
||||||
|
* The sphere centred at origin and radius 1 is defined as:
|
||||||
|
* \f$x^2+y^2+z^2=r^2=1\f$ and if the \f$r^2<1\f$, point lies within the sphere
|
||||||
|
* else, outside.
|
||||||
|
*
|
||||||
* \param[in] eta learning rate (optional, default=0.01)
|
* \param[in] eta learning rate (optional, default=0.01)
|
||||||
*/
|
*/
|
||||||
void test3(double eta = 0.01) {
|
void test3(double eta = 0.01) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user