The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Values of ConditionedExampleSet

memvis70memvis70 Member Posts: 8 Contributor II
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 Administrator, Moderator, Employee-RapidMiner, Member, University Professor Posts: 1,996 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.