Pages: [1]
  Print  
Author Topic: Error in FrequencyDiscretization Operator  (Read 1383 times)
fjcuberos
Newbie
*
Posts: 19


« on: July 06, 2008, 03:26:13 PM »

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

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

Regards.

F.J. Cuberos
Logged
Ingo Mierswa
Administrator
Hero Member
*****
Posts: 1226



WWW
« Reply #1 on: July 07, 2008, 12:20:44 PM »

Hi,

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

Cheers,
Ingo
Logged

Did you try our new Marketplace? Upload or download new Extensions, add comments, and organize your operators. Have a look at  http://marketplace.rapid-i.com
Pages: [1]
  Print  
 
Jump to: