kaz-Anova / StackNet

StackNet is a computational, scalable and analytical Meta modelling framework
MIT License
1.32k stars 344 forks source link

Train file format? #52

Closed vinkaga closed 7 years ago

vinkaga commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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