MCordingley\Regression\StatisticsGatherer\Linear::getPredictedOutcomes PHP Méthode

getPredictedOutcomes() private méthode

private getPredictedOutcomes ( ) : array
Résultat array
    private function getPredictedOutcomes() : array
    {
        if (!$this->predictedOutcomes) {
            $this->predictedOutcomes = [];
            foreach ($this->observations->getFeatures() as $observed) {
                $this->predictedOutcomes[] = $this->predictor->predict($observed);
            }
        }
        return $this->predictedOutcomes;
    }