Skip to content

[DOC] Migrate TiDEModel docstrings to NumPy style#2241

Open
satishkc7 wants to merge 1 commit into
sktime:mainfrom
satishkc7:docs/migrate-tide-docstrings-to-numpydoc
Open

[DOC] Migrate TiDEModel docstrings to NumPy style#2241
satishkc7 wants to merge 1 commit into
sktime:mainfrom
satishkc7:docs/migrate-tide-docstrings-to-numpydoc

Conversation

@satishkc7
Copy link
Copy Markdown

Closes part of #2066.

Summary

Migrates all Google-style docstrings in pytorch_forecasting/models/tide/_tide.py to NumPy docstring format, consistent with the project-wide migration tracked in #2066.

Methods updated:

  • __init__ - converted mixed Google/NumPy parameter entries to uniform NumPy style; fixed Note: section to Notes\n-----
  • decoder_covariate_size property - Returns: -> Returns\n-------
  • encoder_covariate_size property - Returns: -> Returns\n-------
  • static_size property - Returns: -> Returns\n-------
  • from_dataset - Args: / Returns: -> Parameters\n---------- / Returns\n-------
  • forward - Args: / Returns: -> Parameters\n---------- / Returns\n-------

Checklist

  • Docstrings follow NumPy style
  • No logic changes, only documentation

Convert all Google-style docstrings in models/tide/_tide.py to NumPy
docstring format, consistent with the project-wide migration tracked
in sktime#2066. Affected methods: __init__, decoder_covariate_size,
encoder_covariate_size, static_size, from_dataset, and forward.
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@af9b14f). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2241   +/-   ##
=======================================
  Coverage        ?   86.71%           
=======================================
  Files           ?      166           
  Lines           ?     9761           
  Branches        ?        0           
=======================================
  Hits            ?     8464           
  Misses          ?     1297           
  Partials        ?        0           
Flag Coverage Δ
cpu 86.71% <ø> (?)
pytest 86.71% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant