(no description)
File Size: | 102 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
LeastSquares:: (7 methods):
train()
predictSample()
getCoefficients()
getIntercept()
computeCoefficients()
getSamplesMatrix()
getTargetsMatrix()
Class: LeastSquares - X-Ref
train(array $samples, array $targets) X-Ref |
predictSample(array $sample) X-Ref |
return: mixed |
getCoefficients() X-Ref |
No description |
getIntercept() X-Ref |
No description |
computeCoefficients() X-Ref |
coefficient(b) = (X'X)-1X'Y. |
getSamplesMatrix() X-Ref |
Add one dimension for intercept calculation. |
getTargetsMatrix() X-Ref |
No description |