Open lthiess8 opened 2 years ago
Hello! I encountered the same issue, did you manage to find a solution? Thanks in advance
Hello @CelieDs,
for some reason the indices of X and y did not match. This notebook helped me to find the solution: https://github.com/blue-yonder/tsfresh/blob/main/notebooks/advanced/05%20Timeseries%20Forecasting%20(multiple%20ids).ipynb
when i changed the code to the following, it worked for me:
target = df_melted.set_index("time").sort_index().label
target = target[target.index.isin(extracted_features.index)]
extracted_features = extracted_features[extracted_features.index.isin(target.index)]
features_selected = select_features(extracted_features, target, ml_task='classification')
Hi, I get an assertion error when using the fuction extract_relevant_features(). When I print len(X) and len(y), I get the same values.
Thanks in advance!