Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Evaluating multiple scores #797

@shaddyab

Description

@shaddyab

Is it possible to run BayesSearchCV with multiple scores?
I am getting the following error when inputting a dictionary of scores

    297         raise ValueError("For evaluating multiple scores, use "
    298                          "sklearn.model_selection.cross_validate instead. "
--> 299                          "{0} was passed.".format(scoring))
    300     else:
    301         raise ValueError("scoring value should either be a callable, string or"

ValueError: For evaluating multiple scores, use sklearn.model_selection.cross_validate instead. {'neg_mean_squared_error': 'neg_mean_squared_error', 'neg_mean_absolute_error': 'neg_mean_absolute_error'} was passed.

I am using scikit-learn 0.22

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions