Prescriptive optimizer to a target value.

thabelangkgotsothabelangkgotso Member Posts: 2 Newbie
Hi, I've been trying to create a prescriptive model that optimizes a parameter. However, I want to optimise to a particular value. I can only find the extract performance operator, but that only has maximum and minimum options. What can I use inside the prescriptive optimizer operator to do this?

Best Answer

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,503 RM Data Scientist
    Solution Accepted
    Hi,
    What you can do is to penalize values bigger than x like this:
    optmizationValue = x - if(x>eval%{target},1e5,0)
    this way you avoid values > target.
    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany

Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,503 RM Data Scientist
    Hi,
    usually you just create the value

    pow(value-targetvalue,2)
    and then extract this value to optimize on. Similarly you can optimize on more than one value at a time.

    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • thabelangkgotsothabelangkgotso Member Posts: 2 Newbie
    Hi 

    Thank you for the response. I meant, how do I limit the maximum value? So if I'm trying to optimise x by changing a,b, and c, how do I cap the maximum value that x can be maximized to? 

    This is what I have so far:


Sign In or Register to comment.