Higher validation accuracy, than training accurracy using Tensorflow and Keras

后端 未结 5 1995
小鲜肉
小鲜肉 2020-12-12 18:55

I\'m trying to use deep learning to predict income from 15 self reported attributes from a dating site.

We\'re getting rather odd results, where our validation data

5条回答
  •  春和景丽
    2020-12-12 19:35

    This happens when you use Dropout, since the behaviour when training and testing are different.

    When training, a percentage of the features are set to zero (50% in your case since you are using Dropout(0.5)). When testing, all features are used (and are scaled appropriately). So the model at test time is more robust - and can lead to higher testing accuracies.

提交回复
热议问题