Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
MATLAB for Machine Learning

You're reading from   MATLAB for Machine Learning Unlock the power of deep learning for swift and enhanced results

Arrow left icon
Product type Paperback
Published in Jan 2024
Publisher Packt
ISBN-13 9781835087695
Length 374 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Giuseppe Ciaburro Giuseppe Ciaburro
Author Profile Icon Giuseppe Ciaburro
Giuseppe Ciaburro
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Part 1: Getting Started with Matlab
2. Chapter 1: Exploring MATLAB for Machine Learning FREE CHAPTER 3. Chapter 2: Working with Data in MATLAB 4. Part 2: Understanding Machine Learning Algorithms in MATLAB
5. Chapter 3: Prediction Using Classification and Regression 6. Chapter 4: Clustering Analysis and Dimensionality Reduction 7. Chapter 5: Introducing Artificial Neural Network Modeling 8. Chapter 6: Deep Learning and Convolutional Neural Networks 9. Part 3: Machine Learning in Practice
10. Chapter 7: Natural Language Processing Using MATLAB 11. Chapter 8: MATLAB for Image Processing and Computer Vision 12. Chapter 9: Time Series Analysis and Forecasting with MATLAB 13. Chapter 10: MATLAB Tools for Recommender Systems 14. Chapter 11: Anomaly Detection in MATLAB 15. Index 16. Other Books You May Enjoy

Grouping data using the similarity measures

The k-medoids algorithm is a variation of the k-means algorithm that uses medoids (actual data points) as representatives of each cluster instead of centroids. Unlike the k-means algorithm, which calculates the mean of the data points within each cluster, the k-medoids algorithm selects the most centrally located data point within each cluster as the medoid. This makes k-medoids more robust to outliers and suitable for data with non-Euclidean distances.

Here are some key differences between k-medoids and k-means:

  • Representative points: In k-medoids, the representatives of each cluster are actual data points from the dataset (medoids), while in k-means, the representatives are the centroids, which are calculated as the mean of the data points.
  • Distance measure: The distance measure used in k-means is typically the Euclidean distance. On the other hand, k-medoids can handle various distance measures, including non-Euclidean distances...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime