Welcome to our Support Center

MeanSquaredLogarithmicError

Description

Computes the mean squared logarithmic error between y_true and y_pred.​ Type : polymorphic.

 

 

 

Input parameters

 

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

 

Output parameters

 

MeanSquaredLogarithmicError out : class

Required data

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

Use cases

Mean Squared Logarithmic Error (MSLE) is a loss function used in regression problems. It is similar to Mean Squared Error (MSE) but calculates the average of the squares of the differences of the logarithms of the predictions and actual values. This makes MSLE particularly suited to situations where predictions vary widely in magnitude and where proportional errors are more critical than absolute errors.

It is often used when data involves exponential values, such as in forecasting population growth or sales.

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