Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
Phpml\Classification\Linear\Perceptron Member List

This is the complete list of members for Phpml\Classification\Linear\Perceptron, including all inherited members.

$enableEarlyStop (defined in Phpml\Classification\Linear\Perceptron)Phpml\Classification\Linear\Perceptronprotected
$featureCount (defined in Phpml\Classification\Linear\Perceptron)Phpml\Classification\Linear\Perceptronprotected
$labels (defined in Phpml\Classification\Linear\Perceptron)Phpml\Classification\Linear\Perceptronprotected
$learningRate (defined in Phpml\Classification\Linear\Perceptron)Phpml\Classification\Linear\Perceptronprotected
$maxIterations (defined in Phpml\Classification\Linear\Perceptron)Phpml\Classification\Linear\Perceptronprotected
$normalizer (defined in Phpml\Classification\Linear\Perceptron)Phpml\Classification\Linear\Perceptronprotected
$optimizer (defined in Phpml\Classification\Linear\Perceptron)Phpml\Classification\Linear\Perceptronprotected
$weights (defined in Phpml\Classification\Linear\Perceptron)Phpml\Classification\Linear\Perceptronprotected
__construct(float $learningRate=0.001, int $maxIterations=1000, bool $normalizeInputs=true)Phpml\Classification\Linear\Perceptron
checkNormalizedSample(array $sample)Phpml\Classification\Linear\Perceptronprotected
getCostValues()Phpml\Classification\Linear\Perceptron
output(array $sample)Phpml\Classification\Linear\Perceptronprotected
outputClass(array $sample)Phpml\Classification\Linear\Perceptronprotected
partialTrain(array $samples, array $targets, array $labels=[]) (defined in Phpml\Classification\Linear\Perceptron)Phpml\Classification\Linear\Perceptron
predict(array $samples) (defined in Phpml\Estimator)Phpml\Estimator
predictProbability(array $sample, $label)Phpml\Classification\Linear\Perceptronprotected
predictSampleBinary(array $sample)Phpml\Classification\Linear\Perceptronprotected
resetBinary() (defined in Phpml\Classification\Linear\Perceptron)Phpml\Classification\Linear\Perceptronprotected
runGradientDescent(array $samples, array $targets, Closure $gradientFunc, bool $isBatch=false)Phpml\Classification\Linear\Perceptronprotected
runTraining(array $samples, array $targets)Phpml\Classification\Linear\Perceptronprotected
setEarlyStop(bool $enable=true)Phpml\Classification\Linear\Perceptron
train(array $samples, array $targets) (defined in Phpml\Estimator)Phpml\Estimator
trainBinary(array $samples, array $targets, array $labels) (defined in Phpml\Classification\Linear\Perceptron)Phpml\Classification\Linear\Perceptron