hex.glm
Class GLMParams

java.lang.Object
  extended by water.Iced
      extended by hex.glm.GLMParams
All Implemented Interfaces:
java.lang.Cloneable, Freezable

public class GLMParams
extends Iced


Nested Class Summary
static class GLMParams.CaseMode
           
static class GLMParams.Family
           
static class GLMParams.Link
           
 
Field Summary
static DocGen.FieldDoc[] DOC_FIELDS
           
 
Constructor Summary
GLMParams(GLMParams.Family f, double twVar, GLMParams.Link l, double twLnk)
           
 
Method Summary
 boolean canonical()
           
 double deviance(double yr, double ym)
           
 double link(double x)
           
 double linkDeriv(double x)
           
 double linkInv(double x)
           
 double linkInvDeriv(double x)
           
 double mustart(double y, double ymu)
           
 double variance(double mu)
           
 
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

DOC_FIELDS

public static DocGen.FieldDoc[] DOC_FIELDS
Constructor Detail

GLMParams

public GLMParams(GLMParams.Family f,
                 double twVar,
                 GLMParams.Link l,
                 double twLnk)
Method Detail

variance

public final double variance(double mu)

canonical

public final boolean canonical()

mustart

public final double mustart(double y,
                            double ymu)

deviance

public final double deviance(double yr,
                             double ym)

link

public final double link(double x)

linkDeriv

public final double linkDeriv(double x)

linkInv

public final double linkInv(double x)

linkInvDeriv

public final double linkInvDeriv(double x)