perl.ai
[Top] [All Lists]

Categorizer::Learner::SVM, scores of categories?

Subject: Categorizer::Learner::SVM, scores of categories?
From: jlai@xxxxxxxxxxx (Jiuan-Ru Jennifer Lai)
Date: Tue, 18 Mar 2008 11:53:30 -0700
Newsgroups: perl.ai
Hi,

I used the Categorizer::SVM library for large data classification (great
tool); however, I'm having trouble analyzing the result from the SVM
learner.

- Categories have scores of either 0 or 1, with 1 being that  this document
belongs to this category, and 0 otherwise. Are there any scores representing
probabilities or confidence level of belong to certain category other than
these 0, 1 values?
- Suppose this document could belong to 3 possible categories: cat1, cat2,
and cat3. The best_category method simply picks the first category as the
classification decision. If you call, $hypothesis->categories, the
categories outputed don't seem to be in the order of probabilities or
confidence level. They seem to be in the fixed order....and whatever listed
first is favored.

I hope someone can clear my confusion on the scores  of categories in the
SVM module.

Thank you very much in advance,
Jennifer
<Prev in Thread] Current Thread [Next in Thread>
  • Categorizer::Learner::SVM, scores of categories?, Jiuan-Ru Jennifer Lai <=