net.sf.javaml.clustering.evaluation
Class Gamma

java.lang.Object
  extended by net.sf.javaml.clustering.evaluation.Gamma
All Implemented Interfaces:
ClusterEvaluation

public class Gamma
extends java.lang.Object
implements ClusterEvaluation

TODO uitleg

Author:
Andreas De Rijcke

Constructor Summary
Gamma(DistanceMeasure dm)
           
 
Method Summary
 boolean compareScore(double score1, double score2)
          Compares the two scores according to the criterion in the implementation.
 double score(Dataset[] datas)
          Returns the score the current clusterer obtains on the dataset.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gamma

public Gamma(DistanceMeasure dm)
Method Detail

score

public double score(Dataset[] datas)
Description copied from interface: ClusterEvaluation
Returns the score the current clusterer obtains on the dataset.

Specified by:
score in interface ClusterEvaluation
Returns:
the score the clusterer obtained on this particular dataset

compareScore

public boolean compareScore(double score1,
                            double score2)
Description copied from interface: ClusterEvaluation
Compares the two scores according to the criterion in the implementation. Some score should be maxed, others should be minimized. This method returns true if the second score is 'better' than the first score.

Specified by:
compareScore in interface ClusterEvaluation
Parameters:
score1 - the first score
score2 - the second score
Returns:
true if the second score is better than the first, false in all other cases


Copyright © 2006-2010 - Thomas Abeel - All Rights Reserved. SourceForge.netLogo