diff --git "a/index.html" "b/index.html" --- "a/index.html" +++ "b/index.html" @@ -13138,7 +13138,7 @@ div#notebook {
-
In [1]:
+
In [11]:
# Installing the dependencies within the notebook to make it easier to run on colab
@@ -13175,7 +13175,7 @@ div#notebook {
 
-
In [2]:
+
In [12]:
from fastai.basics import torch, plt
@@ -13200,7 +13200,7 @@ div#notebook {
 
-
In [3]:
+
In [13]:
# Function with quadratic expression ax^2 + bx + c
@@ -13243,7 +13243,7 @@ div#notebook {
 
-
In [4]:
+
In [14]:
# Add both multiplicative and additive noise to input x
@@ -13290,7 +13290,7 @@ div#notebook {
 
-
In [5]:
+
In [15]:
from ipywidgets import interact
@@ -13310,8 +13310,13 @@ div#notebook {
 
-
-
interactive(children=(FloatSlider(value=1.5, description='a', max=4.5, min=-1.5), FloatSlider(value=1.5, descr…
+
+ +
@@ -13328,7 +13333,7 @@ div#notebook {
-
In [6]:
+
In [16]:
def mean_absolute_error(preds, acts): return (torch.abs(preds-acts)).mean()
@@ -13373,7 +13378,7 @@ Prediction: 4.0, Actual: 4.2, Absolute Difference: 0.200
 
-
In [7]:
+
In [17]:
@interact(a=1.5, b=1.5, c=1.5)
@@ -13392,8 +13397,13 @@ Prediction: 4.0, Actual: 4.2, Absolute Difference: 0.200
 
-
-
interactive(children=(FloatSlider(value=1.5, description='a', max=4.5, min=-1.5), FloatSlider(value=1.5, descr…
+
+ +
@@ -13419,7 +13429,7 @@ Prediction: 4.0, Actual: 4.2, Absolute Difference: 0.200
-
In [8]:
+
In [18]:
#########################################
@@ -13553,7 +13563,7 @@ If the slope is negative we want to move forward (or downhill).

-
In [9]:
+
In [19]:
@interact(a=1.5, b=1.5, c=1.5)
@@ -13583,8 +13593,13 @@ If the slope is negative we want to move forward (or downhill).

-
-
interactive(children=(FloatSlider(value=1.5, description='a', max=4.5, min=-1.5), FloatSlider(value=1.5, descr…
+
+ +
@@ -13592,7 +13607,7 @@ If the slope is negative we want to move forward (or downhill).

-
In [10]:
+
In [20]:
from fastai.metrics import mae
@@ -13694,6 +13709,6 @@ Best abc parameters: tensor([3.1053, 1.6716, 1.0000])