Skip to content

Commit

Permalink
Update PPL Kmeans example (#6010) (#6013)
Browse files Browse the repository at this point in the history
Fixes #3026


(cherry picked from commit 9dabda8)

Signed-off-by: Naarcha-AWS <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent fd44e1e commit c708752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _search-plugins/sql/ppl/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ The example shows how to classify three Iris species (Iris setosa, Iris virginic
PPL query:

```sql
os> source=iris_data | fields sepal_length_in_cm, sepal_width_in_cm, petal_length_in_cm, petal_width_in_cm | kmeans 3
os> source=iris_data | fields sepal_length_in_cm, sepal_width_in_cm, petal_length_in_cm, petal_width_in_cm | kmeans centroids=3
```

sepal_length_in_cm | sepal_width_in_cm | petal_length_in_cm | petal_width_in_cm | ClusterID
Expand Down

0 comments on commit c708752

Please sign in to comment.