Skip to content

scikit error: Warning: Trying to unpickle estimator from version 1.1.1 when using 1.7.1 #18

@puesoy

Description

@puesoy

Hi there,

I recently got the repo running, but I'm seeing a warning regarding a scikit-learn version mismatch. It looks like the model was trained on v1.1.1, but I am running v1.7.1.

Console Output:


InconsistentVersionWarning: Trying to unpickle estimator LogisticRegression from version 1.1.1 when using version 1.7.1. This might lead to breaking code or invalid results. Use at your own risk.

Do you have a guide on how to update/retrain the model for the new version, or should I downgrade my local environment to 1.1.1 to avoid issues?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestgood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions