Skip to content

stormprocessor/storm-ml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Online machine learning library on top of Storm

Usage

The perceptron topology is located at https://github.com/git2samus/storm-contrib/blob/ml-perceptron/storm-ml/

The class storm.ml.PerceptronDRPCTopology serves as a template for your particular implementation, currently the perceptron topology consists of two Storm topologies but in the future they'll be a single one wrapped on a specialized builder.

In order to use this topology you need to implement a spout that subclasses storm.ml.spout.BaseTrainingSpout for feeding your training data (storm.ml.spout.TrainingSpout is an example) the rest of the template remains the same.

You'll then have a DRPC implementation for the command "evaluate" which takes as a paramenter the string representation of a Double[] datatype, which answers your request with the evaluated result.

The current implementation requires a memcached instance/cluster to be running, it'll write on the key "weights" and you can download and install all the dependencies by running lein deps from leiningen.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published