The
Get Started with Unsupervised Learning Today
You'll be up and running with unsupervised learning in no time at all.

$39.99
$39.99The Unsupervised Learning Workshop
Unlock one year of full, unlimited access!
Learning Made Simple
Nobody likes going through hundreds of pages of dry theory, or struggling with uninteresting examples that don’t compile. We've got you covered. Any time, any device.

Learn by doing realworld development, supported every step of the way with stepbystep examples and expert screencasts.

Become a verified practitioner and earn an authenticated digital certificate from Packt upon successful completion.

Manage your learning based on your personal schedule, with content that lets you pause and resume your progress at will.
A Smarter Way to Understand Unsupervised Learning
A stepbystep, focused approach to getting up and running with realworld unsupervised learning in no time at all.
Course Curriculum
An A to Z tour of unsupervised learning.

1. Introduction to Clustering
 Overview FREE PREVIEW
 Unsupervised Learning versus Supervised Learning FREE PREVIEW
 Clustering FREE PREVIEW
 Exercise 1.01: Identifying Clusters in Data FREE PREVIEW
 Introduction to kmeans Clustering FREE PREVIEW
 Exercise 1.02: Calculating Euclidean Distance in Python FREE PREVIEW
 Exercise 1.03: Forming Clusters with the Notion of Distance FREE PREVIEW
 Exercise 1.04: Kmeans from Scratch – Part 1: Data Generation FREE PREVIEW
 Exercise 1.05: Kmeans from Scratch – Part 2: Implementing kmeans FREE PREVIEW
 Clustering Performance – Silhouette Score FREE PREVIEW
 Exercise 1.06: Calculating the Silhouette Score FREE PREVIEW
 Activity 1.01: Implementing kmeans Clustering FREE PREVIEW
 Activity 1.01: Implementing kmeans Clustering FREE PREVIEW
 Summary FREE PREVIEW

2. Hierarchical Clustering
 Overview
 Clustering Refresher
 The Organization of the Hierarchy
 Introduction to Hierarchical Clustering
 Exercise 2.01: Building a Hierarchy
 Linkage
 Exercise 2.02: Applying Linkage Criteria
 Agglomerative versus Divisive Clustering
 Exercise 2.03: Implementing Agglomerative Clustering with scikitlearn
 Activity 2.01: Comparing kmeans with Hierarchical Clustering
 Activity 2.01: Comparing kmeans with Hierarchical Clustering
 kmeans versus Hierarchical Clustering
 Summary
 Survey I

3. Neighborhood Approaches and DBSCAN
 Overview
 Clusters as Neighborhoods
 Introduction to DBSCAN
 Exercise 3.01: Evaluating the Impact of Neighborhood Radius Size
 DBSCAN Attributes – Neighborhood Radius
 Activity 3.01: Implementing DBSCAN from Scratch
 Activity 3.01: Implementing DBSCAN from Scratch
 DBSCAN Attributes – Minimum Points
 Exercise 3.02: Evaluating the Impact of the Minimum Points Threshold
 Activity 3.02: Comparing DBSCAN with kmeans and Hierarchical Clustering
 Activity 3.02: Comparing DBSCAN with kmeans and Hierarchical Clustering
 DBSCAN versus kmeans and Hierarchical Clustering
 Summary

4. Dimensionality Reduction Techniques and PCA
 Overview
 What Is Dimensionality Reduction?
 Overview of Dimensionality Reduction Techniques
 Principal Component Analysis
 Exercise 4.01: Computing Mean, Standard Deviation, and Variance Using the pandas Library
 Eigenvalues and Eigenvectors
 Exercise 4.02: Computing Eigenvalues and Eigenvectors
 The Process of PCA
 Exercise 4.03: Manually Executing PCA
 Exercise 4.04: scikitlearn PCA
 Activity 4.01: Manual PCA versus scikitlearn
 Activity 4.01: Manual PCA versus scikitlearn
 Restoring the Compressed Dataset
 Exercise 4.05: Visualizing Variance Reduction with Manual PCA
 Exercise 4.06: Visualizing Variance Reduction with scikitlearn
 Exercise 4.07: Plotting 3D Plots in Matplotlib
 Activity 4.02: PCA Using the Expanded Seeds Dataset
 Activity 4.02: PCA Using the Expanded Seeds Dataset
 Summary

5. Autoencoders
 Overview
 Fundamentals of Artificial Neural Networks
 Exercise 5.01: Modeling the Neurons of an Artificial Neural Network
 Exercise 5.02: Modeling Neurons with the ReLU Activation Function
 Neural Networks: Architecture Definition
 Exercise 5.03: Defining a Keras Model
 Neural Networks: Training
 Exercise 5.04: Training a Keras Neural Network Model
 Activity 5.01: The MNIST Neural Network
 Activity 5.01: The MNIST Neural Network
 Autoencoders
 Exercise 5.05: Simple Autoencoder
 Activity 5.02: Simple MNIST Autoencoder
 Activity 5.02: Simple MNIST Autoencoder
 Exercise 5.06: MultiLayer Autoencoder
 Convolutional Neural Networks
 Exercise 5.07: Convolutional Autoencoder
 Activity 5.03: MNIST Convolutional Autoencoder
 Activity 5.03: MNIST Convolutional Autoencoder
 Summary
 Survey II

6. tDistributed Stochastic Neighbor Embedding
 Overview
 The MNIST Dataset
 Stochastic Neighbor Embedding (SNE)
 Exercise 6.01: tSNE MNIST
 Activity 6.01: Wine tSNE
 Activity 6.01: Wine tSNE
 Interpreting tSNE Plots
 Exercise 6.02: tSNE MNIST and Perplexity
 Activity 6.02: tSNE Wine and Perplexity
 Activity 6.02: tSNE Wine and Perplexity
 Exercise 6.03: tSNE MNIST and Iterations
 Activity 6.03: tSNE Wine and Iterations
 Activity 6.03: tSNE Wine and Iterations
 Final Thoughts on Visualizations
 Summary

7. Topic Modeling
 Overview
 Topic Models
 Exercise 7.01: Setting up the Environment
 A HighLevel Overview of Topic Models
 Exercise 7.02: Data Loading
 Cleaning Text Data
 Exercise 7.03: Cleaning Data Step by Step
 Exercise 7.04: Complete Data Cleaning
 Activity 7.01: Loading and Cleaning Twitter Data
 Activity 7.01: Loading and Cleaning Twitter Data
 Latent Dirichlet Allocation
 Exercise 7.05: Creating a BagofWords Model Using the Count Vectorizer
 Perplexity
 Exercise 7.06: Selecting the Number of Topics
 Exercise 7.07: Running LDA
 Visualization
 Exercise 7.08: Visualizing LDA
 Exercise 7.09: Trying Four Topics
 Activity 7.02: LDA and Health Tweets
 Activity 7.02: LDA and Health Tweets
 Exercise 7.10: Creating a BagofWords Model Using TFIDF
 NonNegative Matrix Factorization
 Exercise 7.11: Nonnegative Matrix Factorization
 Exercise 7.12: Visualizing NMF
 Activity 7.03: Nonnegative Matrix Factorization
 Activity 7.03: Nonnegative Matrix Factorization
 Summary

8. Market Basket Analysis
 Overview
 Market Basket Analysis
 Exercise 8.01: Creating Sample Transaction Data
 Support
 Exercise 8.02: Computing Metrics
 Characteristics of Transaction Data
 Exercise 8.03: Loading Data
 Data Cleaning and Formatting
 Exercise 8.04: Data Cleaning and Formatting
 Data Encoding
 Exercise 8.05: Data Encoding
 Activity 8.01: Loading and Preparing Full Online Retail Data
 Activity 8.01: Loading and Preparing Full Online Retail Data
 The Apriori Algorithm
 Exercise 8.06: Executing the Apriori Algorithm
 Activity 8.02: Running the Apriori Algorithm on the Complete Online Retail Dataset
 Activity 8.02: Running the Apriori Algorithm on the Complete Online Retail Dataset
 Association Rules
 Exercise 8.07: Deriving Association Rules
 Activity 8.03: Finding the Association Rules on the Complete Online Retail Dataset
 Activity 8.03: Finding the Association Rules on the Complete Online Retail Dataset
 Summary
 Survey III

9. Hotspot Analysis
 Overview
 Spatial Statistics
 Kernel Density Estimation
 Exercise 9.01: The Effect of the Bandwidth Value
 Selecting the Optimal Bandwidth
 Exercise 9.02: Selecting the Optimal Bandwidth Using Grid Search
 Kernel Functions
 Exercise 9.03: The Effect of the Kernel Function
 Kernel Density Estimation Derivation
 Exercise 9.04: Simulating the Derivation of Kernel Density Estimation
 Activity 9.01: Estimating Density in One Dimension
 Activity 9.01: Estimating Density in One Dimension
 Hotspot Analysis
 Exercise 9.05: Loading Data and Modeling with Seaborn
 Exercise 9.06: Working with Basemaps
 Activity 9.02: Analyzing Crime in London
 Activity 9.02: Analyzing Crime in London
 Summary
Join Over 85,000 Satisfied Students
Here is what they have to say about Packt workshops:
Amazing
Federico Patito
This course is excelent, with this course you learn a lot of topics and each topic has some exercises that are very u...
Read MoreThis course is excelent, with this course you learn a lot of topics and each topic has some exercises that are very useful.
Read LessVery detailed workshop with good excercises and activites
Ajijul Hakim Abid
Very good indepth workshop in python. Goes over almost every topics but some topics could have a more detailed expla...
Read MoreVery good indepth workshop in python. Goes over almost every topics but some topics could have a more detailed explanation. Would't recommend for someone totally new to programming.
Read LessGreat Introductory Course
mohammad nazeri
This course covers basic Python syntax, how to develop software in python, how to work in a team, and an introduction...
Read MoreThis course covers basic Python syntax, how to develop software in python, how to work in a team, and an introduction to data science and machine learning with Python.
Read LessAn excellent way to learn Python
Juan Alberto Cañero Tamayo
I like the methodology applied to this workshop, it starts from the basic and a good explanation of the subjects plus...
Read MoreI like the methodology applied to this workshop, it starts from the basic and a good explanation of the subjects plus a plenty of examples helps you to understand Python.
Read Less5 Stars for the content !
Mahesh Deshpande
I belong to mechanical background and started leaning any kind of programming in my life with this course. This is to...
Read MoreI belong to mechanical background and started leaning any kind of programming in my life with this course. This is too good for a beginner like me. The content is properly given and exercise and activities are also good. Video explainations help a lot ! The only problem I faced was the kernel busy problem in the Jupyter IDE. Otherwise I found Jupyter most user friendly as compared to other IDEs. Thanks Packt for this course !
Read LessThe most satisfying python workshop i ever attended!
Sanket Gadge
I have attended many python workshops, but this one is really great, the content is super awesome. Actually all the c...
Read MoreI have attended many python workshops, but this one is really great, the content is super awesome. Actually all the courses workshops i ever attended they never taught me (for ex. say logging) everything in python, but this workshop even covers the python from beginner to advanced. With activities included, this workshop made me think more and more rather than just going through the content and reading text and videos. I learned a ton here. Thank you for all the coaches who creating this extra ordinary content.
Read LessDATA SCIENCE Workshop
LALIT JADHAV
This course format and is very easily understandable. Workshop Certificate structure are very wonderful. Thanks a lot...
Read MoreThis course format and is very easily understandable. Workshop Certificate structure are very wonderful. Thanks a lot for Packt👈
Read LessExcellent course !!
Luiz Pellegrini
Very well structured, with good examples and a rational sequence !! An additional feature is that it is updated and d...
Read MoreVery well structured, with good examples and a rational sequence !! An additional feature is that it is updated and designed run on Jupyter Notebooks!!
Read LessCourse content
Edward Amankwah
The course presents a great way to data visualization techniques and it also opens up a lot of opportunities for data...
Read MoreThe course presents a great way to data visualization techniques and it also opens up a lot of opportunities for data scientist to explore their dataset before and after data modelling.
Read LessMany disciplines in Data Visualization
Thomas Hopf
Taking into account Python and therefore Jupyter Notebooks as a "platform" isn't a problem at all, since it's common....
Read MoreTaking into account Python and therefore Jupyter Notebooks as a "platform" isn't a problem at all, since it's common. Setting up by "cloning" a github repository was very easy. The toolboxes for visualization in focus are Matplotlib (famous), Seaborn, Geoplotlib. The order makes sense and in order to get Python basics pandas and numpy are also introduced first. Finally Bokeh is introduced as an interactive tool with no deepdive but explaining the concept and options. At the end there will be a summary. The quizzes are not that easy in my opinion and you really should follow every topic and do the exersices, activities. Thanks for this perfect designed workshop course and the good example datasets. Greetz, Tommy
Read LessSimple and straightforward intro
Geoffrey Letsoalo
The introduction is simple and very informative in terms of estalishing and getting the development environment going...
Read MoreThe introduction is simple and very informative in terms of estalishing and getting the development environment going. Very intuitive!
Read LessDifferent and made for people like me
Muizz Lateef
I have been watching tutorial videos for over 6 months now and not really confident yet, but few minutes into this te...
Read MoreI have been watching tutorial videos for over 6 months now and not really confident yet, but few minutes into this text approach and i am already getting the whole idea
Read LessExcellent Course Overall
Jon Hill
Had some familiarity with Python before starting the course and working through the exercises and activities, certain...
Read MoreHad some familiarity with Python before starting the course and working through the exercises and activities, certainly picked up some things that I had missed before and filled some gaps in my knowledge. Course needs a bit of proofreading as a number of errors sprinkled throughout. Found the Activities needed a little more guidance rather than being vague but worked out in the end. Overall excellent course, especially for those beginning with Python as covers a full spectrum of Python requirements. Many thanks
Read LessReview for the Python Workshop
Samapriya Trivedi
This workshop provides one of the best educative content for the Python available on internet. Got to know a lot abou...
Read MoreThis workshop provides one of the best educative content for the Python available on internet. Got to know a lot about Python and it's working in a very elaborate manner.
Read LessLearning Python is Easier
Jayabalan Ravichandiran
Python concepts and using those in practice , made easier to know about python. Core concepts are explained in detail...
Read MorePython concepts and using those in practice , made easier to know about python. Core concepts are explained in detail . The activities enables to play & know python more than reading through only concepts . The Best of python course is here ....
Read LessReal Python lover... The Packt.
Jonty Rhodes
What can I say this website is very good for beginners. Although this website enhancing my programming experience al...
Read MoreWhat can I say this website is very good for beginners. Although this website enhancing my programming experience also. keep it up. May Allah bless you.
Read LessAttila Sebők's review
Attila Sebők
A Python Workshop kellemes meglepetés volt számomra. Tetszett a tema csoportosítása. Sokat tanultam a Workshopból. Am...
Read MoreA Python Workshop kellemes meglepetés volt számomra. Tetszett a tema csoportosítása. Sokat tanultam a Workshopból. Ami lehetne jobb: naprakész hibajavítás a leckékben és a tesztekben.
Read LessWonderful
Varun Kanthety
This is a wonderful course to dive deeply into the main features of JavaScript. Without any hesitation, I highly reco...
Read MoreThis is a wonderful course to dive deeply into the main features of JavaScript. Without any hesitation, I highly recommend this workshop to learn JavaScript.
Read LessGood course on JavaScript... Super Easy Language, Every e...
Kuntal Bhowmick
The Workshop is really good and covers a lot of content starting from basics till advance. The Workshop explain ho...
Read MoreThe Workshop is really good and covers a lot of content starting from basics till advance. The Workshop explain how things work by using simple language, so you don't feel like you're just copying code—you're actually understanding what you're writing, and why. In particular, I appreciate this JavaScript Workshop because of the exercise and the activities given for each and every concept. The workshop also show students how to problemsolve like a developer: what to type into Google when you're stuck, how to get to the bottom of an error message, etc. I think the understanding the core concept was very beneficial and think it would help me become a better developer in the future. Amazing breakdowns that really help fill in knowledge gaps. Great exercises with fully detailed explanations. I am satisfied with the course. I highly recommend this course to anyone who wants to learn JS(JavaScript). Edit: I want to add another thing. The quiz given after every section is very important. It gives me how much I understand the section. the quiz also displays the explanation of each answer along with whether my selected answer is right or wrong.
Read LessProgramming fundamentals
Oteri Eyenike
I was able to understand the conditional statement, data types, the object of properties and I like every aspect of t...
Read MoreI was able to understand the conditional statement, data types, the object of properties and I like every aspect of the course.
Read LessContent
Adedeji Adelanwa
It is quite informative and helpfully. A real refresher and eye opener for me. Though there are a few typos and sente...
Read MoreIt is quite informative and helpfully. A real refresher and eye opener for me. Though there are a few typos and sentence misplacement and also video. I don't mind helping out in correcting the errors
Read LessA must for those aiming to become true web developers
Jose B
Despite minor aspects with tests (the one focused on PHP), it is a very good way to teach yourself JavaScript coverin...
Read MoreDespite minor aspects with tests (the one focused on PHP), it is a very good way to teach yourself JavaScript covering the latest ECMA standards,
Read LessOne of the best place to learn
NAGA SANKARA SAI KARTHIK MUKKU
This workshop course is not a pack of subject but also helps in connecting realworld and also provide widerange of ...
Read MoreThis workshop course is not a pack of subject but also helps in connecting realworld and also provide widerange of concepts which make this workshop stand out of the box
Read LessGreat workshop
Djoko Cahyo Utomo Lieharyani
This workshop gives a provide broad insight into python, more to practical exercises and activities. There are some p...
Read MoreThis workshop gives a provide broad insight into python, more to practical exercises and activities. There are some problems tough, like some wrong script, redundant question, and no clear definition on some part (around 15% of 100% I guess), but the discussion part is helpful, coz sometimes with reading discussion part make some problem clear. My suggestion is to make the workshop perfect by validating the disscussion part.
Read LessExcellent!
Marcos Souza
I was very surprised by the quality of this course. Its well organized, full of examples on the subjects it is teachi...
Read MoreI was very surprised by the quality of this course. Its well organized, full of examples on the subjects it is teaching, relevant quizzes and exercises, and even videos. Its by far the best free course i've ever seen.
Read LessCourse content
Edward Amankwah
A great way to review the length and breath of Python language. It introduces more concepts that can be pursued furth...
Read MoreA great way to review the length and breath of Python language. It introduces more concepts that can be pursued further which I really like, especially for data science.
Read LessGet Verified
Complete The Unsupervised Learning Workshop to unlock your very own Packt certificate.
Take A Step Forward
There has never been a better time to get started with unsupervised learning.

$39.99
$39.99The Unsupervised Learning Workshop
Unlock one year of full, unlimited access!