Camspiers\StatisticalClassifier\Classifier\Classifier::preparedModel PHP Method

preparedModel() protected method

Return an model which has been prepared for classification
protected preparedModel ( ) : Camspiers\StatisticalClassifier\Model\ModelInterface
return Camspiers\StatisticalClassifier\Model\ModelInterface
    protected function preparedModel()
    {
        if (!$this->model->isPrepared()) {
            $this->prepareModel();
        }
        return $this->model;
    }