Skip to content

Commit 77b30e4

Browse files
author
maheshakya
committed
Removed the check for partial_fit attribute.
1 parent f6be07b commit 77b30e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/feature_selection/from_model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def fit(self, X, y, **fit_params):
189189
self : object
190190
Returns self.
191191
"""
192-
if not (self.warm_start and hasattr(self,"estimator_")):
192+
if not (self.warm_start and hasattr(self, "estimator_")):
193193
self.estimator_ = clone(self.estimator)
194194

195195
self.estimator_.fit(X, y, **fit_params)

0 commit comments

Comments
 (0)