All Projects → psychothan → Data Scientists Guide Apache Spark

psychothan / Data Scientists Guide Apache Spark

Best practices of using Spark for practicing data scientists in the context of a data scientist’s standard workflow.

Projects that are alternatives of or similar to Data Scientists Guide Apache Spark

Others
Stars: ✭ 112 (+0%)
Mutual labels:  jupyter-notebook
Hello World
Add any Program in any language you like or add a hello world Program ❣️ if you like give us ⭐
Stars: ✭ 1,464 (+1207.14%)
Mutual labels:  jupyter-notebook
Deep learning notes
a collection of my notes on deep learning
Stars: ✭ 112 (+0%)
Mutual labels:  jupyter-notebook
Ewc.pytorch
An implementation of EWC with PyTorch
Stars: ✭ 112 (+0%)
Mutual labels:  jupyter-notebook
Deepfashion2
DeepFashion2 Dataset https://arxiv.org/pdf/1901.07973.pdf
Stars: ✭ 1,628 (+1353.57%)
Mutual labels:  jupyter-notebook
Sigver wiwd
Learned representation for Offline Handwritten Signature Verification. Models and code to extract features from signature images.
Stars: ✭ 112 (+0%)
Mutual labels:  jupyter-notebook
Web Deep Learning Classifier
Deep Learning model to classify food (Web App)
Stars: ✭ 112 (+0%)
Mutual labels:  jupyter-notebook
Lab Workshops
Materials for workshops on text mining, machine learning, and data visualization
Stars: ✭ 112 (+0%)
Mutual labels:  jupyter-notebook
An Introduction To Statistical Learning
This repository contains the exercises and its solution contained in the book "An Introduction to Statistical Learning" in python.
Stars: ✭ 1,843 (+1545.54%)
Mutual labels:  jupyter-notebook
Carnd Tensorflow Lab
TensorFlow Lab for Self-Driving Car ND
Stars: ✭ 112 (+0%)
Mutual labels:  jupyter-notebook
Pydata Book
利用Python进行数据分析(https://read.douban.com/reader/ebook/15249337/)源代码整理版
Stars: ✭ 112 (+0%)
Mutual labels:  jupyter-notebook
Stock Market Analysis And Prediction
Stock Market Analysis and Prediction is the project on technical analysis, visualization and prediction using data provided by Google Finance.
Stars: ✭ 112 (+0%)
Mutual labels:  jupyter-notebook
Mlf Mlt
📚 机器学习基石和机器学习技法作业
Stars: ✭ 112 (+0%)
Mutual labels:  jupyter-notebook
Program synthesis
Program Synthesis
Stars: ✭ 112 (+0%)
Mutual labels:  jupyter-notebook
Python Bigdata
Data science and Big Data with Python
Stars: ✭ 112 (+0%)
Mutual labels:  jupyter-notebook
Lstm Gru Pytorch
LSTM and GRU in PyTorch
Stars: ✭ 109 (-2.68%)
Mutual labels:  jupyter-notebook
Audiosetdl
Scripts for downloading AudioSet
Stars: ✭ 112 (+0%)
Mutual labels:  jupyter-notebook
Nips2015 Action Conditional Video Prediction
Implementation of "Action-Conditional Video Prediction using Deep Networks in Atari Games"
Stars: ✭ 112 (+0%)
Mutual labels:  jupyter-notebook
Krisk
Statistical Interactive Visualization with pandas+Jupyter integration on top of Echarts.
Stars: ✭ 111 (-0.89%)
Mutual labels:  jupyter-notebook
Ml Study
ML Learning Sabbatical Study Materials
Stars: ✭ 112 (+0%)
Mutual labels:  jupyter-notebook

The Data Scientist's Guide to Apache Spark

Binder

This repo contains notebook exercises for a workshop teaching the best practices of using Spark for practicing data scientists in the context of a data scientist’s standard workflow. By leveraging Spark’s APIs for Python and R to present practical applications, the technology will be much more accessible by decreasing the barrier to entry.

Materials

For the workshop (and after) we will use a Discord chatroom to keep the conversation going: https://discord.gg/avj79xZ

And/or please do not hesitate to reach out to me directly via email at [email protected] or over twitter @memoryphoneme

The presentation can be found on Slideshare here.

Prerequisites

Prior experience with Python and the scientific Python stack is beneficial. Also knowledge of data science models and applications is preferred. This will not be an introduction to Machine Learning or Data Science, but rather a course for people proficient in these methods on a small scale to understand how to apply that knowledge in a distributed setting with Spark.

Setup

SparkR with a Notebook

  1. Install IRKernel
install.packages(c('rzmq','repr','IRkernel','IRdisplay'), repos = c('http://irkernel.github.io/', getOption('repos')))

IRkernel::installspec()
  1. Set environment variables:
# Example: Set this to where Spark is installed
Sys.setenv(SPARK_HOME="/Users/[username]/spark")

# This line loads SparkR from the installed directory
.libPaths(c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib"), .libPaths()))

# if these two lines work, you are all set
library(SparkR)
sc <- sparkR.init(master="local")

Data

link = 'http://hopelessoptimism.com/static/data/airline-data'

The notebooks use a few datasets. For the DonorsChoose data, you can read the documentation here and download a zip (~0.5 gb) from: http://hopelessoptimism.com/static/data/donors_choose.zip

IPython Console Help

Q: How can I find out all the methods that are available on DataFrame?

  • In the IPython console type sales.[TAB]

  • Autocomplete will show you all the methods that are available.

  • To find more information about a specific method, say .cov type help(sales.cov)

  • This will display the API documentation for that method.

Spark Documentation

Q: How can I find out more about Spark's Python API, MLlib, GraphX, Spark Streaming, deploying Spark to EC2?

  • Go to https://spark.apache.org/docs/latest

  • Navigate using tabs to the following areas in particular.

  • Programming Guide > Quick Start, Spark Programming Guide, Spark Streaming, DataFrames and SQL, MLlib, GraphX, SparkR.

  • Deploying > Overview, Submitting Applications, Spark Standalone, YARN, Amazon EC2.

  • More > Configuration, Monitoring, Tuning Guide.

References

Setup

History of Computing

Original Papers

Data Science with Spark

Distributed Computing

Spark Internals

Spark Performance

Spark Deployment

Plotly + Spark

word2Vec

The word2vec tool takes a text corpus as input and produces the word vectors as output. It first constructs a vocabulary from the training text data and then learns vector representation of words. The resulting word vector file can be used as features in many natural language processing and machine learning applications.

Theory/Application

Tools

Books on Spark

Learning Scala

Video Tutorials

Community

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].