From 2050899a231ddc076dbbf9797e98e62e850fc0a3 Mon Sep 17 00:00:00 2001 From: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> Date: Wed, 16 Mar 2022 16:33:59 -0500 Subject: [PATCH] Ad and Kmeans grammar edits (#500) Signed-off-by: Naarcha-AWS --- docs/user/ppl/cmd/ad.rst | 7 ++++--- docs/user/ppl/cmd/kmeans.rst | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/user/ppl/cmd/ad.rst b/docs/user/ppl/cmd/ad.rst index f73ff143a3..5c1b7fa618 100644 --- a/docs/user/ppl/cmd/ad.rst +++ b/docs/user/ppl/cmd/ad.rst @@ -11,7 +11,7 @@ ad Description ============ -| The ``ad`` command applies Random Cut Forest (RCF) algorithm in ml-commons plugin on the search result returned by a PPL command. Based on the input, two types of RCF algorithms will be utilized: fixed in time RCF for processing time-series data, batch RCF for processing non-time-series data. +| The ``ad`` command applies Random Cut Forest (RCF) algorithm in the ml-commons plugin on the search result returned by a PPL command. Based on the input, the command uses two types of RCF algorithms: fixed in time RCF for processing time-series data, batch RCF for processing non-time-series data. Fixed In Time RCF For Time-series Data Command Syntax @@ -34,7 +34,7 @@ ad Example1: Detecting events in New York City from taxi ridership data with time-series data ========================================================================================== -The example trains a RCF model and use the model to detect anomalies in the time-series ridership data. +The example trains an RCF model and uses the model to detect anomalies in the time-series ridership data. PPL query:: @@ -49,7 +49,7 @@ PPL query:: Example2: Detecting events in New York City from taxi ridership data with non-time-series data ============================================================================================== -The example trains a RCF model and use the model to detect anomalies in the non-time-series ridership data. +The example trains an RCF model and uses the model to detect anomalies in the non-time-series ridership data. PPL query:: @@ -59,3 +59,4 @@ PPL query:: |----------+--------+-----------| | 10844.0 | 0.0 | false | +----------+--------+-----------+ + diff --git a/docs/user/ppl/cmd/kmeans.rst b/docs/user/ppl/cmd/kmeans.rst index b4aa78d8e0..a70c000b71 100644 --- a/docs/user/ppl/cmd/kmeans.rst +++ b/docs/user/ppl/cmd/kmeans.rst @@ -11,7 +11,7 @@ kmeans Description ============ -| The ``kmeans`` command applies kmeans algorithm in ml-commons plugin on the search result returned by a PPL command. +| The ``kmeans`` command applies the kmeans algorithm in the ml-commons plugin on the search result returned by a PPL command. Syntax