Closed MyeongjinHwang0 closed 8 years ago
This is great, thanks a lot. When people ask for multilabel classification I'll point them here!
Hey during evaluating is there a need of previous labels?(you are saving those )
Thanks @MyeongjinHwang0! But I think this is multi-class support, right? Is there any work on multi-label classification of text with CNN?
text1....\t label1 label2
text2....\t label2
text3....\t label1 label3
text4....\t label3 label2 label1
Sorry You're right
Thanks @MyeongjinHwang0 https://github.com/MyeongjinHwang0! But I think this is multi-class support, right? Is there any work on multi-labeling classification of text with CNN?
text1....\t label1 label2 text2....\t label2 text3....\t label1 label3 text4....\t label3 label2 label1
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dennybritz/cnn-text-classification-tf/issues/19#issuecomment-268372707, or mute the thread https://github.com/notifications/unsubscribe-auth/ASob03daqbxHpZQ1hjgMwmMJURA5sDNVks5rKFDlgaJpZM4IlXyP .
@MyeongjinHwang0 Thanks for your code! I'm getting very low accuracy, wrong classification
This case just for a word, single word gives a low accuracy and wrong class.
Train.txt like red birds singing \t birds bear falling down \t bear lazy cat jumping \t cat
When i try to test for "red birds" its result right for -> birds But when i try to test for "red" it goes to -> cat class with low accuracy, too weird.
Have you ever tested with just a word?
First, I'm sorry. I have poor English.
Thanks to Yoon Kim and dennybritz.
I edit your script to apply multi-labels support. this script support multi-label data like next:
no vocabulary difference problem, no label set diffenence problem, no max sentence length difference problem, no unseen word problem.
Just simply use
Here I attached my script:
data_helpers.py
train.py
eval.py