OpenViBE forum

The OpenViBE community
It is currently Sat Nov 17, 2018 12:26 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Jun 29, 2018 1:54 pm 
Offline

Joined: Mon Jun 04, 2018 5:31 pm
Posts: 2
Hey everyone,

I'm trying to find out how different electrode configurations change the classifier accuracy, and to do so I need to run 200 ov files through the CSP and the classifier quite a few times (once for each electrode configuration I have). Since doing this manually would take far too long, does anyone know of a way to automatically run files through the CSP and classifier scenarios? Ideally I would run them in batches of 200, changing the electrode configuration in between them, and the log would be recorded as usual (the accuracy is printed to the log, and I already have an extraction code set up to handle getting the necessary info). I have MatLab2015a installed, so any MatLab solutions would also work for me.

Thanks for the help.
lfrajmu


Top
 Profile  
Reply with quote  
PostPosted: Mon Jul 02, 2018 1:53 pm 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 764
Location: INRIA Rennes, FRANCE
Hi,

its not super comfy, but what you can do is to have some external process launch designer multiple times with different configurations. For this you can use Matlab, Python, R or even a shell script if you're comfy with it.

Basically, you should loop over your electrode configurations with a block like this (pseudocode)

Code:
trythese=1;2;4
call openvibe-designer.cmd --define electrodes $trythese$ --no-gui --play-fast scenario.xml
read the result somehow.


and then in the scenario.xml, configure the channel selector to use token ${electrodes} as the channels to pick.

ps. since you're likely doing science and want to compare results, make sure the estimate you're looking at is not optimistic. My recommendation is to use separate train and test sets. For some more detail, see http://openvibe.inria.fr/tutorial-how-t ... te-better/ .

Cheers,
Jussi


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Americanized by Maƫl Soucaze.