ml-jku / hopular

Hopular: Modern Hopfield Networks for Tabular Data
https://ml-jku.github.io/hopular/
MIT License
305 stars 26 forks source link

issue adding dataset #5

Open parsifal9 opened 2 years ago

parsifal9 commented 2 years ago

HI ml-jku I am trying to run hopular on my own data sets. It looks like there are two formats for doing this

> head -2  resources/statlog_heart/statlog_heart_py.dat 
1.70892,0.688222,0.869313,-0.0752701,1.39961,-0.416256,0.979844,-1.75595,-0.699923,1.17882,0.675165,2.4681,-0.874083
1.37958,-1.44764,-0.183219,-0.91506,6.08171,-0.416256,0.979844,0.445582,-0.699923,0.480261,0.675165,-0.710216,1.18707

also I cant figure out what folds_py.dat and validation_folds_py.dat are doing.

> head -2  resources/statlog_heart/folds_py.dat 
0,1,0,0
1,0,0,0
> head -2  resources/statlog_heart/validation_folds_py.dat 
1,0,1,0
0,0,0,0

I am not so interested in the heart data as in understanding how to add my own data, use a test set or cross-validation and then test on a independent data set.

Bye

parsifal9 commented 2 years ago

just part of the same question. For the same data set, what does the output mean? And how can I the predicted values

>hopular optim --dataset "StatlogHeartDataset"  --num_workers 20

  accuracy_target/test       0.746268630027771
        loss/test           0.5171667337417603
    loss_target/test        0.5171667337417603