MCordingley\Regression\Observation::getOutcome PHP Méthode

getOutcome() public méthode

public getOutcome ( ) : float
Résultat float
    public function getOutcome() : float
    {
        return $this->outcome;
    }

Usage Example

 public function testGetters()
 {
     $observation = new Observation([1, 2], 3);
     static::assertEquals([1, 2], $observation->getFeatures());
     static::assertEquals(3, $observation->getOutcome());
 }