Package moa.clusterers.outliers.MCOD
Class MCODBase
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.options.AbstractOptionHandler
-
- moa.clusterers.AbstractClusterer
-
- moa.clusterers.outliers.MyBaseOutlierDetector
-
- moa.clusterers.outliers.MCOD.MCODBase
-
- All Implemented Interfaces:
Configurable
,Serializable
,Clusterer
,AWTRenderable
,MOAObject
,OptionHandler
- Direct Known Subclasses:
MCOD
public abstract class MCODBase extends MyBaseOutlierDetector
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
MCODBase.EventItem
protected static class
MCODBase.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 MCODBase.EventQueue
eventQueue
protected static Long
FIRST_OBJ_ID
protected ISBIndex
ISB_PD
protected int
m_k
int
m_nBothInlierOutlier
int
m_nOnlyInlier
int
m_nOnlyOutlier
protected double
m_radius
protected double
m_theta
protected int
m_WindowSize
protected moa.clusterers.outliers.MCOD.MTreeMicroClusters
mtreeMC
protected TreeSet<ISBIndex.ISBNode>
nodesReinsert
protected Long
objId
protected TreeSet<MicroCluster>
setMC
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 MCODBase()
-
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
PrintMCSet(Set<MicroCluster> set)
void
PrintNodeList(List<ISBIndex.ISBNode> list)
void
PrintNodeSet(Set<ISBIndex.ISBNode> set)
void
PrintNodeVector(Vector<ISBIndex.ISBNode> vector)
void
PrintPD()
-
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 MCODBase.EventQueue eventQueue
-
mtreeMC
protected moa.clusterers.outliers.MCOD.MTreeMicroClusters mtreeMC
-
setMC
protected TreeSet<MicroCluster> setMC
-
nodesReinsert
protected TreeSet<ISBIndex.ISBNode> nodesReinsert
-
ISB_PD
protected ISBIndex ISB_PD
-
m_WindowSize
protected int m_WindowSize
-
m_radius
protected double m_radius
-
m_k
protected int m_k
-
m_theta
protected double m_theta
-
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)
-
PrintMCSet
public void PrintMCSet(Set<MicroCluster> set)
-
PrintNodeVector
public void PrintNodeVector(Vector<ISBIndex.ISBNode> vector)
-
PrintNodeList
public void PrintNodeList(List<ISBIndex.ISBNode> list)
-
PrintEventQueue
public void PrintEventQueue()
-
PrintPD
public void PrintPD()
-
-