|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.data.model.BaseModel de.lmu.ifi.dbs.elki.data.model.MeanModel<V> de.lmu.ifi.dbs.elki.data.model.SubspaceModel<V>
V
- the type of FeatureVector the subspace containspublic class SubspaceModel<V extends FeatureVector<V,?>>
Model for Subspace Clusters.
Field Summary | |
---|---|
private Subspace<V> |
subspace
The subspace of the cluster. |
Constructor Summary | |
---|---|
SubspaceModel(Subspace<V> subspace,
V mean)
Creates a new SubspaceModel for the specified subspace with the given cluster mean. |
Method Summary | |
---|---|
BitSet |
getDimensions()
Returns the BitSet that represents the dimensions of the subspace of this SubspaceModel. |
Subspace<V> |
getSubspace()
Returns the subspace of this SubspaceModel. |
void |
writeToText(TextWriterStream out,
String label)
Implementation of TextWriteable interface. |
Methods inherited from class de.lmu.ifi.dbs.elki.data.model.MeanModel |
---|
getMean, setMean |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Subspace<V extends FeatureVector<V,?>> subspace
Constructor Detail |
---|
public SubspaceModel(Subspace<V> subspace, V mean)
subspace
- the subspace of the clustermean
- the cluster meanMethod Detail |
---|
public Subspace<V> getSubspace()
public BitSet getDimensions()
public void writeToText(TextWriterStream out, String label)
TextWriteable
interface.
writeToText
in interface TextWriteable
writeToText
in class MeanModel<V extends FeatureVector<V,?>>
out
- Output steamlabel
- Optional label to prefix
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |