liveBook · Manning

What you will learn in Data Without Labels

Practical unsupervised machine learning

by Vaibhav Verdhan
Foreword by Ravi Gopalakrishnan

Chapter by chapter

Chapter 1: Introduction to machine learning

1.1 Technical toolkit · 1.2 Data, data types, data management, and quality · 1.2.1 What is data? · 1.2.2 Various types of data · 1.2.3 Data quality · 1.2.4 Data engineering and management · 1.3 Data analysis, ML, AI, and business intelligence · 1.4 Nuts and bolts of ML · 1.5 Types of ML algorithms · 1.5.1 Supervised learning · 1.5.2 Unsupervised algorithms · 1.5.3 Semisupervised algorithms · 1.5.4 Reinforcement learning · 1.6 Concluding thoughts · 1.7 Summary

What you learn in chapter 1 →

Chapter 2: Clustering techniques

2.1 Technical toolkit · 2.2 Clustering · 2.3 Centroid-based clustering · 2.3.1 K-means clustering · 2.3.2 Measuring the accuracy of clustering · 2.3.3 Finding the optimum value of k · 2.3.4 Pros and cons of k-means clustering · 2.3.5 K-means clustering implementation using Python · 2.4 Connectivity-based clustering · 2.4.1 Types of hierarchical clustering · 2.4.2 Linkage criterion for distance measurement · 2.4.3 Optimal number of clusters · 2.4.4 Pros and cons of hierarchical clustering · 2.4.5 Hierarchical clustering case study using Python · 2.5 Density-based clustering · 2.5.1 Neighborhood and density · 2.5.2 DBSCAN clustering · 2.6 Case study using clustering · 2.6.1 Business context · 2.6.2 Dataset for the analysis · 2.6.3 Suggested solutions · 2.6.4 Solution for the problem · 2.7 Common challenges faced in clustering · 2.8 Concluding thoughts · 2.9 Practical next steps and suggested readings · 2.10 Summary

What you learn in chapter 2 →

Chapter 3: Dimensionality reduction

3.1 Technical toolkit · 3.2 The curse of dimensionality · 3.3 Dimension reduction methods · 3.3.1 Mathematical foundation · 3.4 Manual methods of dimensionality reduction · 3.4.1 Manual feature selection · 3.4.2 Correlation coefficient · 3.4.3 Algorithm-based methods for reducing dimensions · 3.5 Principal component analysis · 3.5.1 Eigenvalue decomposition · 3.5.2 Python solution using PCA · 3.6 Singular value decomposition · 3.6.1 Python solution using SVD · 3.7 Pros and cons of dimensionality reduction · 3.8 Case study for dimension reduction · 3.9 Concluding thoughts · 3.10 Practical next steps and suggested readings · 3.11 Summary

What you learn in chapter 3 →

Chapter 4: Association rules

4.1 Technical toolkit · 4.2 Association rule overview · 4.3 The building blocks of association rules · 4.3.1 Support, confidence, lift, and conviction · 4.4 Apriori algorithm · 4.4.1 Python implementation · 4.4.2 Challenges with the Apriori algorithm · 4.5 Equivalence class clustering and bottom-up lattice traversal · 4.5.1 Python implementation · 4.6 F-P algorithm · 4.7 Sequence rule mining · 4.7.1 Sequential Pattern Discovery Using Equivalence · 4.8 Case study for association rules · 4.9 Concluding thoughts · 4.10 Practical next steps and suggested readings · 4.11 Summary

What you learn in chapter 4 →

Chapter 5: Clustering

5.1 Technical toolkit · 5.2 Clustering: A brief recap · 5.3 Spectral clustering · 5.3.1 Building blocks of spectral clustering · 5.3.2 The process of spectral clustering · 5.4 Python implementation of spectral clustering · 5.5 Fuzzy clustering · 5.5.1 Types of fuzzy clustering · 5.5.2 Python implementation of FCM · 5.6 Gaussian mixture model · 5.6.1 EM technique · 5.6.2 Python implementation of GMM · 5.7 Concluding thoughts · 5.8 Practical next steps and suggested readings · 5.9 Summary

What you learn in chapter 5 →

Chapter 6: Dimensionality reduction

6.1 Technical toolkit · 6.2 Multidimensional scaling · 6.2.1 Classic MDS · 6.2.2 Nonmetric MDS · 6.3 Python implementation of MDS · 6.4 t-distributed stochastic neighbor embedding · 6.4.1 Cauchy distribution · 6.4.2 Python implementation of t-SNE · 6.5 Uniform manifold approximation projection · 6.5.1 Working with UMAP · 6.5.2 Using UMAP · 6.5.3 Key points of UMAP · 6.6 Case study · 6.7 Concluding thoughts · 6.8 Practical next steps and suggested readings · 6.9 Summary

What you learn in chapter 6 →

Chapter 7: Unsupervised learning for text data

7.1 Technical toolkit · 7.2 Text data is everywhere · 7.3 Use cases of text data · 7.4 Challenges with text data · 7.5 Preprocessing the text data · 7.6 Data cleaning · 7.7 Extracting features from the text dataset · 7.8 Tokenization · 7.9 BOW approach · 7.10 Term frequency and inverse document frequency · 7.11 Language models · 7.12 Text cleaning using Python · 7.13 Word embeddings · 7.14 Word2Vec and GloVe · 7.15 Sentiment analysis case study with Python implementation · 7.16 Text clustering using Python · 7.17 GenAI for text data · 7.18 Concluding thoughts · 7.19 Practical next steps and suggested readings · 7.20 Summary

What you learn in chapter 7 →

Chapter 8: Deep learning: The foundational concepts

8.1 Technical toolkit · 8.1.1 Deep learning: What is it? What does it do? · 8.2 Building blocks of a neural network · 8.2.1 Neural networks for solutions · 8.2.2 Artificial neurons and perceptrons · 8.2.3 Different layers in a network · 8.2.4 Activation functions · 8.2.5 Hyperparameters · 8.2.6 Optimization functions · 8.3 How does deep learning work in a supervised manner? · 8.3.1 Supervised learning algorithms · 8.3.2 Step 1: Feed-forward propagation · 8.3.3 Step 2: Adding the loss function · 8.3.4 Step 3: Calculating the error · 8.4 Backpropagation · 8.4.1 The mathematics behind backpropagation · 8.4.2 Step 4: Optimization · 8.5 How deep learning works in an unsupervised manner · 8.6 Convolutional neural networks · 8.6.1 Key concepts of CNN · 8.6.2 Use of CNN · 8.7 Recurrent neural networks · 8.7.1 Key concepts of RNN · 8.8 Boltzmann learning rule · 8.8.1 Concepts of the Boltzmann learning rule · 8.8.2 Key points · 8.9 Deep belief networks · 8.9.1 Key points of DBN · 8.10 Popular deep learning libraries · 8.10.1 Python code for Keras and TF · 8.11 Concluding thoughts · 8.12 Practical next steps and suggested readings · 8.13 Summary

What you learn in chapter 8 →

Chapter 9: Autoencoders

9.1 Technical toolkit · 9.2 Feature learning · 9.3 Introducing autoencoders · 9.4 Components of autoencoders · 9.5 Training of autoencoders · 9.6 Application of autoencoders · 9.7 Types of autoencoders · 9.8 Python implementation of autoencoders · 9.9 Concluding thoughts · 9.10 Practical next steps and suggested readings · 9.11 Summary

What you learn in chapter 9 →

Chapter 10: Generative adversarial networks, generative AI, and ChatGPT

10.1 AI: A transformation · 10.2 GenAI and its significance · 10.3 Discriminative models and GenAI · 10.4 Generative adversarial networks · 10.4.1 The generator network · 10.4.2 The discriminator network · 10.4.3 Adversarial training · 10.4.4 Variants and applications of GANs · 10.4.5 BERT, GPT-3, and others · 10.5 ChatGPT and its details · 10.5.1 Key features of ChatGPT · 10.5.2 Applications of ChatGPT · 10.6 Integration of GenAI · 10.7 Concluding thoughts · 10.8 Practical next steps and suggested readings · 10.9 Summary

What you learn in chapter 10 →

Chapter 11: End-to-end model deployment

11.1 The machine learning modeling process · 11.2 Business problem definition · 11.3 Data discovery and feasibility analysis · 11.4 Data cleaning and prepreparation · 11.5 Duplicate values in the data · 11.6 Categorical variables · 11.7 Missing values in dataset · 11.8 Outliers present in the data · 11.9 Exploratory data analysis · 11.10 Model development and business approval · 11.11 Model deployment · 11.12 Purpose of model deployment · 11.13 Types of model deployment · 11.14 Considerations while deploying the model · 11.15 Documentation · 11.16 Model maintenance and refresh · 11.17 Concluding thoughts · 11.18 Practical next steps and suggested readings · 11.19 Summary

What you learn in chapter 11 →

Concepts explained in this book

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.