Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add etna.datasets.load_dataset to public API #484

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

ArtemLiA
Copy link

@ArtemLiA ArtemLiA commented Oct 1, 2024

Before submitting (must do checklist)

  • Did you read the contribution guide?
  • Did you update the docs? We use Numpy format for all the methods and classes.
  • Did you write any new necessary tests?
  • Did you update the CHANGELOG?

Proposed Changes

  • Make in a "User guide" page link to load_dataset, it will allow users to check the parameters
  • Make in load_dataset reference to "User guide" page for users to see the list of all available datasets.
  • Add load_dataset to datasets.rst file.
  • Little fix of docstring in load_dataset

Closing issues

Closes #465

ArtemLiA and others added 22 commits June 22, 2024 01:55
1) Wrap step param into double `` in the AutoRegressivePipeline docs.
2) Fix problem with linting.
3) Add a link to the pull request in the CHANGELOG.md
1) Add space between "Autocorrelation function" and (ACF, pho(t)) and the same for PACF.
2) Add a link to the pull request in the CHANGELOG.md
* Fix links in 'See Also' references in `Pipeline` docs
* Fix links in 'See Also' references in `AutoRegressivePipeline` docs
* Fix links in 'See Also' references in `DirectEnsemble` docs
* Add external links to `CatBoostRegressor` in `CatBoostMultiSegmentModel` and
  `CatBoostPerSegment` docs.

* Add external links to `LinearRegression` in `LinearMultiSegmentModel`
  and `LinearPerSegmentModel` docs.

* Add external links to `ElasticNet` in `ElasticMultiSegmentModel` and
  `ElasticPerSegmentModel` docs.
* Make in "User Guide" page link to `load_dataset`
* Make in `load_dataset` reference to "User Guide"
* Add `load_dataset` to datasets.rst
* Add in `load_dataset` docs default value description of `download_path`
@ArtemLiA ArtemLiA closed this Oct 1, 2024
@ArtemLiA ArtemLiA reopened this Oct 1, 2024
* Add link to 484 pull request
* Remove link to changes of previous release
Copy link

codecov bot commented Oct 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.35%. Comparing base (0f98ec0) to head (87363cd).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #484      +/-   ##
==========================================
- Coverage   90.60%   89.35%   -1.26%     
==========================================
  Files         247      247              
  Lines       16481    16481              
==========================================
- Hits        14933    14726     -207     
- Misses       1548     1755     +207     

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

@d-a-bunin d-a-bunin self-requested a review October 2, 2024 06:47
@@ -108,14 +108,14 @@ def load_dataset(
parts: Union[str, Tuple[str, ...]] = "full",
) -> Union[TSDataset, List[TSDataset]]:
"""
Load internal dataset.
Load internal dataset. Full list of available datasets you can see on :ref:internal_datasets page.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should add this explanation in the extended summary. Also, the link isn't correct:

Load internal dataset.

Full list of available datasets you can see on :ref:`internal datasets page <internal_datasets>`.

@@ -15,7 +15,8 @@ models. To load them you choose dataset name and use the following code:
The first time, it will take some time to download and save the dataset locally, the next times the data will be read from a file.
In the example above, we load ``tourism`` dataset with monthly frequency. We also use ``parts="full"``, which means that we load
the full dataset (each dataset has predefined parts to load).
the full dataset (each dataset has predefined parts to load). For more details you can check
:py:func:`etna.datasets.load_dataset` API References.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be it is better to write "API reference" instead of "API References".

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.

Add function etna.datasets.load_dataset to public API
2 participants