MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / test2

Function test2

machine_learning/adaline_learning.cpp:262–300  ·  view source on GitHub ↗

* test function to predict points in a 2D coordinate system above the line * \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) */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls 2

fitMethod · 0.45
predictMethod · 0.45

Tested by

no test coverage detected