Comments (4)
Thanks for reporting, the reasoning seems sound.
I'll need to check again in defail how this relates to _cut_df
logic.
FYI @benHeid, is this related to some of the issues you looked at recently?
from sktime.
Thank you. I have one more thing: in the make_reduction documentation it's written that pooling only works for Recursive Forecaster
pooling: str {“local”, “global”}, optional
Specifies whether separate models will be fit at the level of each instance (local) of if you wish to fit a single model to all instances (“global”). Currently only works for RecursiveTimeSeriesRegressionForecaster.
In reality "global" is also implemented with Direct Forecaster (with this above issue). Is this docstring outdated?
from sktime.
In reality "global" is also implemented with Direct Forecaster (with this above issue). Is this docstring outdated?
Possibly - I thought it was functional.
@benHeid looked into this recently, so probably can say more.
from sktime.
I took a look on this Issue and I can confirm that this is a Bug. Might probably be fixed by calculating the n_timesteps twice. Before and after the transformation. Before the transformation to being still able to perform the checks that happen before transform. Afterwards, to have the correct length of the transformed time series, so that cut_df is working correctly. Perhaps we should also add a check to _cut_df
that checks if n_obs
is greater than the time series.
If it is greater, it just returns the input time series. See:
pd.DataFrame([0,1,2]).tail(4)
# Out:
# 0
# 0 0
# 1 1
# 2 2
pd.DataFrame([0,1,2]).tail(6)
# Out:
# 0
# 0 0
# 1 1
# 2 2
pd.DataFrame([0,1,2]).head(6)
# Out:
# 0
# 0 0
# 1 1
# 2 2
from sktime.
Related Issues (20)
- [MNT] keras/transformers installation error on python 3.8-3.11 in CI HOT 2
- [ENH] EnbPI and SPCI algorithms
- [ENH][MNT] interface estimators from `neuralforecast` into `sktime`
- [BUG] `LabelEncoder` does not fit in a nested pipeline HOT 24
- [BUG] broken MACNNClassifier and MACNNRegressor
- [BUG] MCDCNNRegressor does not perform fitting/training?
- [BUG] CNTCRegressor raises an error on calling .fit()
- [BUG] In clustering averaging_method = 'dba' crashed HOT 3
- [ENH] categorical feature support: input checking - column type encoding by the `__dataframe__` protocol HOT 3
- [BUG] `TimeSeriesForestRegressor` failure - Parameter `self.criterion` does not exist in `TimeSeriesForestRegressor` HOT 1
- [BUG] pepy.tech downloads tracker on readme landing page is broken
- [BUG] Differencer is producing `SettingWithCopyWarning` HOT 3
- [ENH] wishlist: outlier detection, segmentation, change point detection (annotation module) HOT 3
- [MNT] Bump scikit-base to 0.8.0 HOT 1
- [BUG] failure of `test_differencer_cutoff` HOT 4
- [BUG] `ForecastingHorizon` `M` and `Y` `freq` incompatibility with `pandas >=2.2.0` HOT 10
- [BUG] `PyKanForecaster` `TypeError: 'NoneType' object is not subscriptable` HOT 3
- [BUG] ForecastingSkoptSearchCV documentation example fails to run HOT 25
- [BUG] KNeighborsTimeSeriesClassifier.neighbor() failed HOT 3
- [MNT] track and confirm status of `scikit-optimize` HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sktime.