Page 1 of 1

Scripting P300Classifier - How to save parameter file.

Posted: 29 Apr 2013, 12:11
by sam
Greetings everyone.

The P300 Classifier wiki page says that it is completely scriptable. I was able to start the program and load my data files with the following command:

cd [path]\BCI2000\tools\P300Classifier
P300Classifier.exe -inicfg parameters.ini -TrainingDataFiles [file1] [file2]

However, I still do not how to save the resulting parameter file with script. Can anyone help me with that?
The best I can think of at the moment is sending simulated keystrokes. But I am sure there is a more graceful of doing it.

Thank you in advance!

Re: Scripting P300Classifier - How to save parameter file.

Posted: 30 Apr 2013, 10:47
by mellinger
Hi,

unfortunately, there was no such option in P300Classifier.
I added a -ClassifierOutputFile command line switch, which will enter a file name into the prm file field. In addition, P300Classifier will automatically create weights, write the output file, and quit if the command line provides enough information to do so.

In order to use the new feature, you will need to compile P300Classifier from the latest source version in SVN.

Regards,
Juergen

Re: Scripting P300Classifier - How to save parameter file.

Posted: 03 May 2013, 08:51
by sam
Wow, thats wonderful!
thank you so much for your perompt help!