public class MULAN extends ProblemTransformationMethod
Modifier and Type | Field and Description |
---|---|
protected String |
m_MethodString |
protected mulan.classifier.MultiLabelLearner |
m_MULAN |
m_InstancesTemplate
Constructor and Description |
---|
MULAN() |
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(weka.core.Instances instances) |
double[] |
distributionForInstance(weka.core.Instance instance) |
String |
getMethod() |
String[] |
getOptions() |
String |
getRevision() |
String |
globalInfo()
Description to display in the GUI.
|
Enumeration |
listOptions() |
static void |
main(String[] args) |
String |
methodTipText() |
void |
setMethod(String m)
Set a prescribed MULAN classifier configuration.
|
void |
setOptions(String[] options) |
defaultClassifierString, evaluation, getCapabilities, getModel, getTemplate, makeCopies, runClassifier, testCapabilities, toString
classifierTipText, defaultClassifierOptions, getClassifier, getClassifierSpec, postExecution, preExecution, setClassifier
batchSizeTipText, classifyInstance, debugTipText, distributionsForInstances, doNotCheckCapabilitiesTipText, forName, getBatchSize, getDebug, getDoNotCheckCapabilities, getNumDecimalPlaces, implementsMoreEfficientBatchPrediction, makeCopies, makeCopy, numDecimalPlacesTipText, run, runClassifier, setBatchSize, setDebug, setDoNotCheckCapabilities, setNumDecimalPlaces
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
debugTipText, getDebug, setDebug
protected mulan.classifier.MultiLabelLearner m_MULAN
protected String m_MethodString
public String globalInfo()
globalInfo
in class ProblemTransformationMethod
public void setMethod(String m)
m
- key; one of: BR, LP, CLR, RAkEL1, RAkEL2, MLkNN, IBLR_ML, BPMLL (you can add more in the MULAN.java code)public String getMethod()
public String methodTipText()
public Enumeration listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class weka.classifiers.SingleClassifierEnhancer
public void setOptions(String[] options) throws Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class weka.classifiers.SingleClassifierEnhancer
Exception
public String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class weka.classifiers.SingleClassifierEnhancer
public void buildClassifier(weka.core.Instances instances) throws Exception
buildClassifier
in interface weka.classifiers.Classifier
buildClassifier
in class ProblemTransformationMethod
Exception
public double[] distributionForInstance(weka.core.Instance instance) throws Exception
distributionForInstance
in interface weka.classifiers.Classifier
distributionForInstance
in class ProblemTransformationMethod
Exception
public String getRevision()
getRevision
in interface weka.core.RevisionHandler
getRevision
in class ProblemTransformationMethod
public static void main(String[] args)
Copyright © 2017. All Rights Reserved.