public class GLMValidation extends Iced
Modifier and Type | Class and Description |
---|---|
static class |
GLMValidation.GLMXValidation |
Modifier and Type | Field and Description |
---|---|
static DocGen.FieldDoc[] |
DOC_FIELDS |
float[] |
thresholds |
Constructor and Description |
---|
GLMValidation(Key dataKey,
GLMParams glm,
int rank) |
GLMValidation(Key dataKey,
GLMParams glm,
int rank,
float[] thresholds) |
Modifier and Type | Method and Description |
---|---|
void |
add(double yreal,
double ymodel) |
void |
add(GLMValidation v) |
double |
aic() |
double |
auc() |
protected void |
computeAIC() |
protected void |
computeAUC() |
static Key |
makeKey() |
double |
nullDeviance() |
long |
resDOF() |
double |
residualDeviance() |
java.lang.String |
toString() |
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
public static DocGen.FieldDoc[] DOC_FIELDS
@Request.API(help="Decision thresholds used to generare confuion matrices, AUC and to find the best thresholds based on user criteria") public final float[] thresholds
public static Key makeKey()
public void add(double yreal, double ymodel)
public void add(GLMValidation v)
public final double residualDeviance()
public final double nullDeviance()
public final long resDOF()
public double auc()
public double aic()
protected void computeAIC()
protected void computeAUC()
public java.lang.String toString()
toString
in class java.lang.Object