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

Train file format? #52

Closed
vinkaga opened this issue Oct 29, 2017 · 2 comments
Closed

Train file format? #52

vinkaga opened this issue Oct 29, 2017 · 2 comments

Comments

@vinkaga
Copy link

vinkaga commented Oct 29, 2017

I see your scripts saving train file with the following python command

        np.savetxt(train_file, X, delimiter=",", fmt='%.5f')

I have a couple of questions

  1. Does it accept any CSV format?
  2. Is the X_target the first column of this file?
  3. Any other things I should be paying attention to when creating input files?
@kaz-Anova
Copy link
Owner

Does it accept any CSV format?

as long as it is comma separated.

Is the X_target the first column of this file?

Can you point me to that script? I think it should be.

Any other things I should be paying attention to when creating input files?

Train file needs to have a target column at the left. Test file may or may not have that. If it has , you have to put test_target=true in the command line.

@vinkaga
Copy link
Author

vinkaga commented Oct 31, 2017

From the script, the target seems to be in the left column. I did get the test_target setting 😄 . Thanks.

@vinkaga vinkaga closed this as completed Oct 31, 2017
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

2 participants