
In this video, we will touch on every aspect of the standard data workflow process, including collecting, cleaning, investigating, visualizing, and modeling data. This video gives an overview of the entire title.
Jupyter Notebooks are one of the most important tools for data scientists using Python. This is because they're an ideal environment for developing reproducible data analysis pipelines. The video covers:
Lesson Objectives
Lesson Map
Introduction to Jupyter Notebooks
Jupyter Notebooks Versus Comparable Platforms
In this video, we will first demonstrate the usefulness of Jupyter Notebooks with examples and through discussion. Then, in order to cover the fundamentals of Jupyter Notebooks for beginners, we'll see the basic usage of them in terms of launching and interacting with the platform. For those who have used Jupyter Notebooks before, this will be mostly a review; however, you will certainly see new things in this topic as well. This video covers:
What is a Jupyter Notebook and Why is it Useful?
What is Markdown
Why is Jupyter Useful?
Jupyter Notebook Use Cases
Demo on Introducing Jupyter Notebooks
Demo on Exploring some of Jupyter's Most Useful Features
Demo on Converting a Jupyter Notebook to a Python Script
In this video, we will explore the useful features of Jupyter with the following demos:
Demo on Exploring some of Jupyter's Most Useful Features
Demo on Converting a Jupyter Notebook to a Python Script
Having now seen all the basics of Jupyter Notebooks, and even some more advanced features, we'll shift our attention to the Python libraries we'll be using in this course. Libraries, in general, extend the default set of Python functions. Examples of commonly used standard libraries are datetime, time, and os. This video covers:
Python Libraries
External Data Science Libraries
Demo on Importing The External Libraries And Set Up The Plotting Environment
So far, this lesson has focused on the features and basic usage of Jupyter. Now, we'll put this into practice and do some data exploration and analysis. The dataset we'll look at in this section is the so-called Boston housing dataset. This video covers:
Boston Housing Dataset
Exploration and Analysis Plan
Loading the Data
Demo on Loading the Boston Housing Dataset
Data Exploration
Demo on Exploring the Boston Housing Dataset
Continuing our analysis of the Boston housing dataset, we can see that it presents us with a regression problem where we predict a continuous target variable given a set of features. We’ll be predicting the median house value (MEDV). This video covers:
Introduction to Predictive Analytics
Demo on Linear Models with Seaborn And Scikit-learn
Building and Exploring Categorical Features
Demo on Create Categorical Fields from Continuous Variables And Make Segmented Visualizations
This video summarizes your learning.
The goal of data analytics in general is to uncover actionable insights that result in positive business outcomes. In the case of predictive analytics, the aim is to do this by determining the most likely future outcome of a target, based on previous trends and patterns. This video covers:
Lesson Objectives
Lesson Map
Predictive Analytics
Here, we will cover the preparation required to train a predictive model. Although not as technically glamorous as training the models themselves, this step should not be taken lightly. It's very important to ensure you have a good plan before proceeding with the details of building and training a reliable model. This video covers:
Preparing to Train a Predictive Model
Determining a Plan for Predictive Analytics
Identify the Problem and Data Sources
Project Framework
Preparing Data for Machine Learning
Examples of Unclean Data
Now that you've decided on the right plan, let us follow the technical steps in preparing the data for modeling. These are critical steps and should not be overlooked. This video covers:
Demo on Exploring Data Pre-processing Tools and Methods
Demo on Preparing to Train a Predictive Model for the Employee-Retention Problem
As we've already seen in the previous lesson, using libraries such as scikit-learn and platforms such as Jupyter, predictive models can be trained in just a few lines of code. This is possible by abstracting away the difficult computations involved with optimizing model parameters. In other words, we deal with a black box where the internal operations are hidden instead. With this simplicity also comes the danger of misusing algorithms, for example, by overfitting during training or failing to properly test on unseen data. We'll show how to avoid these pitfalls while training classification models and produce trustworthy results with the use of k-fold cross validation and validation curves. This video covers:
Regression and Classification
Binary and Multi-class Classification
Classification Models
Demo on Training Two-feature Classification Models with Scikit-learn
Demo on Training k-nearest Neighbors For Our Model
Demo - Training a Random Forest
Thus far, we have trained models on a subset of the data and then assessed performance on the unseen portion, called the test set. This is good practice because the model performance on training data is not a good indicator of its effectiveness as a predictor. It's very easy to increase accuracy on a training dataset by overfitting a model, which can result in poorer performance on unseen data. This video covers:
Assessing Models with K-Fold Cross-Validation and Validation Curves
K-Fold Cross Validation
K-Fold Cross Validation Algorithm
Stratified –fold
Validation Curves
Demo on Using K-fold Cross Validation and Validation Curves in Python with Scikit-learn
Dimensionality Reduction Techniques
Principal Component Analysis (PCA)
Key Insights of PCA
Demo on Training a Predictive Model For The Employee Retention Problem
This video summarizes your learning.
So far in the earlier videos, we have focused on using Jupyter to build reproducible data analysis pipelines and predictive models. We'll continue to explore these topics in this video, but the main focus here is data acquisition. We will see how data can be acquired from the web using HTTP requests. This will involve scraping web pages by requesting and parsing HTML. We will then wrap up this video by using interactive visualization techniques to explore the data we've collected. This video covers:
Lesson Objectives
Lesson Map
Introduction to Web Scraping
Interactive Visualization
In the spirit of leveraging the internet as a database, we can think about acquiring data from web pages either by scraping content or by interfacing with web APIs. Generally, scraping content means getting the computer to read data that was intended to be displayed in a human-readable format. This is in contradistinction to web APIs, where data is delivered in machine-readable formats – the most common being JSON. This video covers:
Web Scraping
Introduction to HTTP Requests
HTTP Methods
Making HTTP Requests in the Jupyter Notebook
Demo on Handling HTTP requests with Python in a Jupyter Notebook
Parsing HTML with Jupyter Notebooks
Fundamentals of HTML
Demo on Parsing HTML with Python in a Jupyter Notebook
Demo - Web Scraping with Jupyter Notebooks
Visualizations are quite useful as a means of extracting information from a dataset. For example, with a bar graph it's very easy to distinguish the value distribution, compared to looking at the values in a table. Of course, as we have seen earlier in this course, they can be used to study patterns in the dataset that would otherwise be quite difficult to identify. They can be further used to help explain a dataset to an unfamiliar party. If included in a blog post, for example, they can boost reader interest levels and be used to break up blocks of text. This video covers:
Visualizations
Interactive Visualization
Pandas DataFrames
Demo on Building and Merging Pandas DataFrames
Data Visualization with Bokeh
Demo on Introduction to Interactive Visualizations with Bokeh
Demo on Exploring Data with Interactive Visualizations
This video summarizes your learning.
Getting started with data science doesn’t have to be an uphill battle. This step-by-step video course is ideal for beginners who know a little Python and are looking for a quick, fast-paced introduction. Get to grips with the skills you need for entry-level data science in this hands-on Python and Jupyter course. You’ll learn about some of the most commonly used libraries that are part of the Anaconda distribution, and then explore machine learning models with real datasets to give you the skills and exposure you need for the real world.We'll start with understanding the basics of Jupyter and its standard features. You'll be analyzing an example of a data analytics report. After analyzing a data analytics report, next step is to implement multiple classification algorithms. We’ll then show you how easy it can be to scrape and gather your own data from the open web, so that you can apply your new skills in an actionable context. Finish up by learning to visualize these data interactively.
About The Authors
Alex Galea has been doing data analysis professionally since graduating with a master's in physics from the University of Guelph in Canada. He developed a keen interest in Python while researching quantum gases as part of his graduate studies. More recently, Alex has been doing web data analytics, where Python continues to play a large part in his work. He frequently blogs about work and personal projects, which are generally data-centric and usually involve Python and Jupyter Notebooks.
Chris DallaVilla is the founder and CEO of VALID., an independent marketing consulting practice specializing in providing data-driven solutions that help chief marketing officers and their teams strengthen their planning and execution, and drive results. Chris has expertise in digital and social media marketing, as well as certifications in Agile, Google AdWords, and Google Analytics. He studied computer science at Harvard University, design technology at Massachusetts College of Art and Design, and advertising and marketing communications at the Questrom School of Business at Boston University.