[FieldTrip] K-fold classification Multivariate Analysis

Irina Simanova irina.simanova at mpi.nl
Fri Mar 22 08:11:20 CET 2013


Dear Harsimrat,

yes, the method does randomize trials.
and each fold has trials of each class.
You can check the 'trainfolds' field in the statistic's output. The  
indexes of trials assigned to each fold are stored there.

best,
Irina


On Mar 21, 2013, at 8:08 PM 3/21/13, Harsimrat Singh wrote:

> Hello All
>
> A question @ the k-fold classification
> .
> Does cfg.method  = 'crossvalidate'; randomize the trials when it  
> builds the folds? And does each fold contains representative of each  
> class?
>
> OR
>
> Do I need to do this manually before I feed the data to  
> ft_freqstatistics?
>
> Best regards
> Harsimrat
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130322/8698cc1f/attachment-0001.html>


More information about the fieldtrip mailing list