Skip to content

XGBoost parameters deprecated #15

Description

@JulioEI

The parameters defined in the XGboost fit function (decoders.py line 725-730) are no longer consistent with XGBoost library. 'objective': linearregression has been deprecated in favor of 'reg:squarederror', and the parameters 'silence' is no longer a valid input. Resulting code should look like this to avoid warnings:

param = {'objective': "reg:squarederror", #for linear output
'eval_metric': "logloss", #loglikelihood loss
'max_depth': self.max_depth, #this is the only parameter we have set, it's one of the way or regularizing
'eta': self.eta,
'seed': 2925, #for reproducibility
}

Thank you!

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