GithubHelp home page GithubHelp logo

adipolak / scaling-machine-learning-course Goto Github PK

View Code? Open in Web Editor NEW
21.0 3.0 15.0 13.24 MB

Scaling Machine Learning in Three Week course in a collaboration with O'Reilly following the guidance of Adi Polak's book - Scaling Machine Learning with Spark

Home Page: https://amzn.to/3WgHQvd

Jupyter Notebook 100.00%
apache-spark course distributed-systems machine-learning mlflow scaling-algorithms

scaling-machine-learning-course's Introduction

Scaling machine learning in 3 weeks course

Scaling Machine Learning in Three Week course in a collaboration with O'Reilly following the guidance in this book.

This project contains the example code and solutions to the exercises in O'Reilly course.

Course description

Join expert Adi Polak to go in-depth into Spark, the most widely used technology in the data and machine learning ecosystem. You’ll gain hands-on experience building a scalable ML workflow with PySpark and MLflow, and you’ll learn how to deploy machine learning and reproduce your experiments.

Quick Start

Prerequisites:

  • make sure you have docker installed, if not skip to the notebooks viewer.

From you local terminal, clone this repository, and enter the scaling-machine-lerning-course directory with

gh repo clone adipolak/scaling-machine-learning-course
cd scaling-machine-learning-course

From the scaling-machine-lerning-course directory, run the following docker run command:

docker run -it --memory="28g" --memory-swap="30g"  -p 8888:8888 --mount type=bind,source=$(pwd),target=/home/jovyan adipolak/ml-with-apache-spark

From here, you will see the docker run output, make sure to copy the url with the token, it would look something like this:

http://127.0.0.1:8888/?token=379fbbea91af62751b2616331d688f7a45db215b62dcfb04

Just want to quickly look at some notebooks, without executing any code?

Brows it on the Juypyter.org notebook viewer

FAQ

Is AMD/new M1/M2 supported? Not currently, in the future I will add support for those as well.

I get Py4JJavaError: An error occurred while calling o{some number}.parquet. (Reading Parquet file), what to do? From Jupyter enter the terminal and validate your Java version, given that we use Spark 3.1.1 it should be openjdk version "11.0.11". You local Java runtime should be of the same version - local Java runtime - is the Java that installed on the machine where you are running your docker from.

Which Apache Spark version should I use? The apache spark version is 3.1.1

Contributors

I want to thank everyone who contributed to this project by providing helpful feedback, filing issues, or submitting Pull Requests. If you would like to contribute, please feel free to submit a pull request, or reach out on @AdiPolak.

scaling-machine-learning-course's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.