public class LikelihoodGLM extends IndividualLikelihood
| Modifier and Type | Field and Description |
|---|---|
protected LinkFunction |
linkFunction |
observedValuesparameterBounds| Constructor and Description |
|---|
LikelihoodGLM(LinkFunction linkFunction) |
| Modifier and Type | Method and Description |
|---|---|
Matrix |
getGradient()
This method returns a vector that contains the first derivatives of the function with respect to its parameters.
|
Matrix |
getHessian()
This method returns a matrix that contains the second derivatives of the function with respect to its parameters.
|
Matrix |
getPredictionVector()
This method returns the prediction associated with the observation.
|
java.lang.Double |
getValue()
This method provides the result of the function evaluation.
|
getYVector, setYVectorgetBeta, getNumberOfParameters, getNumberOfVariables, getOriginalFunction, getParameterValue, getVariableValue, setBeta, setBounds, setParameterValue, setVariableValue, setXprotected final LinkFunction linkFunction
public LikelihoodGLM(LinkFunction linkFunction)
public Matrix getPredictionVector()
LikelihoodCompatiblegetPredictionVector in interface LikelihoodCompatiblegetPredictionVector in class IndividualLikelihoodpublic java.lang.Double getValue()
EvaluableFunctiongetValue in interface EvaluableFunction<java.lang.Double>getValue in class AbstractMathematicalFunctionWrapperpublic Matrix getGradient()
DerivableMathematicalFunctiongetGradient in interface DerivableMathematicalFunctiongetGradient in class AbstractMathematicalFunctionWrapperpublic Matrix getHessian()
DerivableMathematicalFunctiongetHessian in interface DerivableMathematicalFunctiongetHessian in class AbstractMathematicalFunctionWrapper