This commit is contained in:
ha4ska committed 2026-10-09 09:19:41 +05:00
1 parent 3749cac06d
commit 5e40336dfd
1 file changed
+6 -6
+6 -6
View File
@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"id": "3b2c0591",
"metadata": {},
"outputs": [
@@ -29,9 +29,9 @@
"np.random.seed(42)\n",
"\n",
"m = 100\n",
"X = np.sort(np.random.randn(m, 1) * 2 - 1, axis=0)\n",
"X = np.sort(np.random.rand(m, 1) * 2 - 1, axis=0)\n",
"\n",
"y = 3 * X**2 + 2 + X + 1 + np.random.randn(m, 1) * 0.3\n",
"y = 3 * X**2 + 2 * X + 1 + np.random.randn(m, 1) * 0.3\n",
"\n",
"\n",
"plt.figure(figsize=(10, 6))\n",
@@ -46,7 +46,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 12,
"id": "0f51a261",
"metadata": {},
"outputs": [
@@ -101,7 +101,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 13,
"id": "cf1d3404",
"metadata": {},
"outputs": [
@@ -149,7 +149,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": null,
"id": "961c989a",
"metadata": {},
"outputs": [