setClassifer(NaiveBayes::class); $this->assertEquals(0, 1); } catch (Throwable $ex) { $this->assertEquals(1, 1); } } protected function getClassifier($numBaseClassifiers = 50) { $classifier = new RandomForest($numBaseClassifiers); $classifier->setFeatureSubsetRatio('log'); return $classifier; } protected function getAvailableBaseClassifiers() { return [DecisionTree::class => ['depth' => 5]]; } }