Textractor API textractor-720 (20091120123250)

textractor.datamodel
Class TermPredictionStatistics

java.lang.Object
  extended by textractor.datamodel.TermPredictionStatistics

public final class TermPredictionStatistics
extends Object


Constructor Summary
TermPredictionStatistics()
           
TermPredictionStatistics(Article article)
           
 
Method Summary
 void addDistance(double distance)
           
 void addToTermPredictionCount(int count)
           
 Article getArticle()
           
 double getAvgDistance()
           
 double[] getDistances()
           
 double getMaxDistance()
           
 double getMinDistance()
          Returns the minimum value of this distance.
 double getSumDistance()
           
 int getTermPredictionCount()
           
 double getTermPredictionRatio()
           
 int[] getTermSearched()
           
 void incrementTermPredictionCount()
           
 void setArticle(Article article)
           
 void setMaxDistance(double currentDistance)
           
 void setMinDistance(double currentDistance)
           
 void setSumDistance(double sumDistance)
           
 void setTermPredictionCount(int count)
           
 void setTermPredictionRatio(double ratio)
           
 void setTermSearched(int[] indexedTerm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermPredictionStatistics

public TermPredictionStatistics()

TermPredictionStatistics

public TermPredictionStatistics(Article article)
Method Detail

getMinDistance

public double getMinDistance()
Returns the minimum value of this distance. Nagative values are considered to determine the minimum distance.

Returns:
Returns the minimum value of the SVM distance to the hyperplane, for this term.

setMinDistance

public void setMinDistance(double currentDistance)

getMaxDistance

public double getMaxDistance()

setMaxDistance

public void setMaxDistance(double currentDistance)

getAvgDistance

public double getAvgDistance()

getSumDistance

public double getSumDistance()

setSumDistance

public void setSumDistance(double sumDistance)

setTermSearched

public void setTermSearched(int[] indexedTerm)

getTermSearched

public int[] getTermSearched()

setTermPredictionRatio

public void setTermPredictionRatio(double ratio)

getTermPredictionRatio

public double getTermPredictionRatio()

setTermPredictionCount

public void setTermPredictionCount(int count)

addToTermPredictionCount

public void addToTermPredictionCount(int count)

setArticle

public void setArticle(Article article)

getArticle

public Article getArticle()

incrementTermPredictionCount

public void incrementTermPredictionCount()

getTermPredictionCount

public int getTermPredictionCount()

addDistance

public void addDistance(double distance)

getDistances

public double[] getDistances()

Textractor API textractor-720 (20091120123250)

Copyright © 2003-2008 Institute for Computational Biomedicine, All Rights Reserved.