MCordingley\Regression\Observation::getOutcome PHP Method

getOutcome() public method

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

Usage Example

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