question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for fractions for window length parameters

See original GitHub issue

Is your feature request related to a problem? Please describe. Currently, window length parameters (e.g. window_length or initial_window in SlidingWindowSplitter) have to be integers and denote the absolute number of time points, similar to how scikit-learn handles fractions in their cross-validation functionality.

Describe the solution you’d like Add support for floats denoting the number of time points relative to the passed data. For example passing window_length=0.5 would mean half of the data y passed to split in the SlidingWindowSplitter.

The parameters window_length and initial_window are used in several locations in the code base.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Ifeanyi30commented, Apr 15, 2021

I would love to

On Thu, Apr 15, 2021, 3:58 PM Markus Löning @.***> wrote:

@thayeylolu https://github.com/thayeylolu great! Opening a draft PR is usually a good first step to indicate that you’re working on it and to receive early feedback. @Ifeanyi30 https://github.com/Ifeanyi30 perhaps you’d be interested in reviewing once the PR is up?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alan-turing-institute/sktime/issues/795#issuecomment-820496817, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL45AALUE5FTT7EDWEKN5PTTI35HTANCNFSM42WU5AFA .

1reaction
thayeylolucommented, Apr 15, 2021

@Ifeanyi30 Thank you for showing interest in this. @mloning I have started working on it

Read more comments on GitHub >

github_iconTop Results From Across the Web

How add fraction values in Excel - Microsoft Community
Hello Team, could you help me solve this issue... Actually i want how to add fractions excel.If any formula is there?
Read more >
Format fractions automatically in Numbers on Mac
Click Auto-Correction at the top of the settings window. In the Formatting section, select the “Automatically format fractions” checkbox.
Read more >
Re: fraction dimensions for thickness - Graphisoft Community
Is there a way to get the thickness parameter in door / window schedule to show fractional dimensions. Width and height , sill...
Read more >
Displaying Inches as Fractions - bVisual
I was recently asked if the Size & Position Window in Visio can display fractions of inches as fractions rather than as decimals....
Read more >
Analyze Menu - ImageJ - NIH
Check Summarize to display, in a separate window, the particle count, total particle area, average particle size, and area fraction.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found