public abstract class IndividualLikelihood extends AbstractMathematicalFunctionWrapper implements LikelihoodCompatible
Modifier and Type | Field and Description |
---|---|
protected Matrix |
observedValues |
parameterBounds
Modifier | Constructor and Description |
---|---|
protected |
IndividualLikelihood(AbstractMathematicalFunction originalFunction) |
Modifier and Type | Method and Description |
---|---|
abstract Matrix |
getPredictionVector()
This method returns the prediction associated with the observation.
|
Matrix |
getYVector()
This method returns the vector of observed values.
|
void |
setYVector(Matrix yVector)
This method sets the vector of observed values.
|
getBeta, getGradient, getHessian, getNumberOfParameters, getNumberOfVariables, getOriginalFunction, getParameterValue, getValue, getVariableValue, setBeta, setBounds, setParameterValue, setVariableValue, setX
protected Matrix observedValues
protected IndividualLikelihood(AbstractMathematicalFunction originalFunction)
public void setYVector(Matrix yVector)
LikelihoodCompatible
setYVector
in interface LikelihoodCompatible
yVector
- a row vector (Matrix instance)public Matrix getYVector()
LikelihoodCompatible
getYVector
in interface LikelihoodCompatible
public abstract Matrix getPredictionVector()
LikelihoodCompatible
getPredictionVector
in interface LikelihoodCompatible