Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

When I try to use batch prediction through my time series modle convert Numeric and String Error

 

I used Vertex AI to create a time series forecasting model.
When performing Batch Prediction, the prediction results need to be uploaded to a BigQuery table.
In the BigQuery table, there is a column nameBenefit_per_order, which is of type FLOAT. However, MY model requires the input to be of type STRING.

Even if I tried changing all the values in the Benefit_per_order column to meaningless strings (e.g., "N/A"), the issue persists, and the prediction cannot proceed successfully.


The error message I encountered indicates a data type mismatch: the model requires the input to be of typeSTRING, but the column type in the BigQuery table remains FLOAT. Even if I modified the values in the column, the data type itself has not changed.

Google Cloud Deploy Batch Prediction Error.png

0 1 217
1 REPLY 1