-
Notifications
You must be signed in to change notification settings - Fork 292
Getting error while forecasting using pyspark udfs #685
Replies: 1 comment · 3 replies
-
Hey. Can you include the full error? |
Beta Was this translation helpful? Give feedback.
All reactions
-
This is the error traceback - |
Beta Was this translation helpful? Give feedback.
All reactions
-
figured out the error.. Validation data had duplicates in it. Errors should be properly mentioned in the codebase. This took me lots of time to debug |
Beta Was this translation helpful? Give feedback.
All reactions
-
What's the validation data? The |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am getting this error while doing model.forecast( h =7, X_df = input_df).
The error is something like this -
Caused by: org.apache.spark.SparkException: Job aborted due to stage failure: Task 12 in stage 19.0 failed 4 times, most recent failure: Lost task 12.3 in stage 19.0 (TID 130) (10.141.64.10 executor 0): org.apache.spark.api.python.PythonException: 'ValueError: Expected X to have shape (4, 2), but got (8, 2)'
The same thing runs on pandas perfectly.
Can someone let me know why this error comes, so that I can do some checks on the data?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions