netkit.classifiers
Interface Classifier
- All Superinterfaces:
- Configurable
- All Known Subinterfaces:
- NetworkClassifier
- All Known Implementing Classes:
- ClassDistribRelNeighbor, ClassifierImp, ClassPrior, ExternalPrior, Harmonic, LocalMetaClassifier, LocalWeka, MetaMultiplicative, MetaMultiplicative, NetworkClassifierImp, NetworkMetaClassifier, NetworkOnlyBayes, NetworkWeka, NullPrior, ProbRelationalNeighbor, UniformPrior, WeightedVoteRelationalNeighbor
public interface Classifier
- extends Configurable
$Id: Classifier.java,v 1.4 2004/12/12 17:43:40 sofmac Exp $
Part of the open-source Network Learning Toolkit
User: smacskassy
Date: Dec 2, 2004
Time: 9:16:44 PM
reset
void reset()
induceModel
void induceModel(Graph graph,
DataSplit split)
estimate
double[] estimate(Node node)
estimate
boolean estimate(Node node,
double[] result)
- Estimate the probabilities that a given node into belongs to any given class.
- Parameters:
node
- The node to estimate.result
- The Estimate object that is updated with class estimates.
- Returns:
- Whether the classifier abstained or inferred class probabilities
estimate
boolean estimate(Node node,
Estimate result)
classify
int classify(Node node)
classify
boolean classify(Node node,
Classification result)
getLogger
java.util.logging.Logger getLogger()
getShortName
java.lang.String getShortName()
getName
java.lang.String getName()
getDescription
java.lang.String getDescription()
addListener
void addListener(ClassifierListener cl)
clearListeners
void clearListeners()
removeListener
void removeListener(ClassifierListener cl)
getNofifyListeners
boolean getNofifyListeners()
setNofityListeners
void setNofityListeners(boolean notify)
notifyListeners
void notifyListeners(Node node,
double[] estimate)
notifyListeners
void notifyListeners(Node node,
int classification)