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

Function test_circle

machine_learning/kohonen_som_trace.cpp:196–212  ·  view source on GitHub ↗

Creates a random set of points distributed *near* the circumference * of a circle and trains an SOM that finds that circular pattern. The * generating function is * \f{eqnarray*}{ * r &\in& [1-\delta r, 1+\delta r)\\ * \theta &\in& [0, 2\pi)\\ * x &=& r\cos\theta\\ * y &=& r\sin\theta * \f} * * \param[out] data matrix to store data in */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

test1Function · 0.85

Calls 2

_randomFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected