Click or drag to resize

LogisticRegressionParameterCalcPredictedProbabilities(DoubleMatrix) Method

Returns a vector of predicted probabilities of a positive outcome for the predictor variable values contained in the rows of the input matrix A.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleVector PredictedProbabilities(
	DoubleMatrix A
)

Parameters

A  DoubleMatrix
A matrix of predictor values. Each row of A is a set of predictor values.

Return Value

DoubleVector
A vector of predicted probabilities of a positive outcome. The ith element of the vector is the predicted probability for the set of predictor values in the ith row of the input matrix A.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the number of columns in the given matrix is not equal to the number of parameters in the model.
See Also