hex
Class NewRowVecTask.RowFunc<T extends Iced>

java.lang.Object
  extended by water.Iced
      extended by hex.NewRowVecTask.RowFunc<T>
All Implemented Interfaces:
java.lang.Cloneable, Freezable
Direct Known Subclasses:
DGLM.GLMValidationFunc, DGLM.GramMatrixFunc, DGLM.LambdaMaxFunc
Enclosing class:
NewRowVecTask<T extends Iced>

public abstract static class NewRowVecTask.RowFunc<T extends Iced>
extends Iced


Field Summary
protected  boolean _expandCats
           
protected  boolean _standardize
           
static com.google.common.collect.BiMap<java.lang.Class<? extends NewRowVecTask.RowFunc>,java.lang.Integer> TYPE
           
 
Constructor Summary
NewRowVecTask.RowFunc()
           
 
Method Summary
 T apply(Job j, NewRowVecTask.DataFrame data)
           
 long memReq()
           
abstract  T newResult()
           
abstract  void processRow(T res, double[] x, int[] indexes)
           
abstract  T reduce(T x, T y)
           
 T result(T res)
           
 
Methods inherited from class water.Iced
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_expandCats

protected boolean _expandCats

_standardize

protected boolean _standardize

TYPE

public static final com.google.common.collect.BiMap<java.lang.Class<? extends NewRowVecTask.RowFunc>,java.lang.Integer> TYPE
Constructor Detail

NewRowVecTask.RowFunc

public NewRowVecTask.RowFunc()
Method Detail

newResult

public abstract T newResult()

processRow

public abstract void processRow(T res,
                                double[] x,
                                int[] indexes)

memReq

public long memReq()

reduce

public abstract T reduce(T x,
                         T y)

apply

public T apply(Job j,
               NewRowVecTask.DataFrame data)
                     throws NewRowVecTask.JobCancelledException
Throws:
NewRowVecTask.JobCancelledException

result

public T result(T res)