AcceptanceThreshold

AcceptanceThreshold

is an option that specifies the minimum threshold at which a result is considered acceptable.

Details

  • Typical settings include:
  • Automaticautomatic threshold
    vala numerical value typically between 0 and 1
  • Typically, if the confidence for a particular result is below the setting for AcceptanceThreshold, it will be rejected.
  • If all results are rejected, typically Missing is returned.

Examples

Basic Examples  (3)

Specify the acceptance threshold while detecting faces:

In[1]:=
Click for copyable input
Out[1]=

Lower the threshold:

In[2]:=
Click for copyable input
Out[2]=

ImageInstanceQ uses AcceptanceThreshold->0.5:

In[1]:=
Click for copyable input
Out[1]=

With a higher recognition threshold, objects may not be identified:

In[2]:=
Click for copyable input
Out[2]=

ImageIdentify uses an automatic acceptance threshold:

In[1]:=
Click for copyable input
Out[1]=

Specify a custom threshold:

In[2]:=
Click for copyable input
Out[2]=

If no identification is above the threshold, a Missing object is returned:

In[3]:=
Click for copyable input
Out[3]=
Introduced in 2019
(12.0)