Skip to content

Commit aafcf9c

Browse files
fit consistency in clustering
1 parent 591a4e1 commit aafcf9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/clustering.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,8 @@ the random seed in the beginning of this chapter, the clustering will be reprodu
849849
```{code-cell} ipython3
850850
from sklearn.pipeline import make_pipeline
851851
852-
penguin_clust = make_pipeline(preprocessor, kmeans).fit(penguins)
852+
penguin_clust = make_pipeline(preprocessor, kmeans)
853+
penguin_clust.fit(penguins)
853854
penguin_clust
854855
```
855856

0 commit comments

Comments
 (0)