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, trainingWeightSeenByModel
classOptionNamesToPreparedObjects, 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, trainOnInstance
discoverOptionsViaReflection, getCLICreationString, getOptions, getPreparedClassOption, 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 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 AbstractClusterer
protected void Init()
public void trainOnInstanceImpl(weka.core.Instance inst)
trainOnInstanceImpl
in class AbstractClusterer
public 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 Clusterer
implementsMicroClusterer
in class AbstractClusterer
public Clustering getMicroClusteringResult()
getMicroClusteringResult
in interface Clusterer
getMicroClusteringResult
in class AbstractClusterer
protected Measurement[] getModelMeasurementsImpl()
getModelMeasurementsImpl
in class AbstractClusterer
public void getModelDescription(StringBuilder out, int indent)
getModelDescription
in class AbstractClusterer
public boolean isRandomizable()
public boolean keepClassLabel()
keepClassLabel
in interface Clusterer
keepClassLabel
in class AbstractClusterer
public 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.