multi-class-text-classification-cnn icon indicating copy to clipboard operation
multi-class-text-classification-cnn copied to clipboard

Changing Labels

Open johnp2266 opened this issue 7 years ago • 2 comments

If I want to change the labels, say I want to classify 7 labels, do I just change labels.json?

johnp2266 avatar Jul 11 '18 11:07 johnp2266

labels are collected from training data automatically. https://github.com/jiegzhan/multi-class-text-classification-cnn/blob/8961f9277375c821023656235b8c41e13eb4b9a8/train.py#L39

jiegzhan avatar Jul 11 '18 16:07 jiegzhan

Side question, why the accuracy so low? I tried training with the original files but instead of 1 epoch, I changed to 10. That's all I changed but the accuracy is only 89 when I predict.

johnp2266 avatar Jul 11 '18 18:07 johnp2266