Only use part of the data for the classifier trainer

About the GUI application to design signal processing pipelines
Post Reply
klaro
Posts: 4
Joined: Mon Jun 27, 2016 8:34 pm

Only use part of the data for the classifier trainer

Post 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

jtlindgren
Posts: 778
Joined: Tue Dec 04, 2012 3:53 pm
Location: INRIA Rennes, FRANCE

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

Post 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

Post Reply