Values of ConditionedExampleSet

memvis70memvis70 Member Posts: 8 Contributor I
edited November 2018 in Help
Hello,

I have a ConditionedExampleSet as output of the operator FIlterExample  and I need the resulting values of the predicted attribute prediction of this ConditionedExampleSet. How can I do this?

Thanks in advance.

Tagged:

Answers

  • Marco_BoeckMarco_Boeck Team Lead Software Engineering Moderator, Employee, Member, University Professor Posts: 1,806   RM Engineering
    Hi,

    you can do the following to retrieve the values for a column:

    Attribute att = exampleSet.getAttributes().get(NAME_OF_ATTRIBUTE);
    for (Example example : exampleSet) {
      example.getValue(att);
    }
    Regards,
    Marco
Sign In or Register to comment.