public class CorrelationModel extends SimplePrototypeModel<double[]>
Modifier and Type | Field and Description |
---|---|
private PCAFilteredResult |
pcaresult
The computed PCA result of this cluster.
|
prototype
Constructor and Description |
---|
CorrelationModel(PCAFilteredResult pcaresult,
double[] centroid)
Constructor
|
Modifier and Type | Method and Description |
---|---|
PCAFilteredResult |
getPCAResult()
Get assigned PCA result
|
void |
setPCAResult(PCAFilteredResult pcaresult)
Assign new PCA result
|
void |
writeToText(TextWriterStream out,
java.lang.String label)
Implementation of
TextWriteable interface |
getPrototype, getPrototypeType, prototypeToString, toString
private PCAFilteredResult pcaresult
public CorrelationModel(PCAFilteredResult pcaresult, double[] centroid)
pcaresult
- PCA resultcentroid
- Centroidpublic PCAFilteredResult getPCAResult()
public void setPCAResult(PCAFilteredResult pcaresult)
pcaresult
- PCA resultpublic void writeToText(TextWriterStream out, java.lang.String label)
TextWriteable
interfacewriteToText
in interface Model
writeToText
in interface PrototypeModel<double[]>
writeToText
in interface TextWriteable
writeToText
in class SimplePrototypeModel<double[]>
label
- unused parameterout
- Output steamCopyright © 2019 ELKI Development Team. License information.