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

classify command #5

Open
goodmami opened this issue Jul 6, 2017 · 2 comments
Open

classify command #5

goodmami opened this issue Jul 6, 2017 · 2 comments
Assignees

Comments

@goodmami
Copy link
Member

goodmami commented Jul 6, 2017

We have train and test commands defined, which train the doc-ID model and evaluate it, respectively. We also need a classify command that applies the model to new data, but doesn't evaluate it. In order to reduce redundant code, the current test() function could perhaps use the classify() function to get a prediction, then use the gold label for comparison.

@elirnm elirnm self-assigned this Jul 15, 2017
@MackieBlackburn
Copy link
Collaborator

Just to clarify, are you talking about the train and test functions in models.py or main.py? I'm assuming models.py

@goodmami
Copy link
Member Author

Actually I was referring to main.py in that we need a function to handle the lgid classify ... command, but this might necessitate changes to models.py. As it is, models.py was just copied from https://github.com/xigt/classifier-common, so you might find it has parts missing or parts we don't use.

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

3 participants