Page 1 of 1

StimulusPresentation offline classifier training

Posted: 17 Mar 2011, 09:30
by rm9
I'm trying to get the weights for a linear classifier from dat file I recorded with the StimulusPresentation.
Most of the "Offline Analysis" tools in BCI2000 are looking for the TargetDefinition matrix which exist only in the p300 speller task.

The P300Classifier either crashes or gives me an error of "dataset corrupted".
When I look at the soruce code for this message, again it's looking for a TargetDefinition matrix.

Am I missing some parameters in StimulusPresentation?

Thanks.

Re: StimulusPresentation offline classifier training

Posted: 30 Mar 2011, 21:03
by jawilson
Hello,
You can use the Offline Analysis tool in Matlab with the stimulus presentation task. You simply use StimulusCode==1 (or 2, 3, etc) for the conditions, and StimulusCode > 0 for the trial change. Unfortunately, this does not automatically generate the classification matrices for you, but it will give you an idea of which evoked response(s) are significant.
Adam

Re: StimulusPresentation offline classifier training

Posted: 31 Mar 2011, 07:12
by gschalk
The most recent version of the P300Classifier should work with StimulusPresentation.

Gerv