Class SimpleCODBase
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.options.AbstractOptionHandler
-
- moa.clusterers.AbstractClusterer
-
- moa.clusterers.outliers.MyBaseOutlierDetector
-
- moa.clusterers.outliers.SimpleCOD.SimpleCODBase
-
- All Implemented Interfaces:
Configurable
,Serializable
,Clusterer
,AWTRenderable
,MOAObject
,OptionHandler
- Direct Known Subclasses:
SimpleCOD
public abstract class SimpleCODBase extends MyBaseOutlierDetector
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
SimpleCODBase.EventItem
protected static class
SimpleCODBase.EventQueue
-
Nested classes/interfaces inherited from class moa.clusterers.outliers.MyBaseOutlierDetector
MyBaseOutlierDetector.Outlier, MyBaseOutlierDetector.OutlierNotifier, MyBaseOutlierDetector.PrintMsg, MyBaseOutlierDetector.ProgressInfo, MyBaseOutlierDetector.StdPrintMsg
-
-
Field Summary
Fields Modifier and Type Field Description boolean
bWarning
protected SimpleCODBase.EventQueue
eventQueue
protected static Long
FIRST_OBJ_ID
protected ISBIndex
ISB
protected int
m_k
int
m_nBothInlierOutlier
int
m_nOnlyInlier
int
m_nOnlyOutlier
protected double
m_radius
protected int
m_WindowSize
protected Long
objId
protected Vector<ISBIndex.ISBNode>
windowNodes
-
Fields inherited from class moa.clusterers.outliers.MyBaseOutlierDetector
bShowProgress, bStopAlgorithm, bTrace, iMaxMemUsage, myOut, myProgressInfo, nRangeQueriesExecuted, nTimePerObj, nTotalRunTime, outlierNotifier, random, windowSizeOption
-
Fields inherited from class moa.clusterers.AbstractClusterer
clustererRandom, clustering, evaluateMicroClusteringOption, modelContext, randomSeed, randomSeedOption, trainingWeightSeenByModel
-
Fields inherited from class moa.options.AbstractOptionHandler
config
-
-
Constructor Summary
Constructors Constructor Description SimpleCODBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getObjectInfo(Object obj)
String
getStatistics()
protected boolean
IsNodeIdInWin(long id)
void
PrintEventQueue()
void
PrintISB()
void
PrintNodeList(List<ISBIndex.ISBNode> list)
void
PrintNodeSet(Set<ISBIndex.ISBNode> set)
void
PrintNodeVector(Vector<ISBIndex.ISBNode> vector)
-
Methods inherited from class moa.clusterers.outliers.MyBaseOutlierDetector
AddOutlier, getClusteringResult, getInstanceValues, GetMemoryUsage, getMicroClusteringResult, getModelDescription, getModelMeasurementsImpl, GetOutliersFound, getOutliersResult, getTimePerObj, getVotesForInstance, implementsMicroClusterer, Init, isRandomizable, keepClassLabel, Print, Printf, PrintInstance, Println, PrintOutliers, processNewInstanceImpl, ProcessNewStreamObj, RemoveExpiredOutlier, RemoveOutlier, resetLearningImpl, SetMessagePrinter, SetProgressInterval, SetShowProgress, SetTrace, SetUserInfo, ShowProgress, ShowProgress, trainOnInstanceImpl, UpdateMaxMemUsage
-
Methods inherited from class moa.clusterers.AbstractClusterer
adjustParameters, contextIsCompatible, copy, getAttributeNameString, getAWTRenderer, getClassLabelString, getClassNameString, getDescription, getModelContext, getModelMeasurements, getNominalValueString, getPurposeString, getSubClusterers, modelAttIndexToInstanceAttIndex, modelAttIndexToInstanceAttIndex, prepareForUseImpl, resetLearning, setModelContext, setRandomSeed, trainingHasStarted, trainingWeightSeenByModel, trainOnInstance
-
Methods inherited from class moa.options.AbstractOptionHandler
getCLICreationString, getOptions, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
-
Methods inherited from class moa.AbstractMOAObject
copy, measureByteSize, measureByteSize, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface moa.MOAObject
measureByteSize
-
Methods inherited from interface moa.options.OptionHandler
getCLICreationString, getOptions, prepareForUse, prepareForUse
-
-
-
-
Field Detail
-
FIRST_OBJ_ID
protected static final Long FIRST_OBJ_ID
-
objId
protected Long objId
-
windowNodes
protected Vector<ISBIndex.ISBNode> windowNodes
-
eventQueue
protected SimpleCODBase.EventQueue eventQueue
-
ISB
protected ISBIndex ISB
-
m_WindowSize
protected int m_WindowSize
-
m_radius
protected double m_radius
-
m_k
protected int m_k
-
bWarning
public boolean bWarning
-
m_nBothInlierOutlier
public int m_nBothInlierOutlier
-
m_nOnlyInlier
public int m_nOnlyInlier
-
m_nOnlyOutlier
public int m_nOnlyOutlier
-
-
Method Detail
-
getObjectInfo
public String getObjectInfo(Object obj)
- Overrides:
getObjectInfo
in classMyBaseOutlierDetector
-
getStatistics
public String getStatistics()
- Overrides:
getStatistics
in classMyBaseOutlierDetector
-
IsNodeIdInWin
protected boolean IsNodeIdInWin(long id)
- Overrides:
IsNodeIdInWin
in classMyBaseOutlierDetector
-
PrintNodeSet
public void PrintNodeSet(Set<ISBIndex.ISBNode> set)
-
PrintNodeVector
public void PrintNodeVector(Vector<ISBIndex.ISBNode> vector)
-
PrintNodeList
public void PrintNodeList(List<ISBIndex.ISBNode> list)
-
PrintEventQueue
public void PrintEventQueue()
-
PrintISB
public void PrintISB()
-
-