Since we moved to softmax classification the evaluation is not working any more.
The line following line
if pred == 0:
can not work anymore since softmax returns an array and not a single predictor variable.
On the other hand just changing it to
if pred[0] == 0: or if pred[1] == 0:
gave me both scores around 0.49 which is strange since both scores should sum to one?
Either the prediction like above is not valid or the Kaggle evaluation has an issue again.
I had very little time in the morning will investigate on that later.
Since we moved to softmax classification the evaluation is not working any more.
The line following line
if pred == 0:
can not work anymore since softmax returns an array and not a single predictor variable.On the other hand just changing it to
if pred[0] == 0:
orif pred[1] == 0:
gave me both scores around 0.49 which is strange since both scores should sum to one?Either the prediction like above is not valid or the Kaggle evaluation has an issue again. I had very little time in the morning will investigate on that later.