classification
Interface MetaClassifier

All Known Implementing Classes:
MajorityVoteClassifier

public interface MetaClassifier

This interface is for classes which implement some meta-classification scheme.


Method Summary
 Ensemble generateEnsemble(java.util.List<PredictionSet> predSetList, DataSet data)
          Generates an ensemble for the given data using the provided predictions.
 double getAccuracyCutoff()
          Retrieves the percentage accuracy below which a classifier will not accept predictions.
 java.lang.String getAttribute()
          Retrieves the name of the attribute that the classifier considers.
 java.lang.String getName()
          Retrieves the name of a classifier.
 double getSimilarityCutoff()
          Retrieves the percentage similarity above which a classifier will not accept predictions.
 java.lang.Boolean isChanged()
          Determines if anything about the classifier has been changed since the method was last called.
 void setAccuracyCutoff(double accuracyCutoff)
          Sets the percentage accuracy below which a classifier will not accept predictions.
 void setAttribute(java.lang.String attribute)
          Sets the attribute that the classifier will consider.
 void setSimilarityCutoff(double similarityCutoff)
          Sets the percentage similarity above which a classifier will not accept predictions.
 

Method Detail

getName

java.lang.String getName()
Retrieves the name of a classifier.

Returns:
The classifier's name

generateEnsemble

Ensemble generateEnsemble(java.util.List<PredictionSet> predSetList,
                          DataSet data)
Generates an ensemble for the given data using the provided predictions.

Parameters:
predSetList - A list of prediction sets to consider in making the ensemble
data - The data set to judge the predictions against
Returns:
The generated ensemble, or null if none could be generated

getAccuracyCutoff

double getAccuracyCutoff()
Retrieves the percentage accuracy below which a classifier will not accept predictions.

Returns:
The accuracy cutoff, in the interval [0,100]

setAccuracyCutoff

void setAccuracyCutoff(double accuracyCutoff)
Sets the percentage accuracy below which a classifier will not accept predictions.

Parameters:
accuracyCutoff - The desired cutoff, in the interval [0,100]

getSimilarityCutoff

double getSimilarityCutoff()
Retrieves the percentage similarity above which a classifier will not accept predictions.

Returns:
The similarity cutoff, in the interval [0,100]

setSimilarityCutoff

void setSimilarityCutoff(double similarityCutoff)
Sets the percentage similarity above which a classifier will not accept predictions.

Parameters:
similarityCutoff - The desired cutoff, in the interval [0,100]

getAttribute

java.lang.String getAttribute()
Retrieves the name of the attribute that the classifier considers.

Returns:
The name of an attribute for some data set

setAttribute

void setAttribute(java.lang.String attribute)
Sets the attribute that the classifier will consider.

Parameters:
attribute - The name of an attribute for some data set

isChanged

java.lang.Boolean isChanged()
Determines if anything about the classifier has been changed since the method was last called.

Returns:
True if the classifier has changed, else false