Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Public Member Functions | |
predict (array $samples) | |
train (array $samples, array $targets) | |
Public Attributes | |
const | CONTINUOS = 1 |
const | EPSILON = 1e-10 |
const | NOMINAL = 2 |
Protected Member Functions | |
predictSample (array $sample) | |
|
inherited |
Implemented in Phpml\Pipeline.
|
protected |
mixed |
Phpml\Classification\NaiveBayes::train | ( | array | $samples, |
array | $targets ) |
Implements Phpml\Estimator.