public class LeastSquareWithPenaltyResults extends LeastSquareResults
NonLinearLeastSquareWithPenalty.| Constructor and Description |
|---|
LeastSquareWithPenaltyResults(double chiSqr,
double penalty,
DoubleArray parameters,
DoubleMatrix covariance)
Holder for the results of minimising $\sum_{i=1}^N (y_i - f_i(\mathbf{x}))^2 + \mathbf{x}^T\mathbf{P}\mathbf{x}$
WRT $\mathbf{x}$ (the vector of model parameters).
|
LeastSquareWithPenaltyResults(double chiSqr,
double penalty,
DoubleArray parameters,
DoubleMatrix covariance,
DoubleMatrix inverseJacobian)
Holder for the results of minimising $\sum_{i=1}^N (y_i - f_i(\mathbf{x}))^2 + \mathbf{x}^T\mathbf{P}\mathbf{x}$
WRT $\mathbf{x}$ (the vector of model parameters).
|
| Modifier and Type | Method and Description |
|---|---|
double |
getPenalty()
Gets the value of the penalty.
|
equals, getChiSq, getCovariance, getFitParameters, getFittingParameterSensitivityToData, hashCode, toStringpublic LeastSquareWithPenaltyResults(double chiSqr,
double penalty,
DoubleArray parameters,
DoubleMatrix covariance)
chiSqr - The value of the first term (the chi-squared)- the sum of squares
between the 'observed' values $y_i$ and the model values $f_i(\mathbf{x})$penalty - The value of the second term (the penalty)parameters - The value of $\mathbf{x}$covariance - The covariance matrix for $\mathbf{x}$public LeastSquareWithPenaltyResults(double chiSqr,
double penalty,
DoubleArray parameters,
DoubleMatrix covariance,
DoubleMatrix inverseJacobian)
chiSqr - The value of the first term (the chi-squared)- the sum of squares between the
'observed' values $y_i$ and the model values $f_i(\mathbf{x})$penalty - The value of the second term (the penalty)parameters - The value of $\mathbf{x}$covariance - The covariance matrix for $\mathbf{x}$inverseJacobian - The inverse Jacobian - this is the sensitivities of the model parameters to the 'observed' valuesCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.