scikit-learn-contrib / MAPIE

A scikit-learn-compatible module to estimate prediction intervals and control risks based on conformal predictions.
https://mapie.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
1.2k stars 99 forks source link

Fix bug # 406 which does not support categorical variables #434

Open salmuz opened 2 months ago

salmuz commented 2 months ago

Description

It fix the bug reported in https://github.com/scikit-learn-contrib/MAPIE/issues/406

Fixes #406

Type of change

LacombeLouis commented 1 month ago

Hey @salmuz, The PR looks good. I think we're encountering a typing error. Tell us if you struggle fixing the issue! Looking forward to merge the PR!

LacombeLouis commented 1 month ago

Hey @salmuz Thank you for this PR! For the moment it doesn't pass some tests, but we have fixed the issue. So you can git merge upstream/main and everything should work! Thank you!