’m trying to use sklearn.ensemble.StackingClassifier with already trained base models and pipelines using cv="prefit". Even though my base models are fitted, I get:

sklearn.exceptions.NotFittedError: This Pipeline instance is not fitted yet. Call 'fit' with approp

asked 25 secs ago

Shivansh Bajpai's user avatar

New contributor

Shivansh Bajpai is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

Sign up or log in

Sign up using Google

Sign up using Email and Password

Post as a guest

Name

Email

Required, but never shown

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.