Perform Agglomerative Clustering
Uppgift
Swipe to start coding
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:
- Import
AgglomerativeClustering
class from sklearn.cluster module. - Add a parameter with the name
linkage
as an input of the function. - Add
.fit()
method of theagglomerative
object to train the model. - Use
'single'
,'complete'
, and'average'
as parameters of the function(parameters in the code have to be used in the same order).
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 4
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Awesome!
Completion rate improved to 7.14Awesome!
Completion rate improved to 7.14
Perform Agglomerative Clustering
Uppgift
Swipe to start coding
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:
- Import
AgglomerativeClustering
class from sklearn.cluster module. - Add a parameter with the name
linkage
as an input of the function. - Add
.fit()
method of theagglomerative
object to train the model. - Use
'single'
,'complete'
, and'average'
as parameters of the function(parameters in the code have to be used in the same order).
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 4
single
Awesome!
Completion rate improved to 7.14
Perform Agglomerative Clustering
Svep för att visa menyn
Uppgift
Swipe to start coding
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:
- Import
AgglomerativeClustering
class from sklearn.cluster module. - Add a parameter with the name
linkage
as an input of the function. - Add
.fit()
method of theagglomerative
object to train the model. - Use
'single'
,'complete'
, and'average'
as parameters of the function(parameters in the code have to be used in the same order).
Lösning
Var allt tydligt?
Tack för dina kommentarer!