V
- Vector typepublic class MeanModel<V extends FeatureVector<V,?>> extends BaseModel implements TextWriteable
Constructor and Description |
---|
MeanModel(V mean)
Constructor with mean
|
Modifier and Type | Method and Description |
---|---|
V |
getMean() |
void |
setMean(V mean) |
void |
writeToText(TextWriterStream out,
String label)
Implementation of
TextWriteable interface. |
private V extends FeatureVector<V,?> mean
public MeanModel(V mean)
mean
- Cluster meanpublic V getMean()
public void setMean(V mean)
mean
- Mean vectorpublic void writeToText(TextWriterStream out, String label)
TextWriteable
interface.writeToText
in interface TextWriteable
writeToText
in class BaseModel
out
- Output steamlabel
- Optional label to prefix