"Weighted Word List based Text Classification"


Hi.
I have a query regarding Text Classification.
I have a list of words with the following 3 attributes. word, weight, class. The class can be positive or negative. Weight is between -1 to 1.
How can I train a classifier like SVM using this word list to classify unseen documents?
Any sample process will be a great help.
Thanks
Farhan!
I have a query regarding Text Classification.
I have a list of words with the following 3 attributes. word, weight, class. The class can be positive or negative. Weight is between -1 to 1.
How can I train a classifier like SVM using this word list to classify unseen documents?
Any sample process will be a great help.
Thanks
Farhan!
Tagged:
0
Answers
i am not sure if you can do it the way you want to do it. Usually for classification you have a Bag of Words (with TF/IDF or so) like this
Dortmund, Germany