Coder Social home page Coder Social logo

faadal / spark-pipeline Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brkyvz/spark-pipeline

0.0 2.0 0.0 85 KB

Example End-to-End Data Pipeline with Apache Spark from Data Analysis to Data Product

License: MIT License

HTML 89.59% Scala 10.41%

spark-pipeline's Introduction

spark-pipeline

Example End-to-End Data Pipeline with Apache Spark from Data Analysis to Data Product

Scenario

As an e-commerce company, we would like to recommend products that users may like in order to increase sales and profit.

Notebooks / Source Code

The notebooks are accessible at http://brkyvz.github.io/spark-pipeline.

Right now, only Scala examples are available.

Procedure

This example pipeline shows steps on how to start with analyzing your data, training a machine learning model, and then monitoring the health of your web service using Spark.

  • Step 1: We will first start out by analyzing our data. If you don't have a dataset readily available, feel free to use the movielens dataset provided with Spark. You may use the code available under step-0/movielens.scala for this purpose.

  • Step 2: We will train a recommender system using Spark ML's ALS algorithm. We will use cross-validation to pick the best hyper-parameters and then make predictions on a test dataset. The model then can be exported to a database, such as Cassandra, for interactive querying through a Web Service.

  • Step 3: We will monitor the response times of our web services using Spark Streaming and send notifications when we come across an anomalous web service.

Contributing

Feel free to submit comments, issues using the issues section. Source code contributions for other languages, (python, java) are welcome!

spark-pipeline's People

Contributors

brkyvz avatar

Watchers

 avatar  avatar

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.