Skip to content

Commit ee82c3f

Browse files
No-DoyTomDLT
authored andcommitted
fixed spelling on comments in file (scikit-learn#8801)
1 parent 2f1c978 commit ee82c3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def clone(estimator, safe=True):
3939
The estimator or group of estimators to be cloned
4040
4141
safe : boolean, optional
42-
If safe is false, clone will fall back to a deepcopy on objects
42+
If safe is false, clone will fall back to a deep copy on objects
4343
that are not estimators.
4444
4545
"""
@@ -259,7 +259,7 @@ def set_params(self, **params):
259259
self
260260
"""
261261
if not params:
262-
# Simple optimisation to gain speed (inspect is slow)
262+
# Simple optimization to gain speed (inspect is slow)
263263
return self
264264
valid_params = self.get_params(deep=True)
265265
for key, value in six.iteritems(params):

0 commit comments

Comments
 (0)