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
Which operator can be used to split the input into subsets?
I have an input set that has been sampled and normalized. I now want to divide this dataset into 2 subsets based on the value of one attribute only. eg: The feature is 'has_children'. I want to segregate the instances depending on has_children=0/1 and then apply clustering to each subset.
I am not trying to create training-test sets for validation. If anyone has any pointers, please let me know.
I am not trying to create training-test sets for validation. If anyone has any pointers, please let me know.
0
Best Answer
-
Telcontar120 RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 UnicornYou can also do this with Filter Examples and use the "has children" attribute as the condition of your split and then use the selected and the unmatched outputs to get the two separate resulting datasets.
5
Answers
you can use the Generate Attributes operator under Blender->Attributes->Generation.
Then you can work with a if rule and assign a numeric value 1 if the string takes a value "has_children" and other in other case.