io.siddhi.extension.execution.streamingml.clustering.kmeans.util

## Class Trainer

- java.lang.Object
- - io.siddhi.extension.execution.streamingml.clustering.kmeans.util.Trainer

- All Implemented Interfaces:
    Runnable

      public class Trainer
      extends Object
      implements Runnable

  trains the model using a separate thread when the batch size is larger than a specified value

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `run()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### run

          public void run()

      Specified by:
        `run` in interface `Runnable`

Copyright © 2025 WSO2. All rights reserved.