MOA 12.03
Real Time Analytics for Data Streams
|
Abstract MOA Object. More...
Public Member Functions | |
MOAObject | copy () |
This method produces a copy of this object. | |
int | measureByteSize () |
Gets the memory size of this object. | |
String | toString () |
Returns a description of the object. | |
Static Public Member Functions | |
static MOAObject | copy (MOAObject obj) |
This method produces a copy of an object. | |
static int | measureByteSize (MOAObject obj) |
Gets the memory size of an object. |
Abstract MOA Object.
All classes that are serializable, copiable, can measure its size, and can give a description, extend this class.
Definition at line 32 of file AbstractMOAObject.java.
MOAObject moa.AbstractMOAObject.copy | ( | ) |
This method produces a copy of this object.
Implements moa.MOAObject.
Reimplemented in moa.classifiers.AbstractClassifier, moa.classifiers.core.driftdetection.DDM, moa.classifiers.core.driftdetection.EDDM, moa.clusterers.AbstractClusterer, moa.clusterers.denstream.MicroCluster, moa.options.AbstractOption, and moa.options.AbstractOptionHandler.
Definition at line 35 of file AbstractMOAObject.java.
Referenced by moa.core.AutoExpandVector< T >.copy(), moa.tasks.EvaluatePrequential.doMainTask(), moa.tasks.EvaluatePeriodicHeldOutTest.doMainTask(), moa.tasks.EvaluateInterleavedTestThenTrain.doMainTask(), moa.tasks.EvaluateInterleavedChunks.doMainTask(), moa.clusterers.KMeans.gaussianMeans(), and moa.cluster.SphereCluster.getCenter().
This method produces a copy of an object.
obj | object to copy |
Definition at line 62 of file AbstractMOAObject.java.
int moa.AbstractMOAObject.measureByteSize | ( | ) |
Gets the memory size of this object.
Implements moa.MOAObject.
Reimplemented in moa.classifiers.trees.HoeffdingOptionTree, and moa.classifiers.trees.HoeffdingTree.
Definition at line 40 of file AbstractMOAObject.java.
Referenced by moa.clusterers.AbstractClusterer.getModelMeasurements(), moa.classifiers.AbstractClassifier.getModelMeasurements(), and moa.core.AutoExpandVector< T >.measureByteSize().
static int moa.AbstractMOAObject.measureByteSize | ( | MOAObject | obj | ) | [static] |
Gets the memory size of an object.
obj | object to measure the memory size |
Definition at line 76 of file AbstractMOAObject.java.
String moa.AbstractMOAObject.toString | ( | ) |
Returns a description of the object.
Reimplemented in moa.classifiers.functions.SGD, and moa.classifiers.functions.SPegasos.
Definition at line 50 of file AbstractMOAObject.java.
Referenced by moa.core.Measurement.getMeasurementsDescription().