facebookresearch / fastText

Library for fast text representation and classification.
https://fasttext.cc/
MIT License
25.85k stars 4.71k forks source link

how to make fasttext learn confidence score in multi-label classification task? #1188

Open gaohang opened 3 years ago

gaohang commented 3 years ago

in multi-label classification, the format of fasttext input file is like labelc1 labelc2 sample words labelc2 labelc3 sample words ......

I tried to give confidence score to model in the way as follow: labelc1 0.6 labelc2 0.3 sample words

however, fasttext does not learn confidence score. How to make fasttext learn confidence score in multi-label classification task?