hex
Class DGLM

java.lang.Object
  extended by hex.DGLM

public abstract class DGLM
extends java.lang.Object


Nested Class Summary
static class DGLM.CaseMode
           
static class DGLM.Family
           
static class DGLM.FamilyIced
          passthrough class around family that properly supports icing
static class DGLM.GLMException
           
static class DGLM.GLMJob
           
static class DGLM.GLMModel
           
static class DGLM.GLMParams
           
static class DGLM.GLMValidation
           
static class DGLM.GLMValidationFunc
           
static class DGLM.GramMatrixFunc
           
static class DGLM.LambdaMax
           
static class DGLM.LambdaMaxFunc
           
static class DGLM.Link
           
static class DGLM.LinkIced
          passthrough class around Link that supports Icing
 
Field Summary
static double DEFAULT_BETA_EPS
           
static int DEFAULT_MAX_ITER
           
static java.text.DecimalFormat dformat
           
 
Constructor Summary
DGLM()
           
 
Method Summary
static DGLM.GLMModel buildModel(Job job, Key resKey, NewRowVecTask.DataFrame data, DLSM.LSMSolver lsm, DGLM.GLMParams params, double[] oldBeta, int xval, boolean parallel)
           
static NewRowVecTask.DataFrame getData(ValueArray ary, int[] xs, int y, RowVecTask.Sampling s, boolean standardize)
           
static NewRowVecTask.DataFrame getData(ValueArray ary, int[] colIds, RowVecTask.Sampling s, boolean standardize)
           
abstract  DGLM.GLMModel solve(DGLM.GLMModel model, ValueArray ary)
           
static DGLM.GLMJob startGLMJob(Key dest, NewRowVecTask.DataFrame data, DLSM.LSMSolver lsm, DGLM.GLMParams params, double[] betaStart, int xval, boolean parallel)
           
static DGLM.GLMJob startGLMJob(NewRowVecTask.DataFrame data, DLSM.LSMSolver lsm, DGLM.GLMParams params, double[] betaStart, int xval, boolean parallel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MAX_ITER

public static final int DEFAULT_MAX_ITER
See Also:
Constant Field Values

DEFAULT_BETA_EPS

public static final double DEFAULT_BETA_EPS
See Also:
Constant Field Values

dformat

public static final java.text.DecimalFormat dformat
Constructor Detail

DGLM

public DGLM()
Method Detail

solve

public abstract DGLM.GLMModel solve(DGLM.GLMModel model,
                                    ValueArray ary)

getData

public static NewRowVecTask.DataFrame getData(ValueArray ary,
                                              int[] xs,
                                              int y,
                                              RowVecTask.Sampling s,
                                              boolean standardize)

getData

public static NewRowVecTask.DataFrame getData(ValueArray ary,
                                              int[] colIds,
                                              RowVecTask.Sampling s,
                                              boolean standardize)

startGLMJob

public static DGLM.GLMJob startGLMJob(NewRowVecTask.DataFrame data,
                                      DLSM.LSMSolver lsm,
                                      DGLM.GLMParams params,
                                      double[] betaStart,
                                      int xval,
                                      boolean parallel)

startGLMJob

public static DGLM.GLMJob startGLMJob(Key dest,
                                      NewRowVecTask.DataFrame data,
                                      DLSM.LSMSolver lsm,
                                      DGLM.GLMParams params,
                                      double[] betaStart,
                                      int xval,
                                      boolean parallel)

buildModel

public static DGLM.GLMModel buildModel(Job job,
                                       Key resKey,
                                       NewRowVecTask.DataFrame data,
                                       DLSM.LSMSolver lsm,
                                       DGLM.GLMParams params,
                                       double[] oldBeta,
                                       int xval,
                                       boolean parallel)
                                throws NewRowVecTask.JobCancelledException
Throws:
NewRowVecTask.JobCancelledException