Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Minor changes in debug message text
  • Loading branch information
snikumbh committed Jan 4, 2018
1 parent 0c04285 commit 3ae5a5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion comik_main_with_weight_vector.m
Expand Up @@ -169,7 +169,7 @@
% setting default value for segmentSizePercentage.
% Currently, this is the only valid value.
segmentSizeInPercentage = 0;
logMessages(debugMsgLocation,sprintf('All bags...'), debugLevel);
logMessages(debugMsgLocation,sprintf('Collecting all bags...'), debugLevel);
tic;
idx1 = 0;
thisInstances = [];
Expand Down
4 changes: 2 additions & 2 deletions computeInstanceWideKernel.m
Expand Up @@ -35,7 +35,7 @@
if nargin < 3
debugMsgLocation = 1;
debugLevel = 2;
sparceComputation = 0;
sparseComputation = 0;
end
logMessages(debugMsgLocation, sprintf('Onto compute the Std MI kernel\n'), debugLevel);
nBags = length(allSeqsAsBags);
Expand All @@ -54,7 +54,7 @@
for i=1:nBags
allSeqsAsMat(:, instanceStarts(i): instanceEnds(i)) = allSeqsAsBags{i};
end
logMessages(debugMsgLocation, sprintf('Loop completed in %.4f seconds\n', toc), debugLevel);
logMessages(debugMsgLocation, sprintf('Loop converting cells to matrix completed in %.4f seconds\n', toc), debugLevel);
% Above is a looping version instead of cell2mat (see next line). This takes
% nearly half the time for really long sequences and too many instances.
% tic; allSeqsAsMat = cell2mat(allSeqsAsBags); toc;
Expand Down

0 comments on commit 3ae5a5f

Please sign in to comment.