Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to set xgb label column index for csv file on s3? #594

Open
Tesla9999 opened this issue Feb 1, 2020 · 0 comments
Open

how to set xgb label column index for csv file on s3? #594

Tesla9999 opened this issue Feb 1, 2020 · 0 comments

Comments

@Tesla9999
Copy link

Tesla9999 commented Feb 1, 2020

I am trying to read csv files on s3, need to set the train data label column index, for example run '../xgboot mushroom.aws.conf', in the xgb conf file:
data='s3://bucket/file_name.csv?format=csv&label_column=0'
The '&label_column=0' is giving me trouble, '?format=csv' is working fine and '?format=csv&label_column=0' works for local file.
the error message is:

terminate called after throwing an instance of 'dmlc::Error'
what(): [02:33:54] src/io/s3_filesys.cc:1096:
SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided. Check your key and signing method.

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant