Giter Site home page Giter Site logo

dyex719 / spark-algebird Goto Github PK

View Code? Open in Web Editor NEW

This project forked from artem0/spark-algebird

0.0 1.0 0.0 37 KB

Spark with probabilistic algortighmts - Bloom filter, HLL, QTree and Count-min sketch

License: GNU General Public License v3.0

Scala 100.00%

spark-algebird's Introduction

Spark Streaming and Algebird integration app

Spark and Alegebird integration

  1. Spark streaming + Tweeter streaming for displaying the most popular tweets
  2. Finding the number of unique users via HLL algorithm and comparison the result of output of HLL to usual algorithm of users count
  3. Seeking frequency of users id in single batch and in overall data stream via leveraging Count-min sketch algorithm and comparison the result of output of Count-min sketch algorithm to usual algorithm of "word count"
  4. Answering the question if collected tweets from batch contains specified word with some probability based on Bloom filter algorithm algorithm, validity of result which was obtained from bloom filter is checking via naive contains method.
  5. Example with Q Tree - the approximation of Map[Double,A:Monoid] suitable for range queries, quantile queries and etc
  6. Usage of MinHash/LSH, HyperLogLog, Bloom filter, Count-min sketch on Scala's collections

For launching demo: sbt runMain spark_algebird.demo.*

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.