如何使用 XGBoost 模型在 Google AI Platform Unified 上进行批量预测?

How can I do batch predictions on Google AI Platform Unified using a XGBoost model?

如何在 Google AI Platform Unified 上使用 XGBoost 进行批量预测?

我可以毫无问题地执行在线预测,但是当我提交批处理作业请求时,它 returns 出现错误(“无法预测,DMatrix 初始化错误”)。

我正在提交一个 csv 文件,其列名与用于训练的列名相同。我尝试使用格式化为 jsonl 文件的数据框来执行此操作,但没有结果。这是一个错误还是我做错了什么?

我发现:你不能。改为在 Dataflow 上使用 Apache Beam 运行 执行批量预测。运行起来就像一个魅力。