j143 commented on a change in pull request #933:
URL: https://github.com/apache/systemml/pull/933#discussion_r434685969



##########
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:
       
   
   
   
   Thanks a lot for persistent work on this, @t201
    The following snippet would help as a starting point.
   ```
   X = rand (rows = 10, cols = 10)
   kmeans(X = X, k = 0, runs = 10, max_iter = 1000, is_verbose = FALSE, 
avg_sample_size_per_centroid = 50)
   ```




----------------------------------------------------------------
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


Reply via email to