Method | Description | |
---|---|---|
add ( array $features, float $outcome ) : self | ||
addObservation ( |
||
count ( ) : integer | ||
fromArray ( array $features, array $outcomes ) : self | ||
getFeatureCount ( ) : integer | ||
getFeatures ( ) : array | ||
getIterator ( ) : Traversable | ||
getObservation ( integer $index ) : |
||
getOutcomes ( ) : array |
public addObservation ( |
||
$observation | ||
return | self |
public getObservation ( integer $index ) : |
||
$index | integer | |
return |