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, setInferenceInterationsgetChain, getConfidences, getSeed, getTransformTemplates, probabilityForInstance, rebuildClassifier, sampleForInstance, sampleForInstanceFast, setChain, setSeed, transformInstanceevaluation, getCapabilities, getRevision, getTemplate, makeCopies, runClassifier, testCapabilitiesclassifierTipText, getClassifier, setClassifierpublic java.lang.String toString()
toString in class MultilabelClassifierpublic java.lang.String globalInfo()
CCglobalInfo in class MCCpublic void buildClassifier(weka.core.Instances D)
throws java.lang.Exception
buildClassifier in interface weka.classifiers.ClassifierbuildClassifier in class MCCjava.lang.Exceptionpublic 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.TechnicalInformationHandlergetTechnicalInformation in class MCCpublic java.util.Enumeration listOptions()
listOptions in interface weka.core.OptionHandlerlistOptions in class MCCpublic void setOptions(java.lang.String[] options)
throws java.lang.Exception
setOptions in interface weka.core.OptionHandlersetOptions in class MCCjava.lang.Exceptionpublic java.lang.String[] getOptions()
getOptions in interface weka.core.OptionHandlergetOptions in class MCCpublic static void main(java.lang.String[] args)