Scripting P300Classifier - How to save parameter file.

Forum for software developers to discuss BCI2000 software development
Locked
sam
Posts: 3
Joined: 22 Mar 2013, 07:05

Scripting P300Classifier - How to save parameter file.

Post by sam » 29 Apr 2013, 12:11

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!

mellinger
Posts: 1341
Joined: 12 Feb 2003, 11:06

Re: Scripting P300Classifier - How to save parameter file.

Post by mellinger » 30 Apr 2013, 10:47

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

sam
Posts: 3
Joined: 22 Mar 2013, 07:05

Re: Scripting P300Classifier - How to save parameter file.

Post by sam » 03 May 2013, 08:51

Wow, thats wonderful!
thank you so much for your perompt help!

Locked

Who is online

Users browsing this forum: No registered users and 0 guests