简体   繁体   中英

training and validation accuracy and loss for text classification

I am doing text classification with 3 classes, after training my model, the image below is my model accuracy and loss results, it means my models doesn't learn? 在此处输入图像描述

It seems like your model is overfitting on the training set. This means it learns specific features of the training set that cannot be generalized to your validation set and consequently data it has not been trained on.

If you are using a neural network, investigate in using techniques that alleviate this like dropout and regularization. Some ideas around this can be seen here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM