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
Fitting 'by groups'
stereotaxon
Member Posts: 10 Contributor II
Hi,
I have grouped data and I'd like to fit a model to each group's data. To do this in SAS, I use a BY <grouping var> statement and in SPSS it's a split file statement. Is there a way to do this in RapidMiner? As I'm doing it now, I'm writing out each subgroups data which is extremely slow and difficult to maintain.
Thanks for your help,
Mike
I have grouped data and I'd like to fit a model to each group's data. To do this in SAS, I use a BY <grouping var> statement and in SPSS it's a split file statement. Is there a way to do this in RapidMiner? As I'm doing it now, I'm writing out each subgroups data which is extremely slow and difficult to maintain.
Thanks for your help,
Mike
0
Answers
yes, this is possible by using the ExampleFilter operator. Let's say, you have three groups "A", "B", and "C" which are specified in the attribute (column) "groups". You can then use the filter operator together with the ParameterIteration operator (but then you would have to define the groups manually). If you access the latest CVS version, this is possible much more comfortable by using the new ValueSubgroupIterator operator like in the following example: The first operator chain is just used for data creation. Please note that you have to access the latest CVS version for this which is described here: http://rapid-i.com/content/view/25/48/
Or you can simply wait since we will make a new release probably next week.
Cheers,
Ingo
-Mike