Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
Phpml\Regression\LeastSquares Class Reference
Inheritance diagram for Phpml\Regression\LeastSquares:
Phpml\Regression\Regression Phpml\Estimator

Public Member Functions

 getCoefficients ()
 
 getIntercept ()
 
 predict (array $samples)
 
 predictSample (array $sample)
 
 train (array $samples, array $targets)
 

Member Function Documentation

◆ predict()

Phpml\Estimator::predict ( array $samples)
inherited

Implemented in Phpml\Pipeline.

◆ predictSample()

Phpml\Regression\LeastSquares::predictSample ( array $sample)
Return values
mixed

◆ train()

Phpml\Regression\LeastSquares::train ( array $samples,
array $targets )

Implements Phpml\Estimator.


The documentation for this class was generated from the following file: