<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Dear Hamza,<br>
<br>
'crossvalidate' is part of the Donders Machine Learning Toolbox
(DMLT). Formerly, it was known under a different name (afair MVA
or multivariate toolbox) but recently it became an external
toolbox and moved to the external/ folder. FieldTrip supports
external toolboxes but takes no initiative in adding them
automatically, so you need to it manually:<br>
addpath(genpath(fullfile('your_fieldtrip_folder', 'external',
'dmlt')))<br>
<br>
See also here:<br>
<a class="moz-txt-link-freetext" href="http://fieldtrip.fcdonders.nl/tutorial/multivariateanalysis">http://fieldtrip.fcdonders.nl/tutorial/multivariateanalysis</a><br>
<br>
Since Marcel and others, who are developing this toolbox or have
experience with using it, are on this mailinglist, feel free to
post further questions concerning DMLT to this list anyhow.<br>
<br>
Best regards,<br>
Jörn<br>
<br>
On 9/2/2012 5:48 PM, Hamza Fawzi Altakroury (Student) wrote:<br>
</div>
<blockquote
cite="mid:CADB5qVBW3jEY07pu5KON-LGQrOERwNQF=ReQ8iKxZisoiv71Yw@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,<br>
<br>
I am trying to classify my data using <span
style="font-family:courier new,monospace">ft_timelockstatistics</span>
function<br>
<br>
I am using the output of <span style="font-family:courier
new,monospace">ft_timelockanalysis</span> function and the
following options:<br>
<br>
<span style="font-family:courier new,monospace">cfg.layout =
'CTF275.lay';<br>
cfg.method = 'crossvalidate';<br>
cfg.design = [ones(size(class1.trial,1),1);
2*ones(size(class2.trial,1),1)]';<br>
</span><br>
But I got the following error:<br>
<br>
<span style="font-family:courier new,monospace">??? Undefined
variable "dml" or class "dml.standardizer".<br>
<br>
Error in ==> ft_statistics_crossvalidate at 44<br>
cfg.mva = dml.analysis({ ...<br>
<br>
Error in ==> statistics_wrapper at 306<br>
[stat] = statmethod(cfg, dat, design);<br>
<br>
Error in ==> ft_timelockstatistics at 110<br>
[stat, cfg] = statistics_wrapper(cfg, varargin{:});</span><br>
<br>
Did I forgot to add something?!<br>
<br>
Thanks<br clear="all">
<br>
-- <br>
Hamza Fawzi Altakroury<br>
Graduate student - MA<br>
Faculty of Engineering and Natural Sciences<br>
Sabancı University<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
<a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Jörn M. Horschig
PhD Student
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognitive Neuroimaging
Radboud University Nijmegen
Neuronal Oscillations Group
FieldTrip Development Team
P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands
Contact:
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:jm.horschig@donders.ru.nl">jm.horschig@donders.ru.nl</a>
Tel: +31-(0)24-36-68493
Web: <a class="moz-txt-link-freetext" href="http://www.ru.nl/donders">http://www.ru.nl/donders</a>
Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands</pre>
</body>
</html>