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

Function test3

machine_learning/adaline_learning.cpp:313–354  ·  view source on GitHub ↗

* test function to predict points in a 3D coordinate system lying within the * 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 * 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<

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