org.apache.mahout.classifier.sgd
Class AdaptiveLogisticRegression.TrainingExample
java.lang.Object
org.apache.mahout.classifier.sgd.AdaptiveLogisticRegression.TrainingExample
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
- Enclosing class:
- AdaptiveLogisticRegression
public static class AdaptiveLogisticRegression.TrainingExample
- extends Object
- implements org.apache.hadoop.io.Writable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdaptiveLogisticRegression.TrainingExample
public AdaptiveLogisticRegression.TrainingExample(long key,
String groupKey,
int actual,
Vector instance)
getKey
public long getKey()
getActual
public int getActual()
getInstance
public Vector getInstance()
getGroupKey
public String getGroupKey()
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.