K-Means Clustering (ML_CG_2)
This function groups similar data points into K clusters by iteratively assigning each data point to the nearest center and updating the cluster centers based on the mean of the assigned data points.
Sample Request
{
"project_id": 12,
"parent_id": 2,
"block_id": 3,
"function_code": "ML_CG_2_F",
"args": {
"n_clusters": 11,
"init": "k-means++",
"random_state": 42
}
}Request Body
Name
Type
Description
Sample Request
Building a K-Means Clustering model
K-Means Clustering
Request Body
Name
Type
Description
Sample Request
Predicting with K-Means Clustering
K-Means Clustering Predict
Request Body
Name
Type
Description
Last updated