Retrieving Class Distribution
When working with WEKA model it is possible to classify an instance,
and this can be translated to the RapidMiner model.apply(ExampleSet) method.
But in WEKA I can also retrieve the class distribution of a model, through
the method model.distributionForInstance(Instance).
How can I retrieve the class distribution for a RapidMiner model, given an Example.
Thanks,
--
Harry Wedemeijer
and this can be translated to the RapidMiner model.apply(ExampleSet) method.
But in WEKA I can also retrieve the class distribution of a model, through
the method model.distributionForInstance(Instance).
How can I retrieve the class distribution for a RapidMiner model, given an Example.
Thanks,
--
Harry Wedemeijer
Tagged:
0
Answers
-
For this purpose you can use the confidences of the prediction. The distribution is read from the model prediction and stored in the special attributes "confidence(v1)", "confidence(v2)"....
Cheers,
Ingo0