You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah so you can't really use filtering since that becomes part of the automatic pipeline, so it propagates further. Just like any other filtering that is done during the "data cleaning" phase.
Hi~
I am trying to reproduce this notebook, vaex-taxi-ml-article.ipynb.
But I encountered the error like below.
I almost completely follow your code.
I can not find the reason.
I share my colab notebook here.
KeyError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/vaex/scopes.py in evaluate(self, expression, out)
112 # logger.debug("try avoid evaluating: %s", expression)
--> 113 result = self[expression]
114 except KeyError:
34 frames
KeyError: "Unknown variables or column: 'abs((trip_duration_min - pred_final))'"
During handling of the above exception, another exception occurred:
KeyError Traceback (most recent call last)
KeyError: "Unknown variables or column: 'clip(predicted_duration_min, 3, 25)'"
During handling of the above exception, another exception occurred:
KeyError Traceback (most recent call last)
KeyError: "Unknown variables or column: 'incremental_prediction_function(PCA_pickup_0, PCA_pickup_1, PCA_dropoff_0, PCA_dropoff_1, standard_scaled_arc_distance, pickup_time_x, pickup_day_x, pickup_month_x, direction_angle_x, pickup_time_y, pickup_day_y, pickup_month_y, direction_angle_y, pickup_is_weekend)'"
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)
in ()
in ()
in ()
/usr/local/lib/python3.7/dist-packages/sklearn/utils/validation.py in check_array(array, accept_sparse, accept_large_sparse, dtype, order, copy, force_all_finite, ensure_2d, allow_nd, ensure_min_samples, ensure_min_features, estimator)
806 "Found array with %d sample(s) (shape=%s) while a"
807 " minimum of %d is required%s."
--> 808 % (n_samples, array.shape, ensure_min_samples, context)
809 )
810
ValueError: Found array with 0 sample(s) (shape=(0, 14)) while a minimum of 1 is required.
The text was updated successfully, but these errors were encountered: