File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1502,7 +1502,7 @@ def n_crossfit_splits(self):
15021502 @n_crossfit_splits .setter
15031503 def n_crossfit_splits (self , value ):
15041504 if value != 'raise' :
1505- warn ("Deprecated by parameter `n_splits ` and will be removed in next version." )
1505+ warn ("Deprecated by parameter `cv ` and will be removed in next version." )
15061506 self .cv = value
15071507
15081508 @property
@@ -1534,4 +1534,4 @@ def subsample_fr(self, value):
15341534 warn ("The parameter 'subsample_fr' has been deprecated and will be removed in the next version. "
15351535 "Use 'max_samples' instead, with the convention that "
15361536 "'subsample_fr=x' is equivalent to 'max_samples=x/2'." )
1537- max_samples = .45 if value == 'auto' else value / 2
1537+ self . max_samples = .45 if value == 'auto' else value / 2
You can’t perform that action at this time.
0 commit comments