简体   繁体   中英

Machine Learning - Decision Tree - Predicion Score

I have two binary classifiers one for Sports and the other for Entertainment. I am using decision trees for the binary classifier. If both classifiers predict true, ie the document is both Sports and Entertainment, is there a way to determine which has a better score? Basically, I would like to know how I can come up with a score for each of my predictions. Thanks

What do you mean by "better score" ?

If you want to evaluate each predictor, you can use the measures already mentioned.

If by stating "is there a way to determine which has a better score" you mean "how can I determine If the document is more relevant to a sports document than to an entertainment document", then the decision tree approach you are using is not the way to go. You should follow the TF - IDF and cosine similarity approach, in order to determine the similarity of documents.

The following answer might be really useful:

Learning to tag sentences with keywords based on examples

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM