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: Add unit tests for SSAForecasterImplementation #155

Closed sweep-ai[bot] closed 1 week ago

sweep-ai[bot] commented 3 weeks ago

Purpose

This pull request adds unit tests for the SSAForecasterImplementation class, which is part of the fedot_ind.core.models.ts_forecasting.ssa_forecaster module. The tests cover various edge cases and ensure the correct behavior of the forecaster.

Description

The changes in this pull request include:

  1. Creation of a new test file test_ssa_forecaster.py in the tests/unit/core/models directory.
  2. Implementation of several test cases to cover the default and custom initialization of the SSAForecasterImplementation class.
  3. Tests for the predict method of the forecaster, including one-dimensional and channel-independent modes, as well as handling of missing values.
  4. Tests for invalid input data, ensuring that the forecaster raises the appropriate exceptions.

Summary

Fixes #152.


[!TIP] To get Sweep to edit this pull request, you can:

  • Comment below, and Sweep can edit the entire PR
  • Comment on a file, Sweep will only modify the commented file
  • Edit the original issue to get Sweep to recreate the PR from scratch

This is an automated message generated by Sweep AI.

pep8speaks commented 3 weeks ago

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

There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:

Comment last updated at 2024-06-13 12:25:43 UTC
sweep-ai[bot] commented 3 weeks ago

Sweep: PR Review

Author: sweep-ai[bot] The Pull Request looks good! Sweep did not find any new issues.