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
Dynamic change queries.
When i can read from database data via dynamically changing queries?
For example:
table in source database:
name | date | param2 |param3|
id1 | 1.02.10 | test1 |test2 |
id2 | 2.02.10 | test2 |test2 |
I need for one iterate extract data from 01.02.10 date
1 Iterate processing:
id1 1.02.10 test1 test2
and i need for two iterate extract data from 02.02.10
2 Iterate processing:
id2 2.02.10 test2 test2
What operators i should use for this iterate processing?
For example:
table in source database:
name | date | param2 |param3|
id1 | 1.02.10 | test1 |test2 |
id2 | 2.02.10 | test2 |test2 |
I need for one iterate extract data from 01.02.10 date
1 Iterate processing:
id1 1.02.10 test1 test2
and i need for two iterate extract data from 02.02.10
2 Iterate processing:
id2 2.02.10 test2 test2
What operators i should use for this iterate processing?
0
Answers
there are several loop operators in RapidMiner. In combination with Macros which can be included into the search query of a Read Database operator. This is a powerful approach for dynamic queries. Please take a look into the Manual to get familiar with Macros.
Greetings,
Sebastian
As Sebastian said, the combination of Loop operators and Macros is very powerful. You can also look at MyExperiment Brower view to get several examples of how to use loop and macros.
Regards,
Richard.