hex
Class DGLM.GramMatrixFunc

java.lang.Object
  extended by water.Iced
      extended by hex.NewRowVecTask.RowFunc<hex.DGLM.Gram>
          extended by hex.DGLM.GramMatrixFunc
All Implemented Interfaces:
java.lang.Cloneable, Freezable
Enclosing class:
DGLM

public static class DGLM.GramMatrixFunc
extends NewRowVecTask.RowFunc<hex.DGLM.Gram>


Field Summary
 
Fields inherited from class hex.NewRowVecTask.RowFunc
_expandCats, _standardize, TYPE
 
Constructor Summary
DGLM.GramMatrixFunc(NewRowVecTask.DataFrame data, DGLM.GLMParams glmp, double[] beta)
           
 
Method Summary
 double computeEta(double[] x, int[] indexes)
           
 long memReq()
           
 hex.DGLM.Gram newResult()
           
 void processRow(hex.DGLM.Gram gram, double[] x, int[] indexes)
           
 hex.DGLM.Gram reduce(hex.DGLM.Gram x, hex.DGLM.Gram y)
           
 hex.DGLM.Gram result(hex.DGLM.Gram g)
           
 
Methods inherited from class hex.NewRowVecTask.RowFunc
apply
 
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
 

Constructor Detail

DGLM.GramMatrixFunc

public DGLM.GramMatrixFunc(NewRowVecTask.DataFrame data,
                           DGLM.GLMParams glmp,
                           double[] beta)
Method Detail

newResult

public hex.DGLM.Gram newResult()
Specified by:
newResult in class NewRowVecTask.RowFunc<hex.DGLM.Gram>

memReq

public long memReq()
Overrides:
memReq in class NewRowVecTask.RowFunc<hex.DGLM.Gram>

computeEta

public final double computeEta(double[] x,
                               int[] indexes)

processRow

public final void processRow(hex.DGLM.Gram gram,
                             double[] x,
                             int[] indexes)
Specified by:
processRow in class NewRowVecTask.RowFunc<hex.DGLM.Gram>

reduce

public hex.DGLM.Gram reduce(hex.DGLM.Gram x,
                            hex.DGLM.Gram y)
Specified by:
reduce in class NewRowVecTask.RowFunc<hex.DGLM.Gram>

result

public hex.DGLM.Gram result(hex.DGLM.Gram g)
Overrides:
result in class NewRowVecTask.RowFunc<hex.DGLM.Gram>