Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Perform Agglomerative Clustering | Basic Clustering Algorithms
Cluster Analysis
course content

Course Content

Cluster Analysis

Cluster Analysis

1. What is Clustering?
2. Basic Clustering Algorithms
3. How to choose the best model?

bookPerform Agglomerative Clustering

Task
test

Swipe to show code editor

Your task is to use different linkage types and to look at the performance of agglomerative clustering on moons and circles datasets. You have to:

  1. Import AgglomerativeClustering class from sklearn.cluster module.
  2. Add a parameter with the name linkage as an input of the function.
  3. Add .fit() method of the agglomerative object to train the model.
  4. Use 'single', 'complete', and 'average' as parameters of the function(parameters in the code have to be used in the same order).

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 4
toggle bottom row

bookPerform Agglomerative Clustering

Task
test

Swipe to show code editor

Your task is to use different linkage types and to look at the performance of agglomerative clustering on moons and circles datasets. You have to:

  1. Import AgglomerativeClustering class from sklearn.cluster module.
  2. Add a parameter with the name linkage as an input of the function.
  3. Add .fit() method of the agglomerative object to train the model.
  4. Use 'single', 'complete', and 'average' as parameters of the function(parameters in the code have to be used in the same order).

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 4
toggle bottom row

bookPerform Agglomerative Clustering

Task
test

Swipe to show code editor

Your task is to use different linkage types and to look at the performance of agglomerative clustering on moons and circles datasets. You have to:

  1. Import AgglomerativeClustering class from sklearn.cluster module.
  2. Add a parameter with the name linkage as an input of the function.
  3. Add .fit() method of the agglomerative object to train the model.
  4. Use 'single', 'complete', and 'average' as parameters of the function(parameters in the code have to be used in the same order).

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Task
test

Swipe to show code editor

Your task is to use different linkage types and to look at the performance of agglomerative clustering on moons and circles datasets. You have to:

  1. Import AgglomerativeClustering class from sklearn.cluster module.
  2. Add a parameter with the name linkage as an input of the function.
  3. Add .fit() method of the agglomerative object to train the model.
  4. Use 'single', 'complete', and 'average' as parameters of the function(parameters in the code have to be used in the same order).

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 2. Chapter 4
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt