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

Function test1

machine_learning/adaline_learning.cpp:224–253  ·  view source on GitHub ↗

* test function to predict points in a 2D coordinate system above the line * \f$x=y\f$ as +1 and others as -1. * Note that each point is defined by 2 values or 2 features. * \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 1

predictMethod · 0.45

Tested by

no test coverage detected