You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 312e18d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: notebooks/Notebook_3/Notebook_3b_Statistics_1.ipynb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -482,7 +482,7 @@
482
482
"\n",
483
483
"**Back to the penguins.** Suppose our data give a 95% confidence interval of $[750\\text{ g},\\ 1050\\text{ g}]$ for the difference in mean body mass between Gentoo and Adelie penguins. This says that the values between 750 g and 1050 g are all plausible estimates of the true difference.\n",
484
484
"\n",
485
-
"> 💡 **CIs and p-values are two views of the same evidence.** A 95% confidence interval that excludes the null value corresponds to a p-value below $\\alpha = 0.05$ (indeed, $95\\%=0.95=1-0.05=1-\\alpha)$). The confidence interval is often more informative, though, because it shows not just *whether* there is a difference but also *how big* it plausibly is.\n"
485
+
"> **CIs and p-values are two views of the same evidence.** A 95% confidence interval that excludes the null value corresponds to a p-value below $\\alpha = 0.05$ (indeed, $95\\%=0.95=1-0.05=1-\\alpha)$). The confidence interval is often more informative, though, because it shows not just *whether* there is a difference but also *how big* it plausibly is.\n"
# **Back to the penguins.** Suppose our data give a 95% confidence interval of $[750\text{ g},\ 1050\text{ g}]$ for the difference in mean body mass between Gentoo and Adelie penguins. This says that the values between 750 g and 1050 g are all plausible estimates of the true difference.
285
285
#
286
-
# > 💡 **CIs and p-values are two views of the same evidence.** A 95% confidence interval that excludes the null value corresponds to a p-value below $\alpha = 0.05$ (indeed, $95\%=0.95=1-0.05=1-\alpha)$). The confidence interval is often more informative, though, because it shows not just *whether* there is a difference but also *how big* it plausibly is.
286
+
# > **CIs and p-values are two views of the same evidence.** A 95% confidence interval that excludes the null value corresponds to a p-value below $\alpha = 0.05$ (indeed, $95\%=0.95=1-0.05=1-\alpha)$). The confidence interval is often more informative, though, because it shows not just *whether* there is a difference but also *how big* it plausibly is.
Copy file name to clipboardExpand all lines: notebooks/Notebook_3/Notebook_3c_Statistics_2.ipynb
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -836,15 +836,15 @@
836
836
"id": "ex-diabetes-dataset-inference"
837
837
},
838
838
"source": [
839
-
"## 🧪 Diabetes Dataset Inference Exercises\n",
839
+
"## Diabetes Dataset Inference Exercises\n",
840
840
"\n",
841
841
"[](https://colab.research.google.com/github/nerdslab/learningfromdata-course/blob/main/notebooks/Notebook_3/Notebook_3c_Statistics_2.ipynb#scrollTo=ex-diabetes-dataset-inference)\n",
842
842
"\n",
843
843
"You will now apply hypothesis testing and resampling methods to the Diabetes dataset.\n",
# [](https://colab.research.google.com/github/nerdslab/learningfromdata-course/blob/main/notebooks/Notebook_3/Notebook_3c_Statistics_2.ipynb#scrollTo=ex-diabetes-dataset-inference)
471
471
#
472
472
# You will now apply hypothesis testing and resampling methods to the Diabetes dataset.
Copy file name to clipboardExpand all lines: notebooks/Notebook_4/Notebook_4b_Classification.ipynb
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1126,7 +1126,7 @@
1126
1126
"id": "OJmb91Qkhdke"
1127
1127
},
1128
1128
"source": [
1129
-
"💥 **Challenge:**\n",
1129
+
"**Challenge:**\n",
1130
1130
"\n",
1131
1131
"> (1) Which $g$'s are \"good\" functions to use for our purposes? What properties do we desire for a \"good\" $g$? What might complicate our problem when trying to solve for $\\beta$?\n",
1132
1132
"\n",
@@ -2634,7 +2634,7 @@
2634
2634
"id": "c9sATlc2AOr5"
2635
2635
},
2636
2636
"source": [
2637
-
"💥 **Challenge:**\n",
2637
+
"**Challenge:**\n",
2638
2638
"\n",
2639
2639
"Discuss what you can observe from the pairplot for this dataset? Which features appear salient for classification?"
2640
2640
]
@@ -4123,7 +4123,7 @@
4123
4123
"id": "i63GQeRFI898"
4124
4124
},
4125
4125
"source": [
4126
-
"💥 **Challenge:**\n",
4126
+
"**Challenge:**\n",
4127
4127
"\n",
4128
4128
"What's happening in the example above? What are two ways that you could try to correct the issue?"
4129
4129
]
@@ -4351,7 +4351,7 @@
4351
4351
"id": "OzSgkBDI0AtG"
4352
4352
},
4353
4353
"source": [
4354
-
"💥 **Challenge:**\n",
4354
+
"**Challenge:**\n",
4355
4355
"\n",
4356
4356
"1. Create a set of synthetic experiments to explore how (at least three) different rebalancing approaches work for: (i) different levels of imbalance, (ii) different amounts of noise, and (iii) across different types of data (linear vs nonlinearly separable etc).\n",
Copy file name to clipboardExpand all lines: notebooks/Notebook_4/Notebook_4b_Classification.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -629,7 +629,7 @@ def plot_screening_decision_boundary(model, X, y, ax, title):
629
629
# Where $x_i$ are the inputs or features for every $i^{th}$ data point, and $y_i$ are the corresponding outputs or labels. In general, we can simplify this problem and say that $p=0.5$ and threshold our predictions accordingly.
630
630
631
631
# %% [markdown] id="OJmb91Qkhdke"
632
-
# 💥 **Challenge:**
632
+
# **Challenge:**
633
633
#
634
634
# > (1) Which $g$'s are "good" functions to use for our purposes? What properties do we desire for a "good" $g$? What might complicate our problem when trying to solve for $\beta$?
# Discuss what you can observe from the pairplot for this dataset? Which features appear salient for classification?
933
933
@@ -1307,7 +1307,7 @@ def train_test_split_with_probablity(X, Y, train_size=250, balanced=True):
1307
1307
fig.tight_layout()
1308
1308
1309
1309
# %% [markdown] id="i63GQeRFI898"
1310
-
# 💥 **Challenge:**
1310
+
# **Challenge:**
1311
1311
#
1312
1312
# What's happening in the example above? What are two ways that you could try to correct the issue?
1313
1313
@@ -1375,7 +1375,7 @@ def train_test_split_with_probablity(X, Y, train_size=250, balanced=True):
1375
1375
# add your code here
1376
1376
1377
1377
# %% [markdown] id="OzSgkBDI0AtG"
1378
-
# 💥 **Challenge:**
1378
+
# **Challenge:**
1379
1379
#
1380
1380
# 1. Create a set of synthetic experiments to explore how (at least three) different rebalancing approaches work for: (i) different levels of imbalance, (ii) different amounts of noise, and (iii) across different types of data (linear vs nonlinearly separable etc).
Copy file name to clipboardExpand all lines: notebooks/Notebook_4/Notebook_4c_PyTorch_Model.ipynb
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -340,7 +340,7 @@
340
340
"id": "BkyNqg2DOL6w"
341
341
},
342
342
"source": [
343
-
"💥 **Challenge:**\n",
343
+
"**Challenge:**\n",
344
344
"\n",
345
345
"Write out an expression for the output of the MLP in the figure above. Make clear the dimension of all weight matrices, and assume that a general activation function $\\sigma()$ is used at each hidden layer.\n"
346
346
]
@@ -486,7 +486,7 @@
486
486
"id": "3IU2V2kvVHst"
487
487
},
488
488
"source": [
489
-
"💥 **Challenge:**\n",
489
+
"**Challenge:**\n",
490
490
"Try some different hyperparameters and test different architectures. Report the accuracies on the train and test sets for at least three different MLP models.\n"
491
491
]
492
492
},
@@ -2402,7 +2402,7 @@
2402
2402
"id": "NQaJa_mLVlq0"
2403
2403
},
2404
2404
"source": [
2405
-
"💥 **Challenge:**\n",
2405
+
"**Challenge:**\n",
2406
2406
"Incorporate different types of augmentations into your model, discuss how different augmentations impact the accuracy on the test data.\n",
Copy file name to clipboardExpand all lines: notebooks/Notebook_4/Notebook_4c_PyTorch_Model.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,7 @@
132
132
#
133
133
134
134
# %% [markdown] id="BkyNqg2DOL6w"
135
-
# 💥 **Challenge:**
135
+
# **Challenge:**
136
136
#
137
137
# Write out an expression for the output of the MLP in the figure above. Make clear the dimension of all weight matrices, and assume that a general activation function $\sigma()$ is used at each hidden layer.
# Try some different hyperparameters and test different architectures. Report the accuracies on the train and test sets for at least three different MLP models.
0 commit comments