mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-07 09:58:51 -06:00
Add type annotations to components
This commit is contained in:
@@ -15,7 +15,7 @@ class CountingClassifier(Classifier):
|
||||
counts how many times each label appeared, hence the name.
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
def __init__(self) -> None:
|
||||
self.mean = None
|
||||
|
||||
def fit(self, x_train, y_train):
|
||||
|
||||
Reference in New Issue
Block a user