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

Test data format #44

Open
Janai2019 opened this issue Nov 25, 2019 · 1 comment
Open

Test data format #44

Janai2019 opened this issue Nov 25, 2019 · 1 comment

Comments

@Janai2019
Copy link

X_test = [sent2features(s) for s in test_sents]
Looking at the format of the test data, it seems to require a tagged test data to extract features especially, current tag. In reality, the purpose is to tag new data where such information is not present except word features. How do we tag new data?

@mani2106
Copy link

Normally you would tag a set of sentences and split them to train and test/eval sets.
To ensure that the model does not overfit (memorize) the training data. We predict with the test data and calculate the scores/metrics and decide whether it is suitable for real-world data.

This is what the example in the documentation does.

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