Current Path : C:/xampp/htdocs/moodle/lib/mlbackend/php/phpml/src/Phpml/Classification/ |
Current File : C:/xampp/htdocs/moodle/lib/mlbackend/php/phpml/src/Phpml/Classification/WeightedClassifier.php |
<?php declare(strict_types=1); namespace Phpml\Classification; abstract class WeightedClassifier implements Classifier { /** * @var array */ protected $weights = []; /** * Sets the array including a weight for each sample */ public function setSampleWeights(array $weights): void { $this->weights = $weights; } }