🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Problem getPredictedLabel() method

User: "nav"
New Altair Community Member
Updated by Jocelyn
Hi, i tried to compare the label and the prediction value of the r
Output exampleSet of a rapidminer process in java with the methods getlabel and getPredictedLabel but the latter return to me double value like 0.353 or 0.127 but the label is a polynamial type with value 0 and 1. In the gui i don't have this problem, why?

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Skirzynski"
    New Altair Community Member
    Hey,

    internally polynominal values are mapped to doubles. To return the value as a String use ...

    example.getValueAsString(example.getAttributes().getLabel());
    example.getValueAsString(example.getAttributes().getPredictedLabel());
    Best regards
      Marcin
    User: "nav"
    New Altair Community Member
    OP
    Thank you very much... Actually I knew that polynominal value were wapped in double but I didn't understand why with only two possible value the method returned many different double values