Skip to content

ModuleNotFoundError: No module named 'mapie.conformity_scores.residual_conformity_scores'  #511

@gaspardc-met

Description

@gaspardc-met

Hello MAPIE team
Been happily using MAPIE for a while now. Filling this because I'm not sure if the regression is intended from the 0.9.0 release or not.

Describe the bug
Failing to load previously trained MAPIE models

ModuleNotFoundError: No module named 'mapie.conformity_scores.residual_conformity_scores'

To Reproduce

  • Trained MapieRegressor instanced over LinearRegression and RandomForest using MAPIE==0.8.4
  • Pickled them with joblib
  • Loading them to memory again with MAPIE < 0.9.0 (up to 0.8.6) works fine
  • With MAPIE 0.9.0 I get this error: ModuleNotFoundError: No module named 'mapie.conformity_scores.residual_conformity_scores'

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Ubuntu on WSL Windows 11
  • Browser Firefox
  • MAPIE Version work with 0.8.6, breaks with 0.9.0
  • Python version: tested with 3.12.5

Additional context
Add any other context about the problem here.

Metadata

Metadata

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