com.mancrd.ahah.clusterer.eval
Class VergenceEvaluator

java.lang.Object
  extended by com.mancrd.ahah.clusterer.eval.VergenceEvaluator

public class VergenceEvaluator
extends Object

This class keeps track of a Clusterer's feature --> label mappings for analysis.

Author:
alexnugent

Constructor Summary
VergenceEvaluator()
           
 
Method Summary
 double getConvergence()
           
 double getDivergence()
           
 double getVergence()
           
 String toCompactString()
           
 String toString()
           
 String toVergenceString()
          prints the vergence of this Evaluation object
 void update(int spikeId, int label)
          Entry points for recording labels the Clusterer produces corresponding to the spikeId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VergenceEvaluator

public VergenceEvaluator()
Method Detail

update

public void update(int spikeId,
                   int label)
Entry points for recording labels the Clusterer produces corresponding to the spikeId

Parameters:
spikeId - - The feature Id. Given a feature list of size M, the id is between 0 and M-1
label - - the generated label produced by the Clusterer

getVergence

public double getVergence()
Returns:
- the vergence of the Clusterer

getConvergence

public double getConvergence()
Returns:
- the convergence of the Clusterer

getDivergence

public double getDivergence()
Returns:
- the divergence of the Clusterer

toVergenceString

public String toVergenceString()
prints the vergence of this Evaluation object


toString

public String toString()
Overrides:
toString in class Object

toCompactString

public String toCompactString()


Copyright © 2013–2014 M. Alexander Nugent Consulting, Research and Devlopment. All rights reserved.