TextAnalysisModelFactory.ConfidenceScoreThreshold Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ConfidenceScoreThreshold.
public static Azure.AI.Language.Text.ConfidenceScoreThreshold ConfidenceScoreThreshold(float default = 0, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.ConfidenceScoreThresholdOverride> overrides = default);
static member ConfidenceScoreThreshold : single * seq<Azure.AI.Language.Text.ConfidenceScoreThresholdOverride> -> Azure.AI.Language.Text.ConfidenceScoreThreshold
Public Shared Function ConfidenceScoreThreshold (Optional default As Single = 0, Optional overrides As IEnumerable(Of ConfidenceScoreThresholdOverride) = Nothing) As ConfidenceScoreThreshold
Parameters
- default
- Single
Minimum confidence score threshold for the PII entities to be returned in the response. Entities with a confidence score below this threshold will be filtered out. Value should be between 0.0 and 1.0.
- overrides
- IEnumerable<ConfidenceScoreThresholdOverride>
List of confidence score threshold overrides for specific PII categories.
Returns
A new ConfidenceScoreThreshold instance for mocking.