Python Tutorial: Introducing convolutional neural networks
Key Takeaways
This video introduces convolutional neural networks (CNNs) using Python and the Keras library, covering the basics of image processing and how CNNs can be used for automated image processing.
Full Transcript
hello my name is Arielle Rowe chem and I am a data scientist in this course you will learn about convolutional neural networks or CN NS imagine that you work for a company that is building a self-driving car one of the challenges you face is that your car needs to quickly be able to determine what is happening around it for example your self-driving car should be able to tell whether the sign at an intersection is a stop sign or a good sign CNN's our powerful algorithms for processing images in fact these algorithms are currently the best algorithms we have for automated processing of images and they are used by many different companies to do things like identifying the objects in an image after completing this course you will be able to build an algorithm that processes images of different objects and can distinguish between them we will use Kerris which is a python-based library that implements the building blocks you need to build your own CNN's I assume that you have taken data camps deep learning course which introduces Kerris because CNN's are a type of machine learning algorithm I also assume that you have a working knowledge of basic principles of machine learning such as overfitting and model evaluation through cross-validation images contain data using matplotlib you can import an image into memory from a file and then display it using a plotting command as shown here but the computer doesn't see the image all it sees is an array of numbers color images are stored in three dimensional arrays the first two dimensions correspond to the height and width of the image the number of pixels the last dimension corresponds to the red and blue colours present in each pixel to examine the red green and blue data in a particular pixel in the image we index into both of the spatial dimensions of the image for example when we index on both of the spatial dimensions we can choose a pixel that is inside the stop sign by setting the row index to a thousand and the column index to 1500 this pixel has a high intensity in the red channel so this is its color on the other hand the pixel with row index 250 and column index of 3500 is in the part of the image containing the sky and has high intensity in the blue channel so it has this color we can also change the image by changing the array data for example here we set the green and blue values of the pixels to zero the result is an image that contains only the information in the red channel well turn ative Lee we could set all the pixels within some part of the image to have no red and no blue but full intensity in the green Channel this results in an image with a green square in it in this course we will mostly look at black and white images for example consider these three images of three different items of clothing a dress a t-shirt and a shoe what the computer sees are the numbers that represent the intensity of the image in each pixel high numbers represent parts of the image that are brighter and low numbers represent parts of the image that are darker in these images as well we can select a part of the image using indexing on the rows and columns of the array and slicing and change part of the array using assignment now it's your turn
Original Description
Want to learn more? Take the full course at https://learn.datacamp.com/courses/image-processing-with-keras-in-python at your own pace. More than a video, you'll learn hands-on coding & quickly apply skills to your daily work.
---
Hello! My name is Ariel Rokem and I am a data scientist. In this course, you will learn about convolutional neural networks, or CNNs. Imagine that you work for a company that is building a self-driving car. One of the challenges you face is that your car needs to quickly be able to determine what is happening around it.
For example, your self-driving car should be able to tell whether the sign at an intersection is a stop sign, , or a yield sign. CNNs are powerful algorithms for processing images. In fact, these algorithms are currently the best algorithms we have for automated processing of images, and they are used by many different companies to do things like identifying the objects in an image. After completing this course, you will be able to build an algorithm that processes images of different objects and can distinguish between them.
We will use Keras, which is a Python-based library that implements the building blocks you need to build your own CNNs. I assume that you have taken DataCamp's Deep Learning course which introduces Keras. Because CNNs are a type of machine learning algorithm, I also assume that you have a working knowledge of basic principles of machine learning, such as overfitting, and model evaluation through cross-validation.
Images contain data. Using Matplotlib, you can import an image into memory from a file and then display it using a plotting command, as shown here., but the computer doesn't see the image. All it sees is an array of numbers. Color images are stored in 3-dimensional arrays. The first two dimensions correspond to the height and width of the image (the number of pixels). The last dimension corresponds to the red, green and blue colors present in each pixel.
To examine the red, green and blu
Playlist
Uploads from DataCamp · DataCamp · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
SQL Server Tutorial: Date manipulation
DataCamp
R Tutorial: Intermediate Interactive Data Visualization with plotly in R
DataCamp
R Tutorial: Adding aesthetics to represent a variable
DataCamp
R Tutorial: Moving Beyond Simple Interactivity
DataCamp
Python Tutorial: Why use ML for marketing? Strategies and use cases
DataCamp
Python Tutorial: Preparation for modeling
DataCamp
Python Tutorial: Machine Learning modeling steps
DataCamp
R Tutorial: The prior model
DataCamp
R Tutorial: Data & the likelihood
DataCamp
R Tutorial: The posterior model
DataCamp
R Tutorial: An Introduction to plotly
DataCamp
R Tutorial: Plotting a single variable
DataCamp
R Tutorial: Bivariate graphics
DataCamp
Python Tutorial: Customer Segmentation in Python
DataCamp
Python Tutorial: Time cohorts
DataCamp
Python Tutorial: Calculate cohort metrics
DataCamp
Python Tutorial: Cohort analysis visualization
DataCamp
R Tutorial: Building Dashboards with flexdashboard
DataCamp
R Tutorial: Anatomy of a flexdashboard
DataCamp
R Tutorial: Layout basics
DataCamp
R Tutorial: Advanced layouts
DataCamp
Python Tutorial: Time Series Analysis in Python
DataCamp
Python Tutorial: Correlation of Two Time Series
DataCamp
Python Tutorial: Simple Linear Regressions
DataCamp
Python Tutorial: Autocorrelation
DataCamp
R Tutorial: The gapminder dataset
DataCamp
R Tutorial: The filter verb
DataCamp
R Tutorial: The arrange verb
DataCamp
R Tutorial: The mutate verb
DataCamp
R Tutorial: What is cluster analysis?
DataCamp
R Tutorial: Distance between two observations
DataCamp
R Tutorial: The importance of scale
DataCamp
R Tutorial: Measuring distance for categorical data
DataCamp
Python Tutorial: Plotting multiple graphs
DataCamp
Python Tutorial: Customizing axes
DataCamp
Python Tutorial: Legends, annotations, & styles
DataCamp
Python Tutorial: Introduction to iterators
DataCamp
Python Tutorial: Playing with iterators
DataCamp
Python Tutorial: Using iterators to load large files into memory
DataCamp
SQL Tutorial: Introduction to Relational Databases in SQL
DataCamp
SQL Tutorial: Tables: At the core of every database
DataCamp
SQL Tutorial: Update your database as the structure changes
DataCamp
Python Tutorial: Classification-Tree Learning
DataCamp
Python Tutorial: Decision-Tree for Classification
DataCamp
Python Tutorial: Decision-Tree for Regression
DataCamp
Python Tutorial: Census Subject Tables
DataCamp
Python Tutorial: Census Geography
DataCamp
Python Tutorial: Using the Census API
DataCamp
R Tutorial: A/B Testing in R
DataCamp
R Tutorial: Baseline Conversion Rates
DataCamp
R Tutorial: Designing an Experiment - Power Analysis
DataCamp
R Tutorial: Introduction to qualitative data
DataCamp
R Tutorial: Understanding your qualitative variables
DataCamp
R Tutorial: Making Better Plots
DataCamp
SQL Tutorial: OLTP and OLAP
DataCamp
SQL Tutorial: Storing data
DataCamp
SQL Tutorial: Database design
DataCamp
Python Tutorial: Introduction to spaCy
DataCamp
Python Tutorial: Statistical Models
DataCamp
Python Tutorial: Rule-based Matching
DataCamp
More on: CV Basics
View skill →Related Reads
📰
📰
📰
📰
I Built a Neural Network With Multiple Memory Paths. Here’s What Happened.
Medium · AI
Why AI Needs a Better Way to Work With the World’s Data
Medium · AI
Ridge, Logistic Regression, Random Forest, or XGBoost: Choosing the Right Model for Credit Risk…
Medium · Machine Learning
built an ml tool that saves tokens in a logical way ...[p]
Reddit r/MachineLearning
🎓
Tutor Explanation
DeepCamp AI