Skip to content

Time Series Forecasting Test Issue #1254

Answered by Lopa10ko
leonardo95 asked this question in Q&A
Discussion options

You must be logged in to vote

I tried using the train_data instead of all data (to avoid overfitting) but a valuerror is raised "ValueError: Initial pipeline fit was failed due to: There are no common indices for outputs. Check pipeline structure and the correctness of the data".

There seems to be a problem for high values of parameter forecast_length for a dataframe of 1400 records total.

So here are the possible solutions:

Code listing for in-sample forecast
task = Task(TaskTypesEnum.ts_forecasting, TsForecastingParams(forecast_length=180))
train_input = InputData.from_csv_time_series(file_path=dataset_path, task=task, target_column='frequency', delimiter=";")
train_data, test_data = train_test_data_setup(train_i…

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@leonardo95
Comment options

@leonardo95
Comment options

@Lopa10ko
Comment options

Answer selected by Lopa10ko
@leonardo95
Comment options

@Lopa10ko
Comment options

@leonardo95
Comment options

@Lopa10ko
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants