Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Which operator can be used to split the input into subsets?
tshinde
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.
Find more posts tagged with
AI Studio
Accepted answers
Telcontar120
You 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.
All comments
Caperez
@tshinde
,
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.
e.g. if(yourattibute=="has_children",1,0)
Best
Telcontar120
You 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.
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups