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
Only use part of the data for the classifier trainer
-
- Posts: 775
- Joined: Tue Dec 04, 2012 3:53 pm
- Location: INRIA Rennes, FRANCE
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
- 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