Options

ExampleSetGenerator + custom target function (not already existent?)

wesselwessel Member Posts: 537 Maven
edited June 2019 in Help
Dear all,

I'm not requesting an already existent feature am I?  ::)

I would like to be able to set my own custom target function.
Like:
label = att1 + att2 * att3
att1 = 1...100
att2 = 1...100

att3 = int(random(0, 1))

Or even nicer on instance level:
// all odd numbers
att1_0 = 1
att1_n = att1_(n-1) + 2

I guess you can real easily do this with an external program like Excel.
But it would be nice if it could all be done in rapid-i, so when you given an example on the forums, you don't need to link a dataset.

Regards,

Wessel

Answers

  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi Wessel, 
    this feature does not exist in the form you are describing it hier, but nevertheless you can build a small process achieving the same.
    It will consist of a mixture of AttributeConstruction and IdTagging. Using the idTagging with numerical ids, you can build a linear increased column of numbers. You can use them during the attribute construction for creating the target function. Random noise can be added using the NoiseGenerator or the rand() function of the AttributeConstruction.

    It's only a little bit of magic in such a process setup :)


    Greetings,
      Sebastian
Sign In or Register to comment.