Skip to content

Commit

Permalink
TST: always use balanced partitions
Browse files Browse the repository at this point in the history
  • Loading branch information
nno committed Sep 5, 2016
1 parent b857183 commit fd49786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_crossvalidation_measure.m
Expand Up @@ -218,7 +218,7 @@ function test_pca()
ds=struct();
ds.samples=randn(nsamples,nfeatures);
ds.sa.targets=mod(idxs,ntargets)+1;
ds.sa.chunks=mod(ceil(idxs/(ntargets*nchunks)),nchunks)+1;
ds.sa.chunks=mod(floor(idxs/(ntargets*nchunks)),nchunks)+1;

test_msk=ds.sa.chunks==nchunks;
partitions=struct();
Expand Down

0 comments on commit fd49786

Please sign in to comment.