ramesesz commented on code in PR #1990: URL: https://github.com/apache/systemds/pull/1990#discussion_r1468874941
########## scripts/builtin/tSNE.dml: ########## @@ -119,7 +161,7 @@ return(matrix[double] P) while (mean(abs(Hdiff)) > tol & itr < 50) { P = exp(-D * beta) P = P * ZERODIAG - sum_Pi = rowSums(P) + sum_Pi = rowSums(P) = 1e-12 Review Comment: My mistake, this should be `sum_Pi = rowSums(P) + 1e-12`. This is to prevent zero division errors that came up multiple times during the experiments. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@systemds.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org