public static class GLMModel.GLMWeightsFun
extends water.Iced
Modifier and Type | Field and Description |
---|---|
GLMModel.GLMParameters.Family |
_family |
Constructor and Description |
---|
GLMWeightsFun(GLMModel.GLMParameters.Family fam,
GLMModel.GLMParameters.Link link,
double var_power,
double link_power,
double theta,
double dispersion,
boolean varPowerEstimation) |
GLMWeightsFun(GLMModel.GLMParameters parms) |
Modifier and Type | Method and Description |
---|---|
GLMModel.GLMWeights |
computeWeights(double y,
double eta,
double off,
double w,
GLMModel.GLMWeights x) |
double |
deviance(double yr,
double ym) |
double |
deviance(float yr,
float ym) |
double |
likelihood(double yr,
double ym) |
double |
likelihood(double w,
double yr,
double ym) |
void |
likelihoodAndDeviance(double yr,
GLMModel.GLMWeights x,
double w) |
double |
link(double x)
Given the estimated model output x, we want to find the linear part which is transpose(beta)*p+intercept if
beta does not contain the intercept.
|
double |
linkDeriv(double x) |
double |
linkInv(double x)
Given the linear combination transpose(beta)*p+intercept (if
beta does not contain the intercept), this method will provide the estimated model output.
|
double |
linkInvDeriv(double x) |
double |
linkInvDeriv2(double x) |
double |
variance(double mu) |
public final GLMModel.GLMParameters.Family _family
public GLMWeightsFun(GLMModel.GLMParameters parms)
public GLMWeightsFun(GLMModel.GLMParameters.Family fam, GLMModel.GLMParameters.Link link, double var_power, double link_power, double theta, double dispersion, boolean varPowerEstimation)
public final double link(double x)
public final double linkInvDeriv(double x)
public final double linkInvDeriv2(double x)
public final double linkDeriv(double x)
public final double linkInv(double x)
public final double variance(double mu)
public final double deviance(double yr, double ym)
public final double deviance(float yr, float ym)
public final void likelihoodAndDeviance(double yr, GLMModel.GLMWeights x, double w)
public final double likelihood(double w, double yr, double ym)
public final double likelihood(double yr, double ym)
public GLMModel.GLMWeights computeWeights(double y, double eta, double off, double w, GLMModel.GLMWeights x)