"ReAdd previously filtered Attribute"

shadrigo
shadrigo New Altair Community Member
edited November 5 in Community Q&A
sorry if this question is a beginner question, but I couldn´t find a satisfying solution in the manual or the forum yet.

I think it is a basic functionaliy but I couldn´t figure out which operator is necessary.

I filtered a nominal attribute out in order to run a only real-value type input clustering algorithm.
After clustering  I want to re-add the nominal attribute and then save the exampleset with the cluster Attribute and my nominal attribute included.

thanks for your help

Thomas

Answers

  • steffen
    steffen New Altair Community Member
    Hello Thomas

    Try something like this:

    IOMultiplier to create a copy of ExampleSet
    First Set:
    • Remove nominal attribute
    • Perform clustering
    Switch to second set by using the IOSelector

    SecondSet:
    • Remove every attribute except the nominal one AND the ID-column
    Then use ExampleSetJoin to combine both sets.

    hope this was helpful

    regards,

    Steffen

    PS: Sorry, I am not able to post xml-process-code at the moment
  • shadrigo
    shadrigo New Altair Community Member
    thank you stefan,

    thats exactly what I was looking for.
    Just didnt get the preprocessing steps before the join right but i supposed that I needed the Join Operator in some way.
    But now it works.

    thank you for your help

    greetings
    Thomas