Introduction to Machine Learning (11): Regression and clustering algorithms-unsupervised learning (K-means algorithm)

Learning Directory:
Insert picture description here

Content directory:

Insert picture description here

Unsupervised learning includes algorithms:

Clustering: K-means (K-means clustering)
dimensionality reduction: PCA

K-means principle

Insert picture description here

API:

Insert picture description here

Case:

Insert picture description here

Insert picture description here

How to evaluate unsupervised learning?

Insert picture description here
Insert picture description here

Insert picture description here
Insert picture description here

Summary of K-means algorithm:

Features : It uses an iterative algorithm, which is intuitive, easy to understand and practical.
Disadvantages : easy to converge to a local optimal solution (when k initial points are clustered together). Multiple clustering can be used to solve the
application scenario : when there is no target value, Do clustering first, then how to classify

Insert picture description here

Guess you like

Origin blog.csdn.net/qq_45234219/article/details/115053920