Polynomial Regression: What does the Random Seed Do?
Find more posts tagged with
Sort by:
1 - 3 of
31
Haddock,
Thank you but I am aware of the forum etiquette. The answers you mention are not relevant to my question as I didn't ask what is a random number generator or what is a random seed.
I am asking specifically, why can a random seed used in this polynomial regression operator. I don't know of any use for random numbers in a polynomial regression. I am curious to know how it is used in this Operator and how it affects the result because the effect is very significant.
Regards,
John
Thank you but I am aware of the forum etiquette. The answers you mention are not relevant to my question as I didn't ask what is a random number generator or what is a random seed.
I am asking specifically, why can a random seed used in this polynomial regression operator. I don't know of any use for random numbers in a polynomial regression. I am curious to know how it is used in this Operator and how it affects the result because the effect is very significant.
Regards,
John
Hi JCurry,
I assumed that you had actually read the source for the operator, and seen that the random generator is passed to the optimisation.
I assumed that you had actually read the source for the operator, and seen that the random generator is passed to the optimisation.
RegressionOptimization optimization =
new RegressionOptimization(exampleSet,
getParameterAsInt(PARAMETER_REPLICATION_FACTOR),
getParameterAsInt(PARAMETER_MAX_ITERATIONS),
getParameterAsInt(PARAMETER_MAX_DEGREE),
getParameterAsDouble(PARAMETER_MIN_COEFFICIENT),
getParameterAsDouble(PARAMETER_MAX_COEFFICIENT),
RandomGenerator.getRandomGenerator(this),
this);
It is always worth searching this forum, as most questions have been asked and answered many times. For example, if you search here for 'random seed' you'll see a good answer from Marius right under your own question.
Good luck!