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
ESPERTO
posta 4 anni fa839 visualizzazioni
1 Risposta
1
Risposta accettata

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
con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande