From 1f7c5a1dad02209baf43c23b003b01ddc961ff04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Arthur=20Claud=C3=A9?= <59179272+JavClaude@users.noreply.github.com> Date: Fri, 30 Apr 2021 11:46:00 +0200 Subject: [PATCH 1/2] [UPD] docstring for get_estimator in classifier.py --- mlbox/model/classification/classifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) From 21398ee41469803988784620220dcdff2906fc96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Arthur=20Claud=C3=A9?= <59179272+JavClaude@users.noreply.github.com> Date: Fri, 30 Apr 2021 11:53:49 +0200 Subject: [PATCH 2/2] [UPD] docstring for get_estimator in regressor.py --- mlbox/model/regression/regressor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)