t201 commented on a change in pull request #933: URL: https://github.com/apache/systemml/pull/933#discussion_r434353641
########## File path: docs/builtins-reference.md ########## @@ -143,12 +139,13 @@ kmeans(x, centers, iter.max, nstart) | String |The output matrix with the centroids | + +**DML-bodied built-in functions** are written as DML-Scripts and executed as such when called. ### Example -KMeans = rand(Matrix x, centers k=0,int iter.max=25,int nstart=10) -return(Matrix[numerical] C,Matrix[numerical] Y) +```h2o.kmeans(x = predictors, k = 100, estimate_k = T, standardize = F, Review comment: I'm unable to find a small code snippet for Kmeans function in R which runs without any error on Collab. I tried with a lot of examples. Most of the times there is a syntax error. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org