Options

"Error in FrequencyDiscretization Operator"

fjcuberosfjcuberos Member Posts: 18 Maven
edited May 2019 in Help
I think there is an error in the FrequencyDiscretization (CVS Version)
The square root is missing computing the number of bin, so in a exampleset with 100 examples 100 bins are generated instead only 10.

File /yale/src/com/rapidminer/operator/preprocessing/discretization/FrequencyDiscretization.java revision 1.1 to 1.5

if (useSqrt) {
numberOfBins = exampleSet.size() - (int) exampleSet.getStatistics(currentAttribute, Statistics.UNKNOWN);
}
Regards.

F.J. Cuberos
Tagged:

Answers

  • Options
    IngoRMIngoRM Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM Founder
    Hi,

    thanks again! We have just fixed this and the fixed version will be available in CVS / release soon.

    Cheers,
    Ingo
Sign In or Register to comment.