public class LikelihoodGLM extends IndividualLikelihood
Modifier and Type | Field and Description |
---|---|
protected LinkFunction |
linkFunction |
observedValues
parameterBounds
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, setYVector
getBeta, getNumberOfParameters, getNumberOfVariables, getOriginalFunction, getParameterValue, getVariableValue, setBeta, setBounds, setParameterValue, setVariableValue, setX
protected final LinkFunction linkFunction
public LikelihoodGLM(LinkFunction linkFunction)
public Matrix getPredictionVector()
LikelihoodCompatible
getPredictionVector
in interface LikelihoodCompatible
getPredictionVector
in class IndividualLikelihood
public java.lang.Double getValue()
EvaluableFunction
getValue
in interface EvaluableFunction<java.lang.Double>
getValue
in class AbstractMathematicalFunctionWrapper
public Matrix getGradient()
DerivableMathematicalFunction
getGradient
in interface DerivableMathematicalFunction
getGradient
in class AbstractMathematicalFunctionWrapper
public Matrix getHessian()
DerivableMathematicalFunction
getHessian
in interface DerivableMathematicalFunction
getHessian
in class AbstractMathematicalFunctionWrapper