Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Predict_label on test data #22

Open
esskay0000 opened this issue Jun 10, 2019 · 2 comments
Open

Predict_label on test data #22

esskay0000 opened this issue Jun 10, 2019 · 2 comments

Comments

@esskay0000
Copy link

The code runs fine and results as per table 6 of the paper are produced too, though with slight variance. But is there a script to label (possibly using predict_label) the individual texts in test dataset? else, how is evaluation script getting to calculating F-scores?

@ruidan
Copy link
Owner

ruidan commented Jun 12, 2019

You may read the paper section 5.2 and the script evaluation.py to understand how the F-scores are computed on test set.

@esskay0000
Copy link
Author

Thanks for the response. But the question was to get the predict_label for each observation text in test file. To be clear, this predict_label is compared with true_label, to arrive at F-score and other confusion matrix. F-score generation and output is being replicated by me but do not get to see which textx are mis-classified to infer results. Please suggest how to get predicted labels for each text in test.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants