Class AbstractCBase
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.options.AbstractOptionHandler
-
- moa.clusterers.AbstractClusterer
-
- moa.clusterers.outliers.MyBaseOutlierDetector
-
- moa.clusterers.outliers.AbstractC.AbstractCBase
-
- All Implemented Interfaces:
Configurable
,Serializable
,Clusterer
,AWTRenderable
,MOAObject
,OptionHandler
- Direct Known Subclasses:
AbstractC
public abstract class AbstractCBase extends MyBaseOutlierDetector
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
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 protected boolean
bWarning
protected static Long
FIRST_OBJ_ID
protected ISBIndex
ISB
protected double
m_Fraction
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 AbstractCBase()
-
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
Print_lt_cnt(ArrayList<Integer> lt_cnt)
-
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
-
ISB
protected ISBIndex ISB
-
m_WindowSize
protected int m_WindowSize
-
m_radius
protected double m_radius
-
m_Fraction
protected double m_Fraction
-
bWarning
protected 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
-
-