mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-07 09:58:51 -06:00
Make classifiers and regressors clonable
This commit is contained in:
@@ -40,3 +40,6 @@ class CountingClassifier(Classifier):
|
||||
|
||||
def __repr__(self):
|
||||
return "CountingClassifier(mean=%s)" % self.mean
|
||||
|
||||
def clone(self) -> "CountingClassifier":
|
||||
return CountingClassifier()
|
||||
|
||||
Reference in New Issue
Block a user