Page 1 of 1

Only use part of the data for the classifier trainer

Posted: Sat Oct 15, 2016 1:14 pm
by klaro
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

Re: Only use part of the data for the classifier trainer

Posted: Fri Oct 21, 2016 12:27 pm
by jtlindgren
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