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

Scales in operator ParameterOptimization

Clan21Clan21 Member Posts: 9 Contributor II
edited November 2018 in Help
Hello,
in ParameterOptimization operator is button Edit Parameter Setting which display window where is possible to change values of parameters or its type. I have question about values writed like intervals. I cant figure out how with logarithmic scale RM calculate values in particular step. Thanks for help.
Cheers Andrew
Tagged:

Answers

  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    here's the code generating the sequence:
    double[] values = new double[steps + 1];
    double offset = 1 - min;
    for (int i = 0; i < steps + 1; i++) {
    values = Math.pow(max + offset, (double) i / (double) steps) - offset;
    }
    return values;
    Greetings,
      Sebastian
  • Options
    Clan21Clan21 Member Posts: 9 Contributor II
    Thanks. Helps a lot.
Sign In or Register to comment.