public class SubspaceModel extends MeanModel implements TextWriteable
Modifier and Type | Field and Description |
---|---|
private Subspace |
subspace
The subspace of the cluster.
|
prototype
Constructor and Description |
---|
SubspaceModel(Subspace subspace,
Vector mean)
Creates a new SubspaceModel for the specified subspace with the given
cluster mean.
|
Modifier and Type | Method and Description |
---|---|
long[] |
getDimensions()
Returns the BitSet that represents the dimensions of the subspace of this
SubspaceModel.
|
Subspace |
getSubspace()
Returns the subspace of this SubspaceModel.
|
void |
writeToText(TextWriterStream out,
String label)
Implementation of
TextWriteable interface. |
getMean, getPrototypeType
getPrototype
private final Subspace subspace
public Subspace getSubspace()
public long[] getDimensions()
public void writeToText(TextWriterStream out, String label)
PrototypeModel
TextWriteable
interface.writeToText
in interface TextWriteable
writeToText
in class PrototypeModel<Vector>
out
- Output steamlabel
- Optional label to prefixCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.