IndeterminateThreshold

IndeterminateThreshold

is an option for Classify, Predict, and related functions that specifies below what probability or probability density a result should be considered indeterminate.

Details

  • With IndeterminateThresholdp0, Indeterminate will be returned if the probability or probability density of the predicted value is less than p0.

Examples

Basic Examples  (3)

Train a logistic classifier:

Obtain class probabilities for a new example:

The most probable class is predicted:

If no probability is above the probability threshold, no class is predicted:

The probability threshold can be set in the classifier:

Train a linear predictor:

Visualize the probability density for a given example:

For this example, the predicted value and its corresponding probability density are as follows:

If the threshold is higher than the probability density, no value is predicted:

Change the value of IndeterminateThreshold in a built-in classifier:

Introduced in 2014
 (10.0)