org.datamanager.clustering.strategy.bayes
Class NaiveBayesStrategy
java.lang.Object
|
+--org.datamanager.clustering.strategy.bayes.NaiveBayesStrategy
- All Implemented Interfaces:
- ClusteringStrategy
- public class NaiveBayesStrategy
- extends Object
- implements ClusteringStrategy
This class represents a naive Bayesian strategy for clustering Emails.
See
http://sourceforge.net/docman/display_doc.php?docid=13334&group_id=63137
for algorithm details.
- Version:
- $Revision: 1.4 $
- Author:
- Team Helium
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_THRESHOLD
public static final double DEFAULT_THRESHOLD
- See Also:
- Constant Field Values
getSimilarityBetween
public double getSimilarityBetween(Entity a,
Entity b)
- Specified by:
getSimilarityBetween
in interface ClusteringStrategy
addEntity
public void addEntity(Entity entity)
- Satisfying interface.
- Specified by:
addEntity
in interface ClusteringStrategy
getInstance
public static final NaiveBayesStrategy getInstance()
setThreshold
public void setThreshold(double threshold)
- Specified by:
setThreshold
in interface ClusteringStrategy
getThreshold
public double getThreshold()
- Specified by:
getThreshold
in interface ClusteringStrategy
See the Helium Website