public abstract class MyBaseOutlierDetector extends AbstractClusterer
| Modifier and Type | Class and Description |
|---|---|
static class |
MyBaseOutlierDetector.Outlier |
static class |
MyBaseOutlierDetector.OutlierNotifier |
static interface |
MyBaseOutlierDetector.PrintMsg |
static interface |
MyBaseOutlierDetector.ProgressInfo |
class |
MyBaseOutlierDetector.StdPrintMsg |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
bShowProgress |
boolean |
bStopAlgorithm |
protected boolean |
bTrace |
protected int |
iMaxMemUsage |
protected MyBaseOutlierDetector.PrintMsg |
myOut |
protected MyBaseOutlierDetector.ProgressInfo |
myProgressInfo |
protected int |
nRangeQueriesExecuted |
protected double |
nTimePerObj |
protected Long |
nTotalRunTime |
MyBaseOutlierDetector.OutlierNotifier |
outlierNotifier |
protected Random |
random |
IntOption |
windowSizeOption |
clustererRandom, clustering, evaluateMicroClusteringOption, modelContext, randomSeed, randomSeedOption, trainingWeightSeenByModelclassOptionNamesToPreparedObjects, options| Constructor and Description |
|---|
MyBaseOutlierDetector() |
contextIsCompatible, copy, getAttributeNameString, getAWTRenderer, getClassLabelString, getClassNameString, getDescription, getModelContext, getModelMeasurements, getNominalValueString, getPurposeString, getSubClusterers, modelAttIndexToInstanceAttIndex, modelAttIndexToInstanceAttIndex, prepareForUseImpl, resetLearning, setModelContext, setRandomSeed, trainingHasStarted, trainingWeightSeenByModel, trainOnInstancediscoverOptionsViaReflection, getCLICreationString, getOptions, getPreparedClassOption, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUsecopy, measureByteSize, measureByteSize, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCLICreationString, getOptions, prepareForUse, prepareForUsemeasureByteSizepublic IntOption windowSizeOption
public MyBaseOutlierDetector.OutlierNotifier outlierNotifier
protected Random random
protected int iMaxMemUsage
protected int nRangeQueriesExecuted
protected Long nTotalRunTime
protected double nTimePerObj
protected MyBaseOutlierDetector.ProgressInfo myProgressInfo
protected MyBaseOutlierDetector.PrintMsg myOut
protected boolean bTrace
protected boolean bShowProgress
public boolean bStopAlgorithm
protected void UpdateMaxMemUsage()
public double getTimePerObj()
public String getStatistics()
public double[] getInstanceValues(weka.core.Instance inst)
public void PrintInstance(weka.core.Instance inst)
public void resetLearningImpl()
resetLearningImpl in class AbstractClustererprotected void Init()
public void trainOnInstanceImpl(weka.core.Instance inst)
trainOnInstanceImpl in class AbstractClustererpublic void processNewInstanceImpl(weka.core.Instance inst)
protected void ProcessNewStreamObj(weka.core.Instance inst)
public void PrintOutliers()
public Set<MyBaseOutlierDetector.Outlier> GetOutliersFound()
protected boolean IsNodeIdInWin(long id)
public Clustering getClusteringResult()
public Vector<MyBaseOutlierDetector.Outlier> getOutliersResult()
protected void AddOutlier(MyBaseOutlierDetector.Outlier newOutlier)
protected boolean RemoveExpiredOutlier(MyBaseOutlierDetector.Outlier outlier)
protected boolean RemoveOutlier(MyBaseOutlierDetector.Outlier outlier)
public boolean implementsMicroClusterer()
implementsMicroClusterer in interface ClustererimplementsMicroClusterer in class AbstractClustererpublic Clustering getMicroClusteringResult()
getMicroClusteringResult in interface ClusterergetMicroClusteringResult in class AbstractClustererprotected Measurement[] getModelMeasurementsImpl()
getModelMeasurementsImpl in class AbstractClustererpublic void getModelDescription(StringBuilder out, int indent)
getModelDescription in class AbstractClustererpublic boolean isRandomizable()
public boolean keepClassLabel()
keepClassLabel in interface ClustererkeepClassLabel in class AbstractClustererpublic double[] getVotesForInstance(weka.core.Instance inst)
public void SetShowProgress(boolean b)
public void SetTrace(boolean b)
public void SetProgressInterval(int iProgressInterval)
public void SetMessagePrinter(MyBaseOutlierDetector.PrintMsg logPrinter)
public void SetUserInfo(boolean bShowProgress,
boolean bTrace,
MyBaseOutlierDetector.PrintMsg logPrinter,
int iProgressInterval)
protected void ShowProgress(String sMsg)
protected void ShowProgress(String sMsg, boolean bShowAlways)
protected void Println(String s)
protected void Print(String s)
protected int GetMemoryUsage()
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.