Add type annotations to components

This commit is contained in:
2021-01-21 15:54:23 -06:00
parent a98a783969
commit fc0835e694
12 changed files with 122 additions and 76 deletions

View File

@@ -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):