Team, I am seeing the below error while executing the Fit method for Logistic Regression in the Credit Risk Modelling course. I made sure I have ran and generated all the train and test files the way it was provided in the notebook. Can you please help me fix it.
Error:- ValueError: Input contains NaN, infinity or a value too large for dtype(‘float64’).
This error usually comes up when you have not preprocessed all data properly. Please check if there are NaN values in your cells and try to troubleshoot why you have reached them.
The 365 Team