Skip to content

Commit

Permalink
DOC(BF): fix assumption about chunks indexes in tutorial_classifiers
Browse files Browse the repository at this point in the history
before we started numbering of chunks from 0.
In openfmri layout of the tutorial we start with 1 (e.g. run001)
that is why odd/even runs notion flips (we start with odd 1 now, not even 0 as before).
  • Loading branch information
yarikoptic committed Dec 16, 2014
1 parent 99e37ed commit f1f0c9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/source/tutorial_classifiers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ now, hence lower values represent more accurate classification.
>>> clf.train(ds_split2)
>>> err = clf(ds_split1)
>>> print np.asscalar(err)
0.125
0.0

In this case, our choice of which half of the dataset is used for training and
which half for testing was completely arbitrary, hence we could also estimate
Expand All @@ -122,7 +122,7 @@ the transfer error after swapping the roles:
>>> clf.train(ds_split1)
>>> err = clf(ds_split2)
>>> print np.asscalar(err)
0.0
0.125

We see that on average the classifier error is really low, and we achieve an
accuracy level comparable to the results reported in the original study.
Expand Down Expand Up @@ -196,8 +196,8 @@ fold.
>>> len(cv_results)
2
>>> cv_results.samples
array([[ 0. ],
[ 0.125]])
array([[ 0.125],
[ 0. ]])

..
Disable for now as this doesn't work that way anymore. Look at RepeatedMeasure
Expand Down

0 comments on commit f1f0c9f

Please sign in to comment.