Skip to content

Commit 2168001

Browse files
committed
fix to numpy 2
1 parent 0975bb0 commit 2168001

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notebooks/12_clustering.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@
14621462
},
14631463
{
14641464
"cell_type": "code",
1465-
"execution_count": 24,
1465+
"execution_count": 25,
14661466
"id": "64e54e05-2c43-4ae1-9a01-47c0eebaa9b8",
14671467
"metadata": {
14681468
"editable": true,
@@ -1505,7 +1505,7 @@
15051505
"X_blobs, _ = make_blobs(n_samples=n_samples, centers=3, cluster_std=1.0, random_state=random_state)\n",
15061506
"\n",
15071507
"# 2. Spiral data\n",
1508-
"theta = np.concat([\n",
1508+
"theta = np.concatenate([\n",
15091509
" np.linspace(0, 2.0 * np.pi, int(n_samples/2)),\n",
15101510
" np.linspace(2.5 * np.pi, 4.5 * np.pi, int(n_samples/2))\n",
15111511
"])\n",

0 commit comments

Comments
 (0)