diff --git a/docs/ml_get_event_certainty.md b/docs/ml_get_event_certainty.md index 0a64959..8345b66 100644 --- a/docs/ml_get_event_certainty.md +++ b/docs/ml_get_event_certainty.md @@ -6,7 +6,7 @@ Gets the latest certainty value for an ML action. ml.getCertainty(ml.event.Unknown) ``` -The ML model runs several times a second and calculates a certainty value for each action. The estimated action is the action with the highest certainty (an action is not considered when its certainty is below the recognition point). Some programs may want to access the certainty values directly, for example to display or log them. Most programs can use the estimated action instead of certainty values. +The ML model runs several times a second and calculates a certainty value for each action. The estimated action is the action with the highest certainty. An action cannot be the estimated action when its certainty is below the recognition point. Some programs may need to use the certainty values directly, for example to display or log them. Most programs can use the estimated action instead of certainty values. ## Parameters diff --git a/docs/ml_is_event_detected.md b/docs/ml_is_event_detected.md index 763d928..deebc7f 100644 --- a/docs/ml_is_event_detected.md +++ b/docs/ml_is_event_detected.md @@ -6,7 +6,7 @@ Checks if an ML action is the estimated action. ml.isDetected(ml.event.Unknown) ``` -The ML model updates its estimated action several times a second. This block compares the latest value of the estimated value to the action you choose. Use the boolean value to make logical decisions in your program. +The ML model updates its estimated action several times a second. This function compares the latest value of the estimated value to the action you choose. Use the boolean value to make logical decisions in your program. Some programs will be easier to write using the “on ML start” and “on ML stop” event handlers instead. diff --git a/docs/ml_on_event_start.md b/docs/ml_on_event_start.md index 3e294b4..02b9d16 100644 --- a/docs/ml_on_event_start.md +++ b/docs/ml_on_event_start.md @@ -1,6 +1,6 @@ # on ML start -Start an [event handler](/reference/event-handler) (part of the program that will run when something happens) This handler works when when the ML model’s estimated action changes to the action you select. +Start an [event handler](/reference/event-handler) (part of the program that will run when something happens). This handler works when when the ML model’s estimated action changes to the action you select. ```sig ml.onStart(ml.event.Unknown, function () { diff --git a/docs/ml_on_event_stop.md b/docs/ml_on_event_stop.md index e8e2b58..1caeed8 100644 --- a/docs/ml_on_event_stop.md +++ b/docs/ml_on_event_stop.md @@ -1,6 +1,6 @@ # on ML stop -Start an [event handler](/reference/event-handler) (part of the program that will run when something happens) This handler works when when the ML model’s estimated action changes to the action you select. +Start an [event handler](/reference/event-handler) (part of the program that will run when something happens). This handler works when when the ML model’s estimated action changes to the action you select. ```sig ml.onStop(ml.event.Unknown, function () { diff --git a/docs/ml_on_event_stop_detailed.md b/docs/ml_on_event_stop_detailed.md index ef2bee4..8ae45a4 100644 --- a/docs/ml_on_event_stop_detailed.md +++ b/docs/ml_on_event_stop_detailed.md @@ -1,6 +1,6 @@ # on ML stop -Start an [event handler](/reference/event-handler) (part of the program that will run when something happens) This handler works when when the ML model’s estimated action changes to the action you select. +Start an [event handler](/reference/event-handler) (part of the program that will run when something happens). This handler works when when the ML model’s estimated action changes to the action you select. ```sig ml.onStopDetailed(ml.event.Unknown, function (duration) {