Replies: 1 comment 3 replies
-
Thanks for the report @odedbd . Just a note: since you're calibrating a pre-fitted model, you should be careful to calibrate the pipeline on different data from the one that was used to train it - i.e. @glemaitre @lucyleeow @ogrisel This looks like a legitimate issue. From what I can tell in @lesteve here's an instance where converting to an issue would be helpful ;) |
Beta Was this translation helpful? Give feedback.
-
Hi All,
I'm following up on pull request ENH Support pipelines in CalibratedClassifierCV
, which addresses issues from 8710.
The pull request solves the issue of fitting CalibratedClassifierCV with a Pipeline base_estimator, using cv='prefit'. In the case where the input is not an array, the estimator cannot be used, due to data validation and subsequent use of X.shape in predict_proba.
Non array inputs are quite likely where pipelines are involved, as a pipeline is often used when there is need to extract features from non-table data such as text or list of records.
Am I missing something about how this should be used?
Here is a snippet of code reproducing the issue I see, slightly modifying the code from the quoted issue above-
Beta Was this translation helpful? Give feedback.
All reactions