Skip to content

Commit 8f6875f

Browse files
committed
updates
1 parent 738e76d commit 8f6875f

8 files changed

Lines changed: 1997 additions & 898 deletions

‎notebooks/Notebook_1/Notebook_1a_Overview_and_Data_Representation.ipynb‎

Lines changed: 1254 additions & 639 deletions
Large diffs are not rendered by default.

‎notebooks/Notebook_1/Notebook_1a_Overview_and_Data_Representation.py‎

Lines changed: 733 additions & 259 deletions
Large diffs are not rendered by default.

‎notebooks/Notebook_1/Notebook_1b_Noise_and_Modeling_Data.ipynb‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@
359359
"- which values are rare\n",
360360
"\n",
361361
"You can think of a distribution as:\n",
362+
"\n",
362363
"> A *model* of uncertainty.\n",
363364
"\n",
364365
"Later in this course we will:\n",

‎notebooks/Notebook_1/Notebook_1b_Noise_and_Modeling_Data.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@
211211
# - which values are rare
212212
#
213213
# You can think of a distribution as:
214+
#
214215
# > A *model* of uncertainty.
215216
#
216217
# Later in this course we will:

‎notebooks/Notebook_2/Notebook_2a_Building_a_Model.ipynb‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@
136136
"- **Clustering**: group similar data points together (e.g. k-means).\n",
137137
"\n",
138138
"You can think of unsupervised learning as:\n",
139+
"\n",
139140
"> “Let the data speak; find structure in $\\mathbf{x}$ itself.”\n",
140141
"\n",
141142
"In this module, we focus on **supervised learning and classification** to get familiar with modeling in `scikit-learn`.\n"

‎notebooks/Notebook_2/Notebook_2a_Building_a_Model.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
# - **Clustering**: group similar data points together (e.g. k-means).
106106
#
107107
# You can think of unsupervised learning as:
108+
#
108109
# > “Let the data speak; find structure in $\mathbf{x}$ itself.”
109110
#
110111
# In this module, we focus on **supervised learning and classification** to get familiar with modeling in `scikit-learn`.

‎notebooks/Notebook_3/Notebook_3c_Statistics_2.ipynb‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,7 @@
790790
" - sample size needs?\n",
791791
"\n",
792792
"Key takeaway:\n",
793+
"\n",
793794
"> Noise does not \"erase\" signal, but it makes it harder to see. Uncertainty increases, p-values increase, and confidence intervals widen — so the chance of a **Type II error** (missing a real effect) goes up and power goes down. A non-significant result in a noisy, small study is not evidence that nothing is there.\n"
794795
]
795796
},
@@ -861,6 +862,7 @@
861862
" - Could some low BMI patients still have worse outcomes?\n",
862863
"\n",
863864
"Reflection:\n",
865+
"\n",
864866
"> What question does the t-test answer in this context?\n",
865867
"\n",
866868
"---\n",
@@ -876,6 +878,7 @@
876878
"3. Does ANOVA tell us which groups differ?\n",
877879
"\n",
878880
"Reflection:\n",
881+
"\n",
879882
"> Why might ANOVA say \"significant\" even if distributions overlap?\n",
880883
"\n",
881884
"---\n",

‎notebooks/Notebook_3/Notebook_3c_Statistics_2.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ def power_widget(widgets):
437437
# - sample size needs?
438438
#
439439
# Key takeaway:
440+
#
440441
# > Noise does not "erase" signal, but it makes it harder to see. Uncertainty increases, p-values increase, and confidence intervals widen — so the chance of a **Type II error** (missing a real effect) goes up and power goes down. A non-significant result in a noisy, small study is not evidence that nothing is there.
441442
#
442443

@@ -490,6 +491,7 @@ def power_widget(widgets):
490491
# - Could some low BMI patients still have worse outcomes?
491492
#
492493
# Reflection:
494+
#
493495
# > What question does the t-test answer in this context?
494496
#
495497
# ---
@@ -505,6 +507,7 @@ def power_widget(widgets):
505507
# 3. Does ANOVA tell us which groups differ?
506508
#
507509
# Reflection:
510+
#
508511
# > Why might ANOVA say "significant" even if distributions overlap?
509512
#
510513
# ---

0 commit comments

Comments
 (0)