ramesesz commented on code in PR #1990:
URL: https://github.com/apache/systemds/pull/1990#discussion_r1468876269


##########
scripts/builtin/tSNE.dml:
##########
@@ -72,6 +106,13 @@ m_tSNE = function(Matrix[Double] X, Integer reduced_dims = 
2, Integer perplexity
     sumW = rowSums(W)
     g = Y * sumW - W %*% Y
     dY = momentum*dY - lr*g
+
+    norm = sum(dY^2)
+    if(is_verbose & itr %%10 ==0){

Review Comment:
   Should this be a new input parameter or just a static variable in the script?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to