public static class AdaptiveLogisticRegression.TrainingExample extends Object implements org.apache.hadoop.io.Writable
Constructor and Description |
---|
TrainingExample(long key,
String groupKey,
int actual,
Vector instance) |
Modifier and Type | Method and Description |
---|---|
int |
getActual() |
String |
getGroupKey() |
Vector |
getInstance() |
long |
getKey() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
public long getKey()
public int getActual()
public Vector getInstance()
public String getGroupKey()
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.