diff --git a/mlbox/model/classification/classifier.py b/mlbox/model/classification/classifier.py index 5d0b38e0..63689cb7 100644 --- a/mlbox/model/classification/classifier.py +++ b/mlbox/model/classification/classifier.py @@ -396,5 +396,5 @@ def score(self, df, y, sample_weight=None): raise ValueError("You must call the fit function before !") def get_estimator(self): - """Return classfier.""" + """Return classifier.""" return copy(self.__classifier) diff --git a/mlbox/model/regression/regressor.py b/mlbox/model/regression/regressor.py index bb6cfd42..eaaff33d 100644 --- a/mlbox/model/regression/regressor.py +++ b/mlbox/model/regression/regressor.py @@ -349,5 +349,5 @@ def score(self, df, y, sample_weight=None): raise ValueError("You must call the fit function before !") def get_estimator(self): - """Return classfier.""" + """Return classifier.""" return copy(self.__regressor)