mulan.dimensionalityReduction
Class LabelPowersetAttributeEvaluator

java.lang.Object
  extended by weka.attributeSelection.ASEvaluation
      extended by mulan.dimensionalityReduction.LabelPowersetAttributeEvaluator
All Implemented Interfaces:
Serializable, AttributeEvaluator, CapabilitiesHandler, RevisionHandler

public class LabelPowersetAttributeEvaluator
extends ASEvaluation
implements AttributeEvaluator

Performs attribute evaluation using the label powerset transformation. For more information, see

K. Trohidis, G. Tsoumakas, G. Kalliris, I. Vlahavas. "Multilabel Classification of Music into Emotions". Proc. 2008 International Conference on Music Information Retrieval (ISMIR 2008)

BibTeX:
 @inproceedings{trohidis+etal:2008,
      author =    {Trohidis, K. and Tsoumakas, G. and Kalliris, G. and Vlahavas, I.},
      title =     {Multilabel Classification of Music into Emotions},
      booktitle = {Proc. 9th International Conference on Music Information Retrieval (ISMIR 2008), Philadelphia, PA, USA, 2008},
      year =      {2008},
      location =  {Philadephia, PA, USA},
 }
 

Author:
Grigorios Tsoumakas
See Also:
Serialized Form

Constructor Summary
LabelPowersetAttributeEvaluator(ASEvaluation x, MultiLabelInstances mlData)
          Constructor that uses an evaluator on a multi-label dataset
 
Method Summary
 void buildEvaluator(Instances arg0)
          Not supported
 double evaluateAttribute(int attribute)
          Evaluates an attribute
 
Methods inherited from class weka.attributeSelection.ASEvaluation
forName, getCapabilities, getRevision, makeCopies, postProcess, runEvaluator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelPowersetAttributeEvaluator

public LabelPowersetAttributeEvaluator(ASEvaluation x,
                                       MultiLabelInstances mlData)
Constructor that uses an evaluator on a multi-label dataset

Parameters:
x -
mlData -
Method Detail

evaluateAttribute

public double evaluateAttribute(int attribute)
                         throws Exception
Evaluates an attribute

Specified by:
evaluateAttribute in interface AttributeEvaluator
Parameters:
attribute - the attribute index
Returns:
the evaluation
Throws:
Exception

buildEvaluator

public void buildEvaluator(Instances arg0)
                    throws Exception
Not supported

Specified by:
buildEvaluator in class ASEvaluation
Parameters:
arg0 -
Throws:
Exception