Quadratic Discriminant Function.Prior Property
Gets the prior probability associated with this function's group.
Definition
Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.7
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.7
public double Prior { get; }
Property Value
DoubleRemarks
The prior probability represents the expected proportion of observations belonging to this group in the population. It influences classification decisions by incorporating base rate information.
When classifying new observations in domains with known class imbalances, the prior probability helps adjust predictions to account for the real-world frequency of each group. This is particularly valuable in medical diagnosis or fraud detection where some outcomes are naturally rarer than others.