tokami / StockMonitoringTool

0 stars 0 forks source link

Degree of elitism (Expert/Dev) #59

Open aenieblas opened 3 years ago

aenieblas commented 3 years ago

How does the degree of elitism relate to other values? I input pop size 1000 and deg of elitism as 100 and got the error :

Incorrect moving average (MA) value! Please provide an odd integer (e.g. 3,5,7) and run again. Error in GA::ga(type = "real-valued", fitness = sofun, lfq = lfq, lower = min, : The elitism cannot be larger that population size.”

Please consider the MA error message for this parameter as well.

Also small grammatical error, should be “cannot be larger than population size”

(Expert opinion required, recommendations can be implemented by developer)

aenieblas commented 3 years ago

Noting your comment about the lack of information on GA fields, do you have any info on how does the degree of elitism relates to other values? I input pop size 1000 and deg of elitism as 100 and get the error : “Error in GA::ga(type = "real-valued", fitness = sofun, lfq = lfq, lower = min, : The elitism cannot be larger than population size.”

tokami commented 3 years ago

I will try to reproduce this error and take a look at it!