public class CT extends MCC implements weka.core.TechnicalInformationHandler
Modifier and Type | Field and Description |
---|---|
protected int |
m_Density |
protected String |
m_DependencyMetric |
protected int |
m_Width |
m_InstancesTemplate
BATCH_SIZE_DEFAULT, m_BatchSize, m_Debug, m_DoNotCheckCapabilities, m_numDecimalPlaces, NUM_DECIMAL_PLACES_DEFAULT
BayesNet, Newick, NOT_DRAWABLE, TREE
Constructor and Description |
---|
CT() |
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(weka.core.Instances D) |
String |
densityTipText() |
String |
dependencyMetricTipText() |
int |
getDensity()
GetDensity - Get the neighbourhood density (number of neighbours for each node).
|
String |
getDependencyMetric()
GetDependency - Get the type of depependency to use in rearranging the trellis
|
String[] |
getOptions() |
weka.core.TechnicalInformation |
getTechnicalInformation() |
int |
getWidth()
GetH - Get the trellis width.
|
String |
globalInfo()
Description to display in the GUI.
|
Enumeration |
listOptions() |
static void |
main(String[] args) |
static Trellis |
orderTrellis(Trellis trel,
double[][] I,
Random rand)
OrderTrellis - order the trellis according to marginal label dependencies.
|
void |
setDensity(int c)
SetDensity - Sets the neighbourhood density (number of neighbours for each node).
|
void |
setDependencyMetric(String m)
SetDependency - Sets the type of depependency to use in rearranging the trellis
|
void |
setOptions(String[] options) |
void |
setWidth(int h)
SetH - Sets the trellis width.
|
String |
toString() |
String |
widthTipText() |
chainIterationsTipText, distributionForInstance, getChainIterations, getInferenceIterations, getPayoff, inferenceIterationsTipText, payoff, payoffTipText, setChainIterations, setInferenceIterations, setPayoff
getConfidences, getDefaultSeed, getModel, getSeed, getTransformTemplates, graph, graphType, prepareChain, prepareChain, probabilityForInstance, rebuildClassifier, retrieveChain, sampleForInstance, sampleForInstanceFast, seedTipText, setSeed, transformInstance
defaultClassifierString, evaluation, getCapabilities, getRevision, getTemplate, makeCopies, runClassifier, testCapabilities
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 int m_Width
protected int m_Density
protected String m_DependencyMetric
public String globalInfo()
CC
globalInfo
in class MCC
public void buildClassifier(weka.core.Instances D) throws Exception
buildClassifier
in interface weka.classifiers.Classifier
buildClassifier
in class MCC
Exception
public static Trellis orderTrellis(Trellis trel, double[][] I, Random rand)
trel
- a randomly initialised trellisI
- a matrix of marginal pairwise dependenciesrand
- a random seedpublic int getDensity()
public void setDensity(int c)
public String densityTipText()
public int getWidth()
public void setWidth(int h)
public String widthTipText()
public String getDependencyMetric()
public void setDependencyMetric(String m)
public String dependencyMetricTipText()
public weka.core.TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface weka.core.TechnicalInformationHandler
getTechnicalInformation
in class MCC
public Enumeration listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class MCC
public void setOptions(String[] options) throws Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class MCC
Exception
public String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class MCC
public static void main(String[] args)
Copyright © 2017. All Rights Reserved.