Package moa.evaluation
Class CMM_GTAnalysis.CMMPoint
- java.lang.Object
-
- com.yahoo.labs.samoa.instances.InstanceImpl
-
- com.yahoo.labs.samoa.instances.DenseInstance
-
- moa.gui.visualization.DataPoint
-
- moa.evaluation.CMM_GTAnalysis.CMMPoint
-
- All Implemented Interfaces:
Instance
,MultiLabelInstance
,Serializable
- Enclosing class:
- CMM_GTAnalysis
protected class CMM_GTAnalysis.CMMPoint extends DataPoint
Wrapper class for data points to store CMM relevant attributes- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected double
connectivity
the connectivity of the point to its clusterprotected double
knnInCluster
knn distnace within own clusterprotected ArrayList<Integer>
knnIndices
knn indices (for debugging only)protected DataPoint
p
Reference to original pointprotected int
pID
point IDprotected int
trueClass
true class label-
Fields inherited from class moa.gui.visualization.DataPoint
noiseLabel, timestamp
-
Fields inherited from class com.yahoo.labs.samoa.instances.InstanceImpl
instanceData, instanceHeader, weight
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
workclass()
Retruns the current working label of the cluster the point belongs to.-
Methods inherited from class moa.gui.visualization.DataPoint
getDistance, getInfo, getMeasureValue, getNoiseLabel, getTimestamp, isNoise, setMeasureValue, setMeasureValue, updateWeight
-
Methods inherited from class com.yahoo.labs.samoa.instances.InstanceImpl
addSparseValues, attribute, classAttribute, classIndex, classIsMissing, classValue, classValue, copy, dataset, deleteAttributeAt, index, indexOfAttribute, inputAttribute, insertAttributeAt, isMissing, isMissing, isMissingSparse, numAttributes, numberOutputTargets, numClasses, numInputAttributes, numOutputAttributes, numValues, outputAttribute, setClassValue, setClassValue, setDataset, setMissing, setMissing, setValue, setValue, setWeight, stringValue, toDoubleArray, toString, value, value, valueInputAttribute, valueOutputAttribute, valueSparse, weight
-
-
-
-
Field Detail
-
p
protected DataPoint p
Reference to original point
-
pID
protected int pID
point ID
-
trueClass
protected int trueClass
true class label
-
connectivity
protected double connectivity
the connectivity of the point to its cluster
-
knnInCluster
protected double knnInCluster
knn distnace within own cluster
-
-
Constructor Detail
-
CMMPoint
public CMMPoint(DataPoint point, int id)
-
-