public class CT extends MCC implements weka.core.TechnicalInformationHandler
Constructor and Description |
---|
CT() |
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(weka.core.Instances D) |
java.lang.String[] |
getOptions() |
weka.core.TechnicalInformation |
getTechnicalInformation() |
int |
getType()
GetI - Get the neighbourhood type (number of neighbours for each node).
|
int |
getWidth()
GetH - Get the trellis width.
|
java.lang.String |
globalInfo()
Description to display in the GUI.
|
java.util.Enumeration |
listOptions() |
static void |
main(java.lang.String[] args) |
static Trellis |
orderTrellis(Trellis trel,
double[][] I,
java.util.Random rand)
OrderTrellis - order the trellis according to marginal label dependencies.
|
void |
setOptions(java.lang.String[] options) |
void |
setType(int c)
SetI - Sets the neighbourhood type (number of neighbours for each node).
|
void |
setWidth(int h)
SetH - Sets the trellis width.
|
java.lang.String |
toString() |
distributionForInstance, getChainIterations, getInferenceInterations, likelihood, likelihood, setChainIterations, setInferenceInterations
getChain, getConfidences, getSeed, getTransformTemplates, probabilityForInstance, rebuildClassifier, sampleForInstance, sampleForInstanceFast, setChain, setSeed, transformInstance
evaluation, getCapabilities, getRevision, getTemplate, makeCopies, runClassifier, testCapabilities
classifierTipText, getClassifier, setClassifier
public java.lang.String toString()
toString
in class MultilabelClassifier
public java.lang.String globalInfo()
CC
globalInfo
in class MCC
public void buildClassifier(weka.core.Instances D) throws java.lang.Exception
buildClassifier
in interface weka.classifiers.Classifier
buildClassifier
in class MCC
java.lang.Exception
public static Trellis orderTrellis(Trellis trel, double[][] I, java.util.Random rand)
trel
- a randomly initialised trellisI
- a matrix of marginal pairwise dependenciesrand
- a random seedpublic int getType()
public void setType(int c)
public int getWidth()
public void setWidth(int h)
public weka.core.TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface weka.core.TechnicalInformationHandler
getTechnicalInformation
in class MCC
public java.util.Enumeration listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class MCC
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class MCC
java.lang.Exception
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class MCC
public static void main(java.lang.String[] args)