public class EM extends ProblemTransformationMethod implements SemisupervisedClassifier, weka.core.TechnicalInformationHandler
Modifier and Type | Field and Description |
---|---|
protected weka.core.Instances |
D_ |
protected int |
m_I |
m_InstancesTemplate
Constructor and Description |
---|
EM() |
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(weka.core.Instances D) |
protected String |
defaultClassifierString() |
double[] |
distributionForInstance(weka.core.Instance x) |
int |
getIterations() |
String[] |
getOptions() |
String |
getRevision() |
weka.core.TechnicalInformation |
getTechnicalInformation() |
String |
globalInfo()
Description to display in the GUI.
|
void |
introduceUnlabelledData(weka.core.Instances D)
Set Unlabelled Data - provide unlabelled data prior to calling buildClassifier(Instances).
|
String |
iterationsTipText() |
Enumeration |
listOptions() |
static void |
main(String[] args) |
void |
setIterations(int i) |
void |
setOptions(String[] options) |
protected void |
updateWeights(ProblemTransformationMethod h,
weka.core.Instances D) |
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, getModel, setDebug
protected String defaultClassifierString()
defaultClassifierString
in class ProblemTransformationMethod
public void introduceUnlabelledData(weka.core.Instances D)
SemisupervisedClassifier
introduceUnlabelledData
in interface SemisupervisedClassifier
D
- Instances for which the true class labels are not available for each instance.public String globalInfo()
ProblemTransformationMethod
globalInfo
in class ProblemTransformationMethod
public void buildClassifier(weka.core.Instances D) throws Exception
buildClassifier
in interface weka.classifiers.Classifier
buildClassifier
in class ProblemTransformationMethod
Exception
protected void updateWeights(ProblemTransformationMethod h, weka.core.Instances D) throws Exception
Exception
public double[] distributionForInstance(weka.core.Instance x) throws Exception
distributionForInstance
in interface weka.classifiers.Classifier
distributionForInstance
in class ProblemTransformationMethod
Exception
public void setIterations(int i)
public int getIterations()
public String iterationsTipText()
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 String getRevision()
getRevision
in interface weka.core.RevisionHandler
getRevision
in class ProblemTransformationMethod
public weka.core.TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface weka.core.TechnicalInformationHandler
public static void main(String[] args)
Copyright © 2017. All Rights Reserved.