Closed helgasvala closed 6 years ago
Hi @helgasvala , instead of
./query_predict ./cache/starspace.model ./cache/prufa.txt 1
you should run
./query_predict ./cache/starspace.model 1 ./cache/prufa.txt
For overall prediction, currently you need to change the code to do that. It is a feature on our to-do list.
Closing issues since there's no recent update.
Hey!
I'm trying to get a prediction with query_predict. I followed this guide https://towardsdatascience.com/learning-note-starspace-for-multi-label-text-classification-81de0e8fca53, with other data that I had labeled myself. When I look at the .pred file, it seems to have the right predictions, but I want to be able to make a new prediction with input sentences.
I make a .txt file with some sentences as the base doc file. One of the labels was health, so it looks like this:
Then I run
./query_predict ./cache/starspace.model ./cache/prufa.txt 1
but I get
Should the base doc file be in another format?
I also have a question about how to get the overall prediction accuracy of the model, can I do that?
Thank you so much!