Skip to content

Commit d42a8b1

Browse files
rajouter ligne import
1 parent 6bc2312 commit d42a8b1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Sujet_3_Python.ipynb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4041,9 +4041,7 @@
40414041
{
40424042
"cell_type": "markdown",
40434043
"id": "1f753dc2-3c24-48d3-b9c5-38c229463cdc",
4044-
"metadata": {
4045-
"jp-MarkdownHeadingCollapsed": true
4046-
},
4044+
"metadata": {},
40474045
"source": [
40484046
"### 2. Le clustering en lui-même"
40494047
]
@@ -4131,6 +4129,7 @@
41314129
"\n",
41324130
"```python\n",
41334131
"from yellowbrick.cluster import KElbowVisualizer\n",
4132+
"from sklearn.cluster import KMeans\n",
41344133
"\n",
41354134
"elbow_method = KElbowVisualizer(KMeans(), k=(1,10))\n",
41364135
"elbow_method.fit(habitudes_indiv_clustering)\n",
@@ -8274,7 +8273,7 @@
82748273
"name": "python",
82758274
"nbconvert_exporter": "python",
82768275
"pygments_lexer": "ipython3",
8277-
"version": "3.10.6"
8276+
"version": "3.10.9"
82788277
}
82798278
},
82808279
"nbformat": 4,

0 commit comments

Comments
 (0)