Options

Retrieving Class Distribution

hwedehwede Member Posts: 2 Contributor I
edited November 2018 in Help
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

Answers

  • Options
    IngoRMIngoRM Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM Founder
    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,
    Ingo
Sign In or Register to comment.