"ReAdd previously filtered Attribute"

shadrigoshadrigo Member Posts: 9 Contributor II
edited May 2019 in Help
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
Tagged:

Answers

  • steffensteffen Member Posts: 347 Maven
    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
  • shadrigoshadrigo Member Posts: 9 Contributor II
    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
Sign In or Register to comment.