io.siddhi.extension.execution.streamingml.classification.perceptron.util

## Class PerceptronModelsHolder

- java.lang.Object
- - io.siddhi.extension.execution.streamingml.classification.perceptron.util.PerceptronModelsHolder

-     public class PerceptronModelsHolder
      extends Object

  Data holder which keeps the instances of @`PerceptronModel`

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addPerceptronModel(String name, PerceptronModel model)`
    `void` | `deletePerceptronModel(String name)`
    `PerceptronModel` | `getClonedPerceptronModel(String modelName)`
    `static PerceptronModelsHolder` | `getInstance()`
    `PerceptronModel` | `getPerceptronModel(String name)`
    `Map<String,PerceptronModel>` | `getPerceptronModelMap()`
    `void` | `setPerceptronModelMap(Map<String,PerceptronModel> modelsMap)`

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

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

- - ### Method Detail

    - #### getInstance

          public static PerceptronModelsHolder getInstance()

    - #### getPerceptronModelMap

          public Map<String,PerceptronModel> getPerceptronModelMap()

    - #### getClonedPerceptronModel

          public PerceptronModel getClonedPerceptronModel(String modelName)

    - #### setPerceptronModelMap

          public void setPerceptronModelMap(Map<String,PerceptronModel> modelsMap)

    - #### getPerceptronModel

          public PerceptronModel getPerceptronModel(String name)

    - #### deletePerceptronModel

          public void deletePerceptronModel(String name)

    - #### addPerceptronModel

          public void addPerceptronModel(String name,
                                         PerceptronModel model)

Copyright © 2025 WSO2. All rights reserved.