Skip to content

FutureWarning: The parameter 'presort' is deprecated and has no effect. #160

Description

@wilions

hi, I'm running a hyper-parameter optimization using hyperopt-sklearn on some scientific data on Colab. i've seen the following errors.

code are as follows

estim = HyperoptEstimator(regressor=any_regressor('rgr'),
preprocessing=any_preprocessing('pre'),
algo=tpe.suggest,
max_evals=100,
trial_timeout=100)

estim.fit(X_train, y_train)
print(estim.score(X_test, y_test))
print(estim.best_model())

errors are

[01:56:24] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.

0%| | 0/1 [00:00<?, ?it/s, best loss: ?]/usr/local/lib/python3.6/dist-packages/sklearn/ensemble/_gb.py:1342: FutureWarning: The parameter 'presort' is deprecated and has no effect. It will be removed in v0.24. You can suppress this warning by not passing any value to the 'presort' parameter. We also recommend using HistGradientBoosting models instead.
FutureWarning)

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions