mulan.classifier.transformation
Class LabelsetPruning
java.lang.Object
   mulan.classifier.MultiLabelLearnerBase
mulan.classifier.MultiLabelLearnerBase
       mulan.classifier.transformation.TransformationBasedMultiLabelLearner
mulan.classifier.transformation.TransformationBasedMultiLabelLearner
           mulan.classifier.transformation.LabelPowerset
mulan.classifier.transformation.LabelPowerset
               mulan.classifier.transformation.LabelsetPruning
mulan.classifier.transformation.LabelsetPruning
- All Implemented Interfaces: 
- Serializable, MultiLabelLearner, TechnicalInformationHandler
- Direct Known Subclasses: 
- PPT, PrunedSets
- public abstract class LabelsetPruning 
- extends LabelPowerset
Common functionality class for the PPT and PS algorithms 
- Version:
- 2012.02.27
- Author:
- Grigorios Tsoumakas
- See Also:
- Serialized Form
| Field Summary | 
| protected  int | pparameter for the threshold of number of occurences of a labelset
 | 
 
 
 
 
| Constructor Summary | 
| LabelsetPruning(Classifier classifier,
                int aP)Constructor that initializes learner with base algorithm and main parameter
 | 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
p
protected int p
- parameter for the threshold of number of occurences of a labelset
 
 
LabelsetPruning
public LabelsetPruning(Classifier classifier,
                       int aP)
- Constructor that initializes learner with base algorithm and main parameter
 
- Parameters:
- classifier- base single-label classification algorithm
- aP- number of instances required for a labelset to be included.
 
buildInternal
protected void buildInternal(MultiLabelInstances mlDataSet)
                      throws Exception
- Description copied from class: MultiLabelLearnerBase
- Learner specific implementation of building the model from MultiLabelInstancestraining data set. This method is called fromMultiLabelLearnerBase.build(MultiLabelInstances)method,
 where behavior common across all learners is applied.
 
- 
- Overrides:
- buildInternalin class- LabelPowerset
 
- 
- Parameters:
- mlDataSet- the training data set
- Throws:
- Exception- if learner model was not created successfully