The Altair Community is migrating to a new platform to provide a better experience for you. The RapidMiner Community will merge with the Altair Community at the same time. In preparation for the migration, both communities are on read-only mode from July 15th - July 24th, 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.
Options

Dynamic change queries.

gritsaygritsay Member, University Professor Posts: 12 University Professor
edited November 2018 in Help
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?

Answers

  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    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
  • Options
    RichyRichy Member Posts: 20 Contributor II
    Hi,

    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.
Sign In or Register to comment.