None of the answers here worked for me. This was what worked.
Test_y = np.nan_to_num(Test_y)
It replaces the infinity values with high finite values and the nan values with numbers
None of the answers here worked for me. This was what worked.
Test_y = np.nan_to_num(Test_y)
It replaces the infinity values with high finite values and the nan values with numbers
For further actions, you may consider blocking this person and/or reporting abuse
Alain Airom -
Matthew Casperson -
Leandro Veiga -
Shakhzhakhan Maxudbek -
Top comments (0)