public class CompositeLogLikelihood extends AbstractMathematicalFunctionWrapper
parameterBounds| Constructor and Description |
|---|
CompositeLogLikelihood(IndividualLogLikelihood innerLogLikelihoodFunction,
Matrix xValues,
Matrix yValues) |
| Modifier and Type | Method and Description |
|---|---|
Matrix |
getBeta()
This method returns the vector of parameters.
|
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.
|
IndividualLogLikelihood |
getOriginalFunction()
This method returns the original function.
|
Matrix |
getPredictions()
This method returns all the predicted values.
|
java.lang.Double |
getValue()
This method provides the result of the function evaluation.
|
void |
setBeta(Matrix beta)
This method sets the vector of parameters.
|
protected void |
setValuesInLikelihoodFunction(int index) |
getNumberOfParameters, getNumberOfVariables, getParameterValue, getVariableValue, setBounds, setParameterValue, setVariableValue, setXpublic CompositeLogLikelihood(IndividualLogLikelihood innerLogLikelihoodFunction, Matrix xValues, Matrix yValues)
public IndividualLogLikelihood getOriginalFunction()
AbstractMathematicalFunctionWrappergetOriginalFunction in class AbstractMathematicalFunctionWrapperpublic 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 AbstractMathematicalFunctionWrapperprotected void setValuesInLikelihoodFunction(int index)
public Matrix getPredictions()
public void setBeta(Matrix beta)
AbstractMathematicalFunctionsetBeta in class AbstractMathematicalFunctionWrapperbeta - a Matrix instancepublic Matrix getBeta()
AbstractMathematicalFunctiongetBeta in class AbstractMathematicalFunctionWrapper