| Modifier and Type | Field and Description |
|---|---|
static int |
CONTENT_ARRAY |
static int |
CONTENT_ATABLE |
| Constructor and Description |
|---|
PartialCountContainer() |
PartialCountContainer(org.apache.hadoop.io.Writable content) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
org.apache.hadoop.io.Writable |
getContent() |
int |
getType() |
void |
normalize(boolean variationalBayes,
float alpha)
TODO: atable normalization currently doesn't support
VB or an alpha parameter.
|
void |
plusEquals(PartialCountContainer rhs) |
void |
readFields(DataInput in) |
void |
setContent(org.apache.hadoop.io.Writable content) |
String |
toString() |
void |
write(DataOutput out) |
public static final int CONTENT_ATABLE
public static final int CONTENT_ARRAY
public PartialCountContainer()
public PartialCountContainer(org.apache.hadoop.io.Writable content)
public void setContent(org.apache.hadoop.io.Writable content)
public org.apache.hadoop.io.Writable getContent()
public int getType()
public void plusEquals(PartialCountContainer rhs)
public void normalize(boolean variationalBayes,
float alpha)
variationalBayes - alpha - public void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2015. All rights reserved.