You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
ajthinking
changed the title
Validation data fine, Test data all interpreted as the same class (binary).
Validation data fine, but all Test data interpreted as the same class (binary).
Apr 5, 2019
Index 1 of get_preds is actually the Labels. In the case of the Test data we have no labels, so it will default to zero. Instead convert the probabilities to classes.
After validation we can see the distribution of classes [0,1] is similar to that of the training data.
But looking at the test data, ALL rows are interpreted as [0].
How can this be?
Full notebook: https://github.com/ajthinking/kaggle-santander/blob/master/tabular.ipynb
The text was updated successfully, but these errors were encountered: