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

[DOC] add newer patterns to handle unequal length and multivariate data in tutorial #7362

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

PranavBhatP
Copy link

@PranavBhatP PranavBhatP commented Nov 4, 2024

Reference Issues/PRs

Fixes: #7237

What does this implement/fix? Explain your changes.

Adds the new patterns to deal with unequal length and multi-variate data into the classification tutorial.

Does your contribution introduce a new dependency? If yes, which one?

What should a reviewer concentrate their feedback on?

Quality and relevance of added documentation, open to feedback.

Did you add any tests for the change?

No.

Any other comments?

PR checklist

For all contributions
  • I've added myself to the list of contributors with any new badges I've earned :-)
    How to: add yourself to the all-contributors file in the sktime root directory (not the CONTRIBUTORS.md). Common badges: code - fixing a bug, or adding code logic. doc - writing or improving documentation or docstrings. bug - reporting or diagnosing a bug (get this plus code if you also fixed the bug in the PR).maintenance - CI, test framework, release.
    See here for full badge reference
  • Optionally, for added estimators: I've added myself and possibly to the maintainers tag - do this if you want to become the owner or maintainer of an estimator you added.
    See here for further details on the algorithm maintainer role.
  • The PR title starts with either [ENH], [MNT], [DOC], or [BUG]. [BUG] - bugfix, [MNT] - CI, test framework, [ENH] - adding or improving code, [DOC] - writing or improving documentation or docstrings.
For new estimators
  • I've added the estimator to the API reference - in docs/source/api_reference/taskname.rst, follow the pattern.
  • I've added one or more illustrative usage examples to the docstring, in a pydocstyle compliant Examples section.
  • If the estimator relies on a soft dependency, I've set the python_dependencies tag and ensured
    dependency isolation, see the estimator dependencies guide.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@PranavBhatP PranavBhatP marked this pull request as draft November 7, 2024 05:15
@PranavBhatP PranavBhatP marked this pull request as ready for review November 7, 2024 07:00
@PranavBhatP
Copy link
Author

PranavBhatP commented Nov 10, 2024

hi @fkiraly, can you review the changes to the tutorial notebook, wanted to see if I should add anymore changes here.

Copy link
Collaborator

@fkiraly fkiraly left a comment

Choose a reason for hiding this comment

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

Nice! I think we could merge this and it would already be a great improvement.

Some smaller comments:

  • typographically, names of classes should be enclosed between backticks, like IndepDist, that way they appear in code font
  • at the start, could you add a math explanation or reference (or both) to explain the difference?
  • for more details on distances and composites, a pointer to notebook 6 might be good
  • I would also add a third method: some estimators can deal with multivariate data natively, this is recorded in the capability tag (see section 2.3 below how to search). This should perhaps be the first method you explain.
  • the first vignette uses two aggregation functions - sum and mean - which are very similar but double the amount of lines. I would suggest, show only one of these first, and mention how you would switch the aggregation function only.

@fkiraly fkiraly added documentation Documentation & tutorials module:classification classification module: time series classification labels Nov 10, 2024
@PranavBhatP
Copy link
Author

Sure! I'll add these changes.

@PranavBhatP
Copy link
Author

@fkiraly , I've added the requested changes.

@fkiraly fkiraly changed the title [DOC]: add newer patterns to handle unequal length and multivariate data in tutorial [DOC] add newer patterns to handle unequal length and multivariate data in tutorial Nov 13, 2024
@fkiraly
Copy link
Collaborator

fkiraly commented Nov 13, 2024

Great!

Best practice: click on the round arrow to re-request a review (top right)
image

@fkiraly
Copy link
Collaborator

fkiraly commented Nov 13, 2024

Code formatting guide:
https://www.sktime.net/en/latest/developer_guide/coding_standards.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation & tutorials module:classification classification module: time series classification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DOC] add common unequal length and multivariate patterns to the classification tutorial
2 participants