From 92462990527cdf00840492c2d093a15fc300274b Mon Sep 17 00:00:00 2001 From: Sarvesh Prakash Nikumbh Date: Mon, 31 Jul 2017 15:21:46 +0200 Subject: [PATCH] minor edit for error in comik_wrapper --- comik_wrapper.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comik_wrapper.m b/comik_wrapper.m index ee58089..ba8615a 100644 --- a/comik_wrapper.m +++ b/comik_wrapper.m @@ -108,7 +108,7 @@ 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)];