MOA 12.03
Real Time Analytics for Data Streams
moa.clusterers.denstream.MicroCluster Class Reference
Inheritance diagram for moa.clusterers.denstream.MicroCluster:
Collaboration diagram for moa.clusterers.denstream.MicroCluster:

List of all members.

Public Member Functions

 MicroCluster (double[] center, int dimensions, long creationTimestamp, double lambda, Timestamp currentTimestamp)
 MicroCluster (Instance instance, int dimensions, long timestamp, double lambda, Timestamp currentTimestamp)
void insert (Instance instance, long timestamp)
long getLastEditTimestamp ()
double getWeight ()
 See interface Cluster
long getCreationTime ()
double[] getCenter ()
double getRadius ()
 See interface Cluster
double getRadius (long timestamp)
MicroCluster copy ()
 This method produces a copy of this object.
double getInclusionProbability (Instance instance)
 Returns the probability of the given point belonging to this cluster.
CFCluster getCF ()

Detailed Description

Definition at line 26 of file MicroCluster.java.


Constructor & Destructor Documentation

moa.clusterers.denstream.MicroCluster.MicroCluster ( double[]  center,
int  dimensions,
long  creationTimestamp,
double  lambda,
Timestamp  currentTimestamp 
)

Definition at line 33 of file MicroCluster.java.

Referenced by moa.clusterers.denstream.MicroCluster.copy().

Here is the caller graph for this function:

moa.clusterers.denstream.MicroCluster.MicroCluster ( Instance  instance,
int  dimensions,
long  timestamp,
double  lambda,
Timestamp  currentTimestamp 
)

Definition at line 41 of file MicroCluster.java.


Member Function Documentation

MicroCluster moa.clusterers.denstream.MicroCluster.copy ( )

This method produces a copy of this object.

Returns:
a copy of this object

Reimplemented from moa.AbstractMOAObject.

Definition at line 132 of file MicroCluster.java.

Referenced by moa.clusterers.denstream.MicroCluster.getCF(), and moa.clusterers.denstream.DenStream.trainOnInstanceImpl().

Here is the call graph for this function:

Here is the caller graph for this function:

double [] moa.clusterers.denstream.MicroCluster.getCenter ( ) [virtual]
Returns:
this kernels' center

Reimplemented from moa.cluster.CFCluster.

Definition at line 91 of file MicroCluster.java.

Here is the call graph for this function:

CFCluster moa.clusterers.denstream.MicroCluster.getCF ( ) [virtual]

Implements moa.cluster.CFCluster.

Definition at line 151 of file MicroCluster.java.

Here is the call graph for this function:

long moa.clusterers.denstream.MicroCluster.getCreationTime ( )

Definition at line 86 of file MicroCluster.java.

Referenced by moa.clusterers.denstream.MicroCluster.copy().

Here is the caller graph for this function:

double moa.clusterers.denstream.MicroCluster.getInclusionProbability ( Instance  instance) [virtual]

Returns the probability of the given point belonging to this cluster.

Parameters:
point
Returns:
a value between 0 and 1

Implements moa.cluster.CFCluster.

Definition at line 143 of file MicroCluster.java.

Here is the call graph for this function:

long moa.clusterers.denstream.MicroCluster.getLastEditTimestamp ( )

Definition at line 56 of file MicroCluster.java.

double moa.clusterers.denstream.MicroCluster.getRadius ( long  timestamp)

Definition at line 112 of file MicroCluster.java.

Here is the call graph for this function:

double moa.clusterers.denstream.MicroCluster.getRadius ( ) [virtual]

See interface Cluster

Returns:
The radius of the cluster.

Implements moa.cluster.CFCluster.

Definition at line 108 of file MicroCluster.java.

Referenced by moa.clusterers.denstream.MicroCluster.getInclusionProbability(), and moa.clusterers.denstream.DenStream.trainOnInstanceImpl().

Here is the call graph for this function:

Here is the caller graph for this function:

double moa.clusterers.denstream.MicroCluster.getWeight ( ) [virtual]

See interface Cluster

Returns:
The weight.
See also:
Cluster.getWeight()

Reimplemented from moa.cluster.CFCluster.

Definition at line 77 of file MicroCluster.java.

Referenced by moa.clusterers.denstream.MicroCluster.getCF(), moa.clusterers.denstream.MicroCluster.getRadius(), and moa.clusterers.denstream.DenStream.trainOnInstanceImpl().

Here is the call graph for this function:

Here is the caller graph for this function:

void moa.clusterers.denstream.MicroCluster.insert ( Instance  instance,
long  timestamp 
)

Definition at line 45 of file MicroCluster.java.

Referenced by moa.clusterers.denstream.DenStream.trainOnInstanceImpl().

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations