/siddhi-execution-streamingml

Primary LanguageJavaApache License 2.0Apache-2.0

siddhi-execution-streamingml

The siddhi-execution-streamingml is an extension to Siddhi that performs streaming machine learning on event streams.

Find some useful links below:

Latest API Docs

Latest API Docs is 1.0.17.

How to use

Using the extension in WSO2 Stream Processor

  • You can use this extension in the latest WSO2 Stream Processor that is a part of WSO2 Analytics offering, with editor, debugger and simulation support.

  • This extension is shipped by default with WSO2 Stream Processor, if you wish to use an alternative version of this extension you can replace the component jar that can be found in the <STREAM_PROCESSOR_HOME>/lib directory.

Using the extension as a java library

  • This extension can be added as a maven dependency along with other Siddhi dependencies to your project.
     <dependency>
        <groupId>org.wso2.extension.siddhi.execution.streamingml</groupId>
        <artifactId>siddhi-execution-streamingml</artifactId>
        <version>x.x.x</version>
     </dependency>

Features

  • kMeansIncremental (Stream Processor)

    Performs K-Means clustering on a streaming data set. Data points can be of any dimension and the dimensionality is calculated from number of parameters. All data points to be processed by a query should be of the same dimensionality. The Euclidean distance is taken as the distance metric. The algorithm resembles Sequential K-Means Clustering at https://www.cs.princeton.edu/courses/archive/fall08/cos436/Duda/C/sk_means.htm

  • kMeansMiniBatch (Stream Processor)

    Performs K-Means clustering on a streaming data set. Data points can be of any dimension and the dimensionality is calculated from number of parameters. All data points to be processed in a single query should be of the same dimensionality. The Euclidean distance is taken as the distance metric. The algorithm resembles mini-batch K-Means. (refer Web-Scale K-Means Clustering by D.Sculley, Google, Inc.).

  • perceptronClassifier (Stream Processor)

    This extension predicts using a linear binary classification Perceptron model.

  • updatePerceptronClassifier (Stream Processor)

    This extension builds/updates a linear binary classification Perceptron model.

How to Contribute

Contact us

Support

  • We are committed to ensuring support for this extension in production. Our unique approach ensures that all support leverages our open development methodology and is provided by the very same engineers who build the technology.

  • For more details and to take advantage of this unique opportunity contact us via http://wso2.com/support/.