Skip to content

Commit 24608e8

Browse files
committed
Remove copy x param from theil_sen. Copy is always made
1 parent c0c572b commit 24608e8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

hpsklearn/components/linear_model/_theil_sen.py

-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ def sklearn_TheilSenRegressor(*args, **kwargs):
1919
def theil_sen_regressor(
2020
name: str,
2121
fit_intercept: bool = True,
22-
copy_X: bool = True,
2322
max_subpopulation: typing.Union[int, Apply] = None,
2423
n_subsamples: int = None,
2524
max_iter: typing.Union[int, Apply] = None,
@@ -34,7 +33,6 @@ def theil_sen_regressor(
3433
Args:
3534
name: name | str
3635
fit_intercept: whether to calculate the intercept | bool
37-
copy_X: whether to copy X | bool
3836
max_subpopulation: consider stochastic subpopulation | int
3937
n_subsamples: number of samples to calculate parameters | int
4038
max_iter: maximum number of iterations | int
@@ -49,7 +47,6 @@ def _name(msg):
4947

5048
hp_space = dict(
5149
fit_intercept=fit_intercept,
52-
copy_X=copy_X,
5350
max_subpopulation=scope.int(hp.uniform(_name("max_subpopulation"), 7500, 12500))
5451
if max_subpopulation is None else max_subpopulation,
5552
n_subsamples=n_subsamples,

0 commit comments

Comments
 (0)