Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
minor edit for error in comik_wrapper
  • Loading branch information
snikumbh committed Jul 31, 2017
1 parent 94241d6 commit 9246299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comik_wrapper.m
Expand Up @@ -108,7 +108,7 @@ posTestIndices = intersect(configParams.testIndices, posIndices);
negTestIndices = setdiff(configParams.testIndices, posIndices) - configParams.nPosSequences;

thisTestIndices{1} = configParams.testIndices;
for i=2:nOuterFolds
for i=2:configParams.nOuterFolds
thisPosTestIndices = circshift(posIndices, [0, (i-1)*length(posTestIndices)]);
thisNegTestIndices = circshift(negIndices, [0, (i-1)*length(negTestIndices)]) + length(posIndices);
thisTestIndices{i} = [thisPosTestIndices(end-(length(posTestIndices))+1:end) thisNegTestIndices(end-(length(negTestIndices))+1:end)];
Expand Down

0 comments on commit 9246299

Please sign in to comment.