Skip to content

Raise warning if sklearn model already fitted prior to _run_model_on_task/fold() #968

@Neeratyoy

Description

@Neeratyoy

Description

Give a warning if model is already fitted.
This is acceptable in case of custom experimentation, but not desirable if we want to upload to OpenML. For transparent interpretation of OpenML results, the user should be told of what's happening.

Can be checked for in the _run_model_on_fold() function in openml.extensions.sklearn.extension prior to calling of model_copy.fit().

Possible solutions:

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