getEstimator() public method

public getEstimator ( ) : phpml\Estimator
return phpml\Estimator
Example #1
0
 public function testPipelineEstimatorSetter()
 {
     $pipeline = new Pipeline([new TfIdfTransformer()], new SVC());
     $estimator = new SVR();
     $pipeline->setEstimator($estimator);
     $this->assertEquals($estimator, $pipeline->getEstimator());
 }