com.rapidminer.operator.validation.clustering.exampledistribution
Class SumOfSquares

java.lang.Object
  extended by com.rapidminer.operator.validation.clustering.exampledistribution.SumOfSquares
All Implemented Interfaces:
ExampleDistributionMeasure

public class SumOfSquares
extends java.lang.Object
implements ExampleDistributionMeasure

Calculates an item distribution measure by summing up the squares of the fraction of items in each cluster. The result is inverted, thus the higher the value, the better the items are distributed.

Author:
Michael Wurst

Constructor Summary
SumOfSquares()
           
 
Method Summary
 double evaluate(int[] x, int n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SumOfSquares

public SumOfSquares()
Method Detail

evaluate

public double evaluate(int[] x,
                       int n)
Specified by:
evaluate in interface ExampleDistributionMeasure


Copyright © 2001-2009 by Rapid-I