|Project Name||Stars||Downloads||Repos Using This||Packages Using This||Most Recent Commit||Total Releases||Latest Release||Open Issues||License||Language|
|Spark Py Notebooks||1,515||2 months ago||9||other||Jupyter Notebook|
|Apache Spark & Python (pySpark) tutorials for Big Data Analysis and Machine Learning as IPython / Jupyter notebooks|
|Findspark||428||101||35||a year ago||14||February 11, 2022||12||bsd-3-clause||Python|
|Pyspark Pictures||149||2 years ago||1||mit||Jupyter Notebook|
|Learn the pyspark API through pictures and simple examples|
|Spark R Notebooks||109||6 years ago||other||Jupyter Notebook|
|R on Apache Spark (SparkR) tutorials for Big Data analysis and Machine Learning as IPython / Jupyter notebooks|
|Pyspark Setup Guide||54||6 years ago||Jupyter Notebook|
|A guide for setting up Spark + PySpark under Ubuntu linux|
|Ipython Notebook Spark||9||7 years ago||Python|
|ipython notebook with spark in action|
|Spark Examples||7||7 years ago||apache-2.0||Jupyter Notebook|
|Spark examples to go with me presentation on 10/25/2014|
|Pyspark Tutorial||4||5 years ago||Jupyter Notebook|
|Tutorial for pyspark|
|Sparkintroduction||3||8 years ago||mit|
|Contains IPython notebook with examples from Spark Introduction workshop|
|Spark_tutorial||3||3 years ago||1||gpl-2.0||Jupyter Notebook|
This is a collection of IPython notebook/Jupyter notebooks intended to train the reader on different Apache Spark concepts, from basic to advanced, by using the Python language.
If Python is not your language, and it is R, you may want to have a look at our R on Apache Spark (SparkR) notebooks instead. Additionally, if your are interested in being introduced to some basic Data Science Engineering, you might find these series of tutorials interesting. There we explain different concepts and applications using Python and R.
A good way of using these notebooks is by first cloning the repo, and then
starting your own IPython notebook/Jupyter in
pySpark mode. For example, if we have a standalone Spark installation
running in our
localhost with a maximum of 6Gb per node assigned to IPython:
MASTER="spark://127.0.0.1:7077" SPARK_EXECUTOR_MEMORY="6G" IPYTHON_OPTS="notebook --pylab inline" ~/spark-1.5.0-bin-hadoop2.6/bin/pyspark
Notice that the path to the
pyspark command will depend on your specific
installation. So as requirement, you need to have
Spark installed in
the same machine you are going to start the
IPython notebook server.
For more Spark options see here. In general it works the rule of passing options
described in the form
We will be using datasets from the KDD Cup 1999. The results of this competition can be found here.
The reference book for these and other Spark related topics is:
The following notebooks can be examined individually, although there is a more or less linear 'story' when followed in sequence. By using the same dataset they try to solve a related set of tasks with it.
About reading files and parallelize.
A look at
RDD sampling methods explained.
Brief introduction to some of the RDD pseudo-set operations.
How to deal with key/value pairs in order to aggregate and explore data.
A notebook introducing Local Vector types, basic statistics in MLlib for Exploratory Data Analysis and model selection.
Labeled points and Logistic Regression classification of network attacks in MLlib. Application of model selection techniques using correlation matrix and Hypothesis Testing.
Use of tree-based methods and how they help explaining models and feature selection.
In this notebook a schema is inferred for our network interactions dataset. Based on that, we use
DataFrame abstraction to perform a more structured exploratory data analysis.
Beyond the basics. Close to real-world applications using Spark and other technologies.
Same tech stack this time with an AngularJS client app.
This tutorial can be used independently to build a movie recommender model based on the MovieLens dataset. Most of the code in the first part, about how to use ALS with the public MovieLens dataset, comes from my solution to one of the exercises proposed in the CS100.1x Introduction to Big Data with Apache Spark by Anthony D. Joseph on edX, that is also publicly available since 2014 at Spark Summit.
There I've added with minor modifications to use a larger dataset and also code about how to store and reload the model for later use. On top of that we build a Flask web service so the recommender can be use to provide movie recommendations on-line.
My try using Spark with this classic dataset and Knowledge Discovery competition.
Contributions are welcome! For bug reports or requests please submit an issue.
Feel free to contact me to discuss any issues, questions, or comments.
This repository contains a variety of content; some developed by Jose A. Dianes, and some from third-parties. The third-party content is distributed under the license provided by those parties.
The content developed by Jose A. Dianes is distributed under the following license:
Copyright 2016 Jose A Dianes Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.