Training a classifier on parquet with SageMaker ?

0

Hi,

What parquet data loading logic is known to work well to train with SageMaker on parquet? ml-io? pyarrow? any examples? That would be to train a classifier, either logistic regression, XGBoost or custom TF.

  • Hi, I'm facing the same issue but for testing. It doesn't seem that testing in Sagemaker accepts PyArrow or parquet files. Do you know if Sagemaker does accept parquet files for testing or only training? If not, whats the go around?

AWS
專家
已提問 4 年前檢視次數 837 次
1 個回答
1
已接受的答案

XGBoost as a framework container (v0.90+) can read parquet for training (see example notebook).
The full list of valid content types are CSV, LIBSVM, PARQUET, RECORDIO_PROTOBUF (see source)

Additionally:
Uber Petastorm for reading parquet into Tensorflow, Pytorch, and PySpark inputs.
As XGBoost accepts numpy, you can convert from PySpark to numpy/pandas using the mentioned PyArrow.

AWS
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南