September 2019
Intermediate to advanced
420 pages
10h 29m
English
Although OpenCV does not provide an implementation of agglomerative hierarchical clustering, it is a popular algorithm that should, by all means, belong to our machine learning skill set:
In [1]: from sklearn.datasets import make_blobs... X, y = make_blobs(random_state=100, n_samples=10)
In [2]: from sklearn import cluster... agg = cluster.AgglomerativeClustering(n_clusters=3)
In [3]: labels ...
Read now
Unlock full access