Skip to content

Can't pass objective parameter or eval_metric to xgboost #1082

Closed
@tigitz

Description

@tigitz

Is there a way to pass an objective parameter or an eval_metric to xgboost ? Or any other algo ?

There seems to be a definitive list of supported hyperparameters defined on PostgresML side but it doesn't seem to support any of them.

I would like to eval_metric = 'mae' for price prediction and objective = 'reg:logistic' for duplicates detection as documented here: https://xgboost.readthedocs.io/en/stable/parameter.html

The equivalent python code

model = XGBRegressor(objective="reg:linear", eval_metric="mae")

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