This will indeed generate random numbers. The first one random numbers between 0.0 and 1.0. The second one between 4 and 7.
The issue I have is that the rand() function generates numbers with a uniform distribution: every number has an equal chance of being returned. But I would like to have a random generator that could, for instance, be more "normally" distributed: numbers closer to the mean will have a higher chance of getting picked. You know, the nice bell curve...
Or, even better, any user defined curve of that distribution...
I have not come across such generator in RapidMiner - but I am sure I'm not the only one who is after such a generator.
You can use other mathematical functions in the generate attributes operator. There's also a noise generator operator that I believe adds a gaussian based distribution of noise.
Answers
Maybe the Generate Attributes operator will help?
Here's an example... regards
Andrew
Thanks for your attention.
This will indeed generate random numbers. The first one random numbers between 0.0 and 1.0. The second one between 4 and 7.
The issue I have is that the rand() function generates numbers with a uniform distribution: every number has an equal chance of being returned. But I would like to have a random generator that could, for instance, be more "normally" distributed: numbers closer to the mean will have a higher chance of getting picked. You know, the nice bell curve...
Or, even better, any user defined curve of that distribution...
I have not come across such generator in RapidMiner - but I am sure I'm not the only one who is after such a generator.
Or am I wrong, anyone?
Thanks,
Willem
You can use other mathematical functions in the generate attributes operator. There's also a noise generator operator that I believe adds a gaussian based distribution of noise.
Andrew