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

SVM on lda #1

Closed
ParthKolekar opened this issue Oct 13, 2016 · 0 comments
Closed

SVM on lda #1

ParthKolekar opened this issue Oct 13, 2016 · 0 comments
Milestone

Comments

@ParthKolekar
Copy link
Collaborator

LDA = function lda(bag_of_words(document)) => returns a point in (num-topics) space.

Train an SVM on

category(document) -> lable
lda(bow(document)) -> point

And do this for all training documents.

Then run test documents and check if category(document) == category(svm(category(document), lda(bow(document)))

For all such elements, give a %correct and %incorrect. These are our metrics.

Yash says that if a document contains more than one category, we can safely ignore 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