WEKA classification likelihood of the classes

后端 未结 4 1091
轻奢々
轻奢々 2021-01-12 19:58

I would like to know if there is a way in WEKA to output a number of \'best-guesses\' for a classification.

My scenario is: I classify the data with cross-validatio

4条回答
  •  时光取名叫无心
    2021-01-12 20:42

    Not in general. The information you want is not available with all classifiers -- in most cases (for example for decision trees), the decision is clear (albeit potentially incorrect) without a confidence value. Your task requires classifiers that can handle uncertainty (such as the naive Bayes classifier).

    Technically the easiest thing to do is probably to train the model and then classify an individual instance, for which Weka should give you the desired output. In general you can of course also do it for sets of instances, but I don't think that Weka provides this out of the box. You would probably have to customise the code or use it through an API (for example in R).

提交回复
热议问题