 | LogisticRegressionParameterCalcPredictedProbability(DoubleVector) Method |
Returns the probability of a positive outcome predicted by the model for the given
set of predictor values.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic double PredictedProbability(
DoubleVector x
)
Public Function PredictedProbability (
x As DoubleVector
) As Double
public:
double PredictedProbability(
DoubleVector^ x
)
member PredictedProbability :
x : DoubleVector -> float Parameters
- x DoubleVector
- A set of predictor values.
Return Value
DoubleThe probability of a positive outcome predicted by the model.
Exceptions| Exception | Condition |
|---|
| MismatchedSizeException | Thrown if the length
of the given vector is not equal to the number of parameters
in the model. |
See Also