O'Reilly logo

Learning Storm by Anand Nalya, Ankit Jain

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Trident-ML

We introduced Trident in Chapter 5, Exploring High-level Abstraction in Storm with Trident, of this book. Trident-ML (GitHub repository: https://github.com/pmerienne/trident-ml) is an online machine-learning library written over Trident that can be used to implement machine-learning algorithms in Storm applications.

It supports the following algorithms out of the box:

  • Linear classification
  • Linear regression
  • K-means clustering
  • Feature normalization
  • Text feature extraction
  • Stream statistics (count, mean, variance, and standard deviation)

If the algorithm you are looking for is not implemented in Trident-ML, you can easily implement it. Trident-ML also comes with a very useful pretrained Twitter sentiment analyzer.

In Trident-ML, various ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required