public class WekaClusteringAlgorithm extends AbstractClusterer
Modifier and Type | Field and Description |
---|---|
IntOption |
horizonOption |
protected SamoaToWekaInstanceConverter |
instanceConverter |
StringOption |
parameterOption |
MultiChoiceOption |
wekaAlgorithmOption |
clustererRandom, clustering, evaluateMicroClusteringOption, modelContext, randomSeed, randomSeedOption, trainingWeightSeenByModel
config
Constructor and Description |
---|
WekaClusteringAlgorithm() |
Modifier and Type | Method and Description |
---|---|
Clustering |
getClusteringResult() |
Instances |
getDataset(int numdim,
int numclass) |
void |
getModelDescription(StringBuilder out,
int indent) |
protected Measurement[] |
getModelMeasurementsImpl() |
String |
getPurposeString()
Dictionary with option texts and objects
|
double[] |
getVotesForInstance(Instance inst) |
boolean |
isRandomizable() |
boolean |
keepClassLabel() |
void |
resetLearningImpl() |
void |
trainOnInstanceImpl(Instance inst) |
contextIsCompatible, copy, getAttributeNameString, getAWTRenderer, getClassLabelString, getClassNameString, getDescription, getMicroClusteringResult, getModelContext, getModelMeasurements, getNominalValueString, getSubClusterers, implementsMicroClusterer, modelAttIndexToInstanceAttIndex, modelAttIndexToInstanceAttIndex, prepareForUseImpl, resetLearning, setModelContext, setRandomSeed, trainingHasStarted, trainingWeightSeenByModel, trainOnInstance
getCLICreationString, getOptions, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCLICreationString, getOptions, prepareForUse, prepareForUse
measureByteSize
public IntOption horizonOption
public MultiChoiceOption wekaAlgorithmOption
public StringOption parameterOption
protected SamoaToWekaInstanceConverter instanceConverter
public void resetLearningImpl()
resetLearningImpl
in class AbstractClusterer
public void trainOnInstanceImpl(Instance inst)
trainOnInstanceImpl
in class AbstractClusterer
public Clustering getClusteringResult()
public Instances getDataset(int numdim, int numclass)
protected Measurement[] getModelMeasurementsImpl()
getModelMeasurementsImpl
in class AbstractClusterer
public void getModelDescription(StringBuilder out, int indent)
getModelDescription
in class AbstractClusterer
public boolean isRandomizable()
public double[] getVotesForInstance(Instance inst)
public boolean keepClassLabel()
keepClassLabel
in interface Clusterer
keepClassLabel
in class AbstractClusterer
public String getPurposeString()
AbstractOptionHandler
getPurposeString
in interface OptionHandler
getPurposeString
in class AbstractClusterer
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.