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

How do I apply trained model on new data input? #17

Open
datduong opened this issue Dec 28, 2018 · 2 comments
Open

How do I apply trained model on new data input? #17

datduong opened this issue Dec 28, 2018 · 2 comments

Comments

@datduong
Copy link

Hi, I see that the function inference is called during training. inference function however doesn't take in a new data (like a test set for example). How can I apply the finished model on new data input?

Thank you.

@davidkko
Copy link

I'm also trying to do this. Would you just save the matrices:
self.n_m_z, self.n_z_t, self.n_z and apply the unseen vocab and docs. Run inference function with those inputs.

@datduong
Copy link
Author

I found another person who edited this code so that we can predict the labels for unseen documents. Here's the link to it.

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