1

I trained some ensemble Ml to predict, I needed to save with pickle so as to be able to deploy using Flask. To save with pickle I have tried several methods and read several articles but could not get a clue, when trying to use Linear Regression in flask I got error the LR is not defined.

please how do I save the entire Ensemble models with pickle command. And the write path to deploy in Flask to be able to make predictions.

Thank you for your help

0 Answers0