Welcome to our Support Center

Poisson

Description

Computes the Poisson loss between y_true and y_pred.​ Type : polymorphic.

 

 

 

Input parameters

 

Poisson in : class
reduction : enum, type of reduction to apply to the loss. In almost all cases this should be “Sum over Batch“.

 

Output parameters

 

Poisson out : class

Required data

 y_pred : array, predicted values.
 y_true : array, true values.

Use cases

Poisson loss is a loss function used in regression problems where the target values are counts or non-negative integers, typically following a Poisson distribution. This function measures the difference between predictions and actual data using the likelihood of events as predicted by a Poisson distribution.

It is particularly suited for models that forecast event rates, such as the number of website visits per hour or the number of sales per day.

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).

Table of Contents