Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions t_sne/returnCorrectSigma_sparse.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
else
test = true;
end

if isinf(sigma) || isnan(sigma)
error('Starting sigma is %0.02f, highGuess is %0.02f and lowGuess is %0.02f. This usually means there are zeros in wavelet amplitudes, could be present in trainingSet too.', sigma, highGuess, lowGuess)
end
while test

if P > perplexity
Expand Down Expand Up @@ -65,4 +67,4 @@