OpenViBE forum
http://openvibe.inria.fr/forum/

Only use part of the data for the classifier trainer
http://openvibe.inria.fr/forum/viewtopic.php?f=6&t=9696
Page 1 of 1

Author:  klaro [ Sat Oct 15, 2016 1:14 pm ]
Post subject:  Only use part of the data for the classifier trainer

Hi,

is it somehow possible to only use the last n minutes instead of the all the data from a generic stream reader file for the classifier trainer?

Best,
klaro

Author:  jtlindgren [ Fri Oct 21, 2016 12:27 pm ]
Post subject:  Re: Only use part of the data for the classifier trainer

One idea I can think of is to make a .lua stimulation filter script for the Lua Stimulator box that would work in a following way,

- if time is less than t, drop the stimulations that control epoching
- Otherwise, pass the stimulations on

Then use this .lua filter after the file reader to process the stimulation stream.

You can find example of a lua filter in

share/openvibe/scenarios/bci-examples/p300-speller/p300-speller-filter-flash.lua


Happy hacking,
Jussi

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/