hex.glm
Class GLMValidation
java.lang.Object
water.Iced
hex.glm.GLMValidation
- All Implemented Interfaces:
- java.lang.Cloneable, Freezable
- Direct Known Subclasses:
- GLMValidation.GLMXValidation
public class GLMValidation
- extends Iced
Class for GLMValidation.
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DOC_FIELDS
public static DocGen.FieldDoc[] DOC_FIELDS
GLMValidation
public GLMValidation(Key dataKey,
double ymu,
GLMParams glm,
int rank)
regularize
protected void regularize(double reg)
makeKey
public static Key makeKey()
add
public void add(double yreal,
double ymodel)
add
public void add(GLMValidation v)
nullDeviance
public final double nullDeviance()
residualDeviance
public final double residualDeviance()
nullDOF
public final long nullDOF()
resDOF
public final long resDOF()
auc
public double auc()
aic
public double aic()
computeAIC
protected void computeAIC()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
finalize_AIC_AUC
protected void finalize_AIC_AUC()
computeAUC
protected void computeAUC()
- Computes area under the ROC curve. The ROC curve is computed from the confusion matrices
(there is one for each computed threshold). Area under this curve is then computed as a sum
of areas of trapezoids formed by each neighboring points.
generateHTML
public void generateHTML(java.lang.String title,
java.lang.StringBuilder sb)