From 3a52b6f9f14fd752f2e12e09a23f49469d6cabf0 Mon Sep 17 00:00:00 2001 From: Nipu Chakraborty Date: Thu, 18 May 2023 10:40:42 +0600 Subject: [PATCH 1/4] Update 01_pytorch_workflow.ipynb added formula in comment --- 01_pytorch_workflow.ipynb | 1 + 1 file changed, 1 insertion(+) diff --git a/01_pytorch_workflow.ipynb b/01_pytorch_workflow.ipynb index bbb84bac..1661f40e 100644 --- a/01_pytorch_workflow.ipynb +++ b/01_pytorch_workflow.ipynb @@ -1658,6 +1658,7 @@ "\n", "# Create X and y (features and labels)\n", "X = torch.arange(start, end, step).unsqueeze(dim=1) # without unsqueeze, errors will happen later on (shapes within linear layers)\n", + "# Y_i=f(X_i, \beta)+e_i", "y = weight * X + bias \n", "X[:10], y[:10]" ] From c7e1b2e6a716de88c3866e8642e4f68e6eb281b5 Mon Sep 17 00:00:00 2001 From: Nipu Chakraborty Date: Thu, 18 May 2023 10:42:36 +0600 Subject: [PATCH 2/4] Update 01_pytorch_workflow.ipynb formula added in comment --- 01_pytorch_workflow.ipynb | 1 + 1 file changed, 1 insertion(+) diff --git a/01_pytorch_workflow.ipynb b/01_pytorch_workflow.ipynb index 1661f40e..07fb9f38 100644 --- a/01_pytorch_workflow.ipynb +++ b/01_pytorch_workflow.ipynb @@ -220,6 +220,7 @@ "end = 1\n", "step = 0.02\n", "X = torch.arange(start, end, step).unsqueeze(dim=1)\n", + "#Y_i=f(X_i, \beta)+e_i", "y = weight * X + bias\n", "\n", "X[:10], y[:10]" From 65d92c1816fba3dfc41b73b332c1954281e3a008 Mon Sep 17 00:00:00 2001 From: Nipu Chakraborty Date: Thu, 18 May 2023 10:55:58 +0600 Subject: [PATCH 3/4] Update 01_pytorch_workflow.ipynb added ref with formula --- 01_pytorch_workflow.ipynb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/01_pytorch_workflow.ipynb b/01_pytorch_workflow.ipynb index 07fb9f38..079e4844 100644 --- a/01_pytorch_workflow.ipynb +++ b/01_pytorch_workflow.ipynb @@ -220,7 +220,8 @@ "end = 1\n", "step = 0.02\n", "X = torch.arange(start, end, step).unsqueeze(dim=1)\n", - "#Y_i=f(X_i, \beta)+e_i", + "#y = MX + b used formula", + "ref: https://www.wallstreetmojo.com/regression-analysis-formula/", "y = weight * X + bias\n", "\n", "X[:10], y[:10]" @@ -1659,7 +1660,8 @@ "\n", "# Create X and y (features and labels)\n", "X = torch.arange(start, end, step).unsqueeze(dim=1) # without unsqueeze, errors will happen later on (shapes within linear layers)\n", - "# Y_i=f(X_i, \beta)+e_i", + "# y = MX + b used formula", + "# ref https://www.wallstreetmojo.com/regression-analysis-formula/", "y = weight * X + bias \n", "X[:10], y[:10]" ] From 16758d69af14e5c8a09c37de56c47fc718de1ef1 Mon Sep 17 00:00:00 2001 From: Nipu Chakraborty Date: Thu, 18 May 2023 10:58:37 +0600 Subject: [PATCH 4/4] Update 01_pytorch_workflow.ipynb formatted --- 01_pytorch_workflow.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/01_pytorch_workflow.ipynb b/01_pytorch_workflow.ipynb index 079e4844..05a709a6 100644 --- a/01_pytorch_workflow.ipynb +++ b/01_pytorch_workflow.ipynb @@ -221,7 +221,7 @@ "step = 0.02\n", "X = torch.arange(start, end, step).unsqueeze(dim=1)\n", "#y = MX + b used formula", - "ref: https://www.wallstreetmojo.com/regression-analysis-formula/", + "ref: https://www.wallstreetmojo.com/regression-analysis-formula/ \n", "y = weight * X + bias\n", "\n", "X[:10], y[:10]" @@ -1661,7 +1661,7 @@ "# Create X and y (features and labels)\n", "X = torch.arange(start, end, step).unsqueeze(dim=1) # without unsqueeze, errors will happen later on (shapes within linear layers)\n", "# y = MX + b used formula", - "# ref https://www.wallstreetmojo.com/regression-analysis-formula/", + "# ref https://www.wallstreetmojo.com/regression-analysis-formula/ \n", "y = weight * X + bias \n", "X[:10], y[:10]" ]