mulan.classifier.transformation
Class TransformationBasedMultiLabelLearner

java.lang.Object
  extended by mulan.classifier.MultiLabelLearnerBase
      extended by mulan.classifier.transformation.TransformationBasedMultiLabelLearner
All Implemented Interfaces:
Serializable, MultiLabelLearner, TechnicalInformationHandler
Direct Known Subclasses:
BinaryRelevance, CalibratedLabelRanking, ClassifierChain, EnsembleOfClassifierChains, EnsembleOfPrunedSets, IncludeLabelsClassifier, LabelPowerset, MultiClassLearner, MultiLabelStacking

public abstract class TransformationBasedMultiLabelLearner
extends MultiLabelLearnerBase

Version:
2010.12.25
Author:
Robert Friberg, Jozef Vilcek, Grigorios Tsoumakas
See Also:
Serialized Form

Field Summary
protected  Classifier baseClassifier
          The underlying single-label classifier.
 
Fields inherited from class mulan.classifier.MultiLabelLearnerBase
featureIndices, labelIndices, numLabels
 
Constructor Summary
TransformationBasedMultiLabelLearner()
          Creates a new instance of TransformationBasedMultiLabelLearner with default J48 base classifier.
TransformationBasedMultiLabelLearner(Classifier baseClassifier)
          Creates a new instance.
 
Method Summary
 Classifier getBaseClassifier()
          Returns the Classifier which is used internally by the learner.
 TechnicalInformation getTechnicalInformation()
          Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.
 String globalInfo()
          Returns a string describing the classifier.
 
Methods inherited from class mulan.classifier.MultiLabelLearnerBase
build, buildInternal, debug, getDebug, isModelInitialized, isUpdatable, makeCopy, makePrediction, makePredictionInternal, setDebug
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

baseClassifier

protected Classifier baseClassifier
The underlying single-label classifier.

Constructor Detail

TransformationBasedMultiLabelLearner

public TransformationBasedMultiLabelLearner()
Creates a new instance of TransformationBasedMultiLabelLearner with default J48 base classifier.


TransformationBasedMultiLabelLearner

public TransformationBasedMultiLabelLearner(Classifier baseClassifier)
Creates a new instance.

Parameters:
baseClassifier - the base classifier which will be used internally to handle the data.
See Also:
Classifier
Method Detail

getBaseClassifier

public Classifier getBaseClassifier()
Returns the Classifier which is used internally by the learner.

Returns:
the internally used classifier

getTechnicalInformation

public TechnicalInformation getTechnicalInformation()
Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.

Specified by:
getTechnicalInformation in interface TechnicalInformationHandler
Specified by:
getTechnicalInformation in class MultiLabelLearnerBase
Returns:
the technical information about this class

globalInfo

public String globalInfo()
Returns a string describing the classifier.

Specified by:
globalInfo in class MultiLabelLearnerBase
Returns:
a string description of the classifier