Click or drag to resize

TrustRegionParameterCalcCalculateParameters Method

Calculate the parameters for the logistic model.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleVector CalculateParameters(
	DoubleMatrix X,
	DoubleVector observations
)

Parameters

X  DoubleMatrix
Matrix of subject data. Rows correspond to subjects.
observations  DoubleVector
Vector of zeros and ones containing the observed values of the outcomes. A zero entry indicates a negative outcome and a one indicates a positive outcome.

Return Value

DoubleVector
The calculated model parameters.

Implements

ILogisticRegressionCalcCalculateParameters(DoubleMatrix, DoubleVector)
See Also