Categorizer::Learner::SVM, scores of categories?
[email protected] ("Jiuan-Ru Jennifer Lai") Tue, 18 Mar 2008 11:53:30 -0700
| Newsgroups | perl.ai |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_8490_2646196.1205866410381 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_8490_2646196.1205866410381--