aimclub / Fedot.Industrial

Python framework for automated time series classification, regression and forecasting
https://fedotindustrial.readthedocs.io
BSD 3-Clause "New" or "Revised" License
76 stars 7 forks source link

Sweep: Update of unit-test required #149

Closed sweep-ai[bot] closed 1 month ago

sweep-ai[bot] commented 1 month ago

Description

This pull request introduces a comprehensive update to the unit tests for various loss functions within the fedot_ind.core.models.nn.network_modules.losses module. It adds tests for a variety of loss functions including ExpWeightedLoss, HuberLoss, LogCoshLoss, MaskedLossWrapper, CenterLoss, CenterPlusLoss, FocalLoss, TweedieLoss, SMAPELoss, and RMSELoss. Additionally, it includes tests for the lambda_prepare function with different types of inputs.

Summary

This update ensures that the loss functions work as expected across a variety of conditions and input types, enhancing the reliability of the neural network module's loss computation capabilities.

Fixes #148.


đŸ’¡ To get Sweep to edit this pull request, you can:

This is an automated message generated by Sweep AI.

pep8speaks commented 1 month ago

Thanks for update, @sweep-ai[bot]!

Line 3:121: E501 line too long (207 > 120 characters)

Comment last updated at 2024-05-28 14:09:08 UTC