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

Scales in operator ParameterOptimization

Clan21Clan21 Member Posts: 9 image 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

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 image 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
  • Clan21Clan21 Member Posts: 9 image Contributor II
    Thanks. Helps a lot.
Sign In or Register to comment.