Open Larry2000error opened 5 months ago
The code uses both the train/val splits for SVM fitting. This train/val split was generated from the original training subset to avoid overfitting in the neural net training. The split used depends on the choice of the subset in ['train', 'val', 'test'] that is defined in the dataset files here: https://github.com/humansensinglab/dfcil-hgr/blob/main/configs/datasets/
So, 'testtrain' for instance is the train split and 'testval' is the val split.
Hello, I have some questions regarding the SVM classifier training part of your work while I am replicating it. According to your code, you used a dataset named test.txt in addition to train.txt during SVM training. I would like to confirm if my understanding is correct. If I have misunderstood, could you please explain the definition of test_dataset in your provided code within save_classifier.py and save_classifier_mi.py, particularly why mode=trainval?
The code above is from the file save_classifier.py.