I got error when run “reg.fit(inputs_train, loan_data_targets_train)” with P-Values as below:
C:\Users\11\Anaconda3\lib\site-packages\sklearn\utils\validation.py:760: DataConversionWarning: A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel(). y = column_or_1d(y, warn=True) C:\Users\11\Anaconda3\lib\site-packages\sklearn\linear_model\_logistic.py:940: ConvergenceWarning: lbfgs failed to converge (status=1): STOP: TOTAL NO. of ITERATIONS REACHED LIMIT.
Could you please let us know which course and problem you are referring to so we can assist you better?
The 365 Team
Hi 365 team,
Thanks for your response the course is credit risk modeling, identified the error where exactly and now it\’s working with me fine.