Data science Python notebooks: Deep learning (TensorFlow, Theano, Caffe, Keras), scikit-learn, Kaggle, big data (Spark, Hadoop MapReduce, HDFS), matplotlib, pandas, NumPy, SciPy, Python essentials, AWS, and various command lines.
Go to file
2015-05-31 09:59:13 -04:00
aws Removed mrjob hadoop mapreduce section, it was moved to its own notebook. 2015-04-16 06:57:46 -04:00
commands Added git command to undo commit but leave files and index. 2015-05-30 11:13:56 -04:00
data Reduced confusion matrix image, it was too wide and forced a horizontal scroll bar on nbviewer. 2015-03-25 07:56:39 -04:00
images Added svm animated gif. 2015-04-21 07:57:05 -04:00
kaggle Updated notebook to v3. 2015-05-31 08:53:16 -04:00
mapreduce Added section links to index. Some cleanup. 2015-05-31 05:38:04 -04:00
matplotlib Added credits. 2015-05-31 09:38:14 -04:00
numpy Added credits. Removed empty cell. 2015-05-31 09:38:47 -04:00
pandas Updated notebook to v3. 2015-05-17 07:37:09 -04:00
python-data Updated notebook to v3. 2015-05-14 06:55:50 -04:00
scikit-learn Added scikit-learn random forest notebook. 2015-05-31 09:59:13 -04:00
scipy Added scipy snippet skeleton package 2015-01-23 19:14:49 -05:00
spark Updated notebook to v3. 2015-05-24 10:49:36 -04:00
__init__.py Added __init__.py files 2015-01-23 16:08:32 -05:00
.gitignore Added repo scratch dir to ignore 2015-01-26 09:07:25 -05:00
LICENSE Added LICENSE 2015-01-23 16:07:56 -05:00
README.md Added scikit-learn random forest notebook. 2015-05-31 09:59:13 -04:00

data-science-ipython-notebooks

Continually updated Data Science IPython Notebooks: Spark, Hadoop MapReduce, HDFS, AWS, Kaggle, scikit-learn, matplotlib, pandas, NumPy, SciPy, Python, and various command lines.

This repo is a collection of IPython Notebooks I have created or reference while working with data.

Index


spark

IPython Notebook(s) demonstrating spark and HDFS functionality.

Notebook Description
spark In-memory cluster computing framework, up to 100 times faster for certain applications and is well suited for machine learning algorithms.
hdfs Reliably stores very large files across machines in a large cluster.

mapreduce-python

IPython Notebook(s) demonstrating Hadoop MapReduce with mrjob functionality.

Notebook Description
mapreduce-python Supports MapReduce jobs in Python with mrjob, running them locally or on Hadoop clusters.

aws

IPython Notebook(s) demonstrating Amazon Web Services (AWS) and AWS tools functionality.

Notebook Description
s3cmd Interacts with S3 through the command line.
s3distcp Combines smaller files and aggregates them together by taking in a pattern and target file. S3DistCp can also be used to transfer large volumes of data from S3 to your Hadoop cluster.
s3-parallel-put Uploads multiple files to S3 in parallel.
redshift Acts as a fast data warehouse built on top of technology from massive parallel processing (MPP).
kinesis Streams data in real time with the ability to process thousands of data streams per second.
lambda Runs code in response to events, automatically managing compute resources.

kaggle

IPython Notebook(s) used in kaggle competitions.

Notebook Description
titanic Predicts survival on the Titanic. Demonstrates data cleaning, exploratory data analysis, and machine learning.

scikit-learn

IPython Notebook(s) demonstrating scikit-learn functionality.

Credits: Forked from PyCon 2015 Scikit-learn Tutorial by Jake VanderPlas

Notebook Description
scikit-learn-intro Intro notebook to scikit-learn. Scikit-learn adds Python support for large, multi-dimensional arrays and matrices, along with a large library of high-level mathematical functions to operate on these arrays.
scikit-learn-knn K-Nearest Neighbors.
scikit-learn-linear-reg Linear regression.
scikit-learn-svm Support vector machine classifier, with and without kernels.
scikit-learn-random-forest Random forest classifier and regressor.
scikit-learn-k-means Coming Soon.
scikit-learn-pca Coming Soon.
scikit-learn-validation Coming Soon.

pandas

IPython Notebook(s) demonstrating pandas functionality.

Notebook Description
pandas Software library written for data manipulation and analysis in Python. Offers data structures and operations for manipulating numerical tables and time series.
pandas io Input and output operations.
pandas cleaning Data wrangling operations.

matplotlib

IPython Notebook(s) demonstrating matplotlib functionality.

Credits: Some content forked from Parallel Machine Learning with scikit-learn and IPython by Olivier Grisel

Notebook Description
matplotlib Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms.

numpy

IPython Notebook(s) demonstrating NumPy functionality.

Credits: Forked from Parallel Machine Learning with scikit-learn and IPython by Olivier Grisel

Notebook Description
numpy Adds Python support for large, multi-dimensional arrays and matrices, along with a large library of high-level mathematical functions to operate on these arrays.

scipy

[Coming Soon] IPython Notebook(s) demonstrating SciPy functionality.


python-data

IPython Notebook(s) demonstrating Python functionality geared towards data analysis.

Notebook Description
data structures Tuples, lists, dicts, sets.
data structure utilities Slice, range, xrange, bisect, sort, sorted, reversed, enumerate, zip, list comprehensions.
functions Functions as objects, lambda functions, closures, *args, **kwargs currying, generators, generator expressions, itertools.
datetime Datetime, strftime, strptime, timedelta.
logging Logging with RotatingFileHandler and TimedRotatingFileHandler.
pdb Interactive source code debugger.
unit tests Nose unit tests.

commands

IPython Notebook(s) demonstrating various command lines for Linux, Git, etc.

Notebook Description
linux Unix-like and mostly POSIX-compliant computer operating system. Disk usage, splitting files, grep, sed, curl, viewing running processes, terminal syntax highlighting, and Vim.
anaconda Distribution of the Python programming language for large-scale data processing, predictive analytics, and scientific computing, that aims to simplify package management and deployment.
ipython notebook Web-based interactive computational environment where you can combine code execution, text, mathematics, plots and rich media into a single document.
git Distributed revision control system with an emphasis on speed, data integrity, and support for distributed, non-linear workflows.
ruby Used to interact with the AWS command line and for Jekyll, a blog framework that can be hosted on GitHub Pages.
jekyll Simple, blog-aware, static site generator for personal, project, or organization sites. Renders Markdown or Textile and Liquid templates, and produces a complete, static website ready to be served by Apache HTTP Server, Nginx or another web server.

credits

license

Copyright 2015 Donne Martin

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.