Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
|
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.