Welcome to our Support Center

FalseNegatives

Description

Calculates the number of false negatives. Type : polymorphic.

 

 

Input parameters

 

 y_pred : array, predicted values (logits values).
 y_true : array, true values (logits values, or binary values if the threshold value is between 0 and 1).
thresholds : float, representing the threshold for deciding whether prediction and true values are 1 or 0 (above the threshold is true, below is false).

 

Output parameters

 

false_negatives : float, result.

Use cases

The false negatives metric is used in machine learning classification problems. A false negative occurs when the model incorrectly predicts the negative class for an observation that is actually positive. This metric is particularly important in areas where the consequences of an incorrect negative prediction (a false negative) are severe.

Here are a few examples :

    • In medicine : when diagnosing diseases, a false negative means that a sick person is incorrectly identified as being in good health. This can lead to a delay in treatment and potentially serious consequences for the patient.
    • In safety or quality testing : for example, if a model is used to detect defects in manufacturing parts, a false negative means that a defective part is incorrectly identified as defect-free. this can lead to defective products being shipped to customers.
    • In spam detection : A false negative means that a spam message is incorrectly identified as legitimate. This can result in unwanted messages being delivered to a user’s inbox.

 

Calculation

The “False Negatives” metric is used in the context of binary classification, where the possible outcomes are “Positive” (represented by 1) and “Negative” (represented by 0).

A “False Negative” (FN) occurs when a model incorrectly predicts the negative class for an example that is actually of the positive class. In other words, the model predicted that the event would not occur, but it actually did.

 

Example

All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install HAIBAL library to run it).

Easy to use

Table of Contents