aws / aws/amazon-sagemaker-examples

newbie SageMaker with XGBoost

Open
#668 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
11k
Forks
7k
Avg merge
8h 29m
Merged PRs (30d)
8

Description

Hello All,

I am new to AWS Sagemaker, I try to use XGBoost algorithm but it keeps fail, here are what I have done:

- Create a S3 bucket
- Upload the .csv
- Create labeling jobs (completed)
- Create a notebook instance with XGBoost minist example
- Create training job
- Use Amazon SageMaker built-in Algorithm as Algorithm source
- Choose XGBoost Algorithm
- set num_round to 3
- set objective to reg:liniear
- set S3 location to s3://mys3/
- Set S3 output path s3://mys3/output

after waiting couple minutes, it failed with the following error:

ClientError: Blankspace and colon not found in firstline '1 4a4fc709a737ab971e7a1008a72a930c ...' of file 'groundtruth_tqOAx9PEb2RJ3xlAiRN5khotlbq4KUZfZKT_IN2m9d0j2W2h_GbHJxlp5UgJcomc4BqO8qnpPZiDNKcnGqcELSNMzOm6dXRpvzJUOeAFgFOvWfUrym_pI8z35vKYEG.hUdmlDAXjj6M5LVinEg0N8rdMPKBfDnHAmj_9THczi2Y-_etags_do_not_modify.tmp'. ContentType by defaullt is in libsvm. Please ensure the file is in libsvm format.

I need a guidance

[mytry.zip](https://github.com/awslabs/amazon-sagemaker-examples/files/2952232/mytry.zip)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.