Values of ConditionedExampleSet

memvis70
memvis70 New Altair Community Member
edited November 5 in Community Q&A
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.

Answers

  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    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