Package moa.core
Class MultilabelInstancesHeader
- java.lang.Object
-
- com.yahoo.labs.samoa.instances.Instances
-
- com.yahoo.labs.samoa.instances.InstancesHeader
-
- moa.core.MultilabelInstancesHeader
-
- All Implemented Interfaces:
Serializable
public class MultilabelInstancesHeader extends InstancesHeader
Class for storing the header or context of a multilabel data stream. It allows to know the number of attributes and class labels.- Version:
- $Revision: 7 $
- Author:
- Jesse Read (jmr30@cs.waikato.ac.nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.yahoo.labs.samoa.instances.Instances
arff, ARFF_DATA, ARFF_RELATION, hsAttributesIndices, indicesIrrelevants, indicesRelevants, instanceInformation, instances
-
-
Constructor Summary
Constructors Constructor Description MultilabelInstancesHeader(Instances i, int numLabels)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumClassLabels()
-
Methods inherited from class com.yahoo.labs.samoa.instances.InstancesHeader
getAttributeNameString, getClassLabelString, getClassNameString, getInputAttributeNameString, getInstanceInformation, getNominalValueString, getNumericValueString, inputAttribute, numInputAttributes, numOutputAttributes, outputAttribute
-
Methods inherited from class com.yahoo.labs.samoa.instances.Instances
add, attribute, attribute, classAttribute, classIndex, copyInstances, delete, delete, deleteAttributeAt, get, getIndicesIrrelevants, getIndicesRelevants, getRelationName, indexOf, insertAttributeAt, instance, meanOrMode, numAttributes, numClasses, numInstances, randomize, readInstance, set, setAttributes, setAttributes, setAttributes, setClassIndex, setIndicesRelevants, setRangeOutputIndices, setRelationName, size, stratify, stratStep, stringWithoutHeader, swap, testCV, toString, trainCV, trainCV
-
-
-
-
Constructor Detail
-
MultilabelInstancesHeader
public MultilabelInstancesHeader(Instances i, int numLabels)
-
-