V
- Vector typepublic class CorrelationModel<V extends FeatureVector<?>> extends BaseModel implements TextWriteable
Modifier and Type | Field and Description |
---|---|
private V |
centroid
The centroid of this cluster.
|
private PCAFilteredResult |
pcaresult
The computed PCA result of this cluster.
|
Constructor and Description |
---|
CorrelationModel(PCAFilteredResult pcaresult,
V centroid)
Constructor
|
Modifier and Type | Method and Description |
---|---|
V |
getCentroid()
Get assigned for Centroid
|
PCAFilteredResult |
getPCAResult()
Get assigned PCA result
|
void |
setCentroid(V centroid)
Assign new Centroid
|
void |
setPCAResult(PCAFilteredResult pcaresult)
Assign new PCA result
|
void |
writeToText(TextWriterStream out,
String label)
Implementation of
TextWriteable interface |
private PCAFilteredResult pcaresult
private V extends FeatureVector<?> centroid
public CorrelationModel(PCAFilteredResult pcaresult, V centroid)
pcaresult
- PCA resultcentroid
- Centroidpublic PCAFilteredResult getPCAResult()
public void setPCAResult(PCAFilteredResult pcaresult)
pcaresult
- PCA resultpublic V getCentroid()
public void setCentroid(V centroid)
centroid
- Centroidpublic void writeToText(TextWriterStream out, String label)
TextWriteable
interfacewriteToText
in interface TextWriteable
writeToText
in class BaseModel
label
- unused parameterout
- Output steam