Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
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.