Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
coaxlab0 committed Jan 9, 2024
1 parent 24a57f2 commit 3432c59
Show file tree
Hide file tree
Showing 127 changed files with 915 additions and 604 deletions.
32 changes: 25 additions & 7 deletions _sources/exercises/classifiers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "UnBVazYfZXqP"
"id": "UnBVazYfZXqP",
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -73,7 +76,10 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "PIPheP5ipgKg"
"id": "PIPheP5ipgKg",
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -126,7 +132,10 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "AidH_KidrX9L"
"id": "AidH_KidrX9L",
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -178,7 +187,10 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "nZQ2_WzixTJH"
"id": "nZQ2_WzixTJH",
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -229,7 +241,10 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "v5unJLgdERP_"
"id": "v5unJLgdERP_",
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
Expand All @@ -250,7 +265,10 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "tvhhrDWRF2hJ"
"id": "tvhhrDWRF2hJ",
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -283,7 +301,7 @@
"id": "C4MPECMmZXqe"
},
"source": [
"**DUE:** 5pm EST, March 20, 2023"
"**DUE:** 5pm EST, March 18, 2024"
]
},
{
Expand Down
51 changes: 38 additions & 13 deletions _sources/exercises/cross-validation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"id": "6xdZ1WjBmtDf"
},
"source": [
"# Exercise 12: Cross Validation\n",
"# Exercise 12: Cross validation\n",
"-----\n",
"\n",
"In this exercise, we'll practice implementing cross validation techniques, including leave-one-out and k-fold cross validation. We'll use the `PimaIndiansDiabetes2` practice dataset, which has medical data on a group of Pima Native American women, including whether or not they have diabetes. This dataset is part of the `mlbench` package. We'll be using each person's medical history to predict whether or not they have been diagnosed with diabetes. "
Expand All @@ -30,7 +30,10 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "QNuKGb6emtDg"
"id": "QNuKGb6emtDg",
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -60,7 +63,10 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "RDyry5h_mtDi"
"id": "RDyry5h_mtDi",
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
Expand All @@ -87,7 +93,10 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "5Z1ijm_PmtDj"
"id": "5Z1ijm_PmtDj",
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -124,7 +133,10 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "SYhKS5HimtDk"
"id": "SYhKS5HimtDk",
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
Expand All @@ -148,7 +160,10 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "wIUAW1AtmtDl"
"id": "wIUAW1AtmtDl",
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -177,7 +192,10 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "bJiCmfqomtDl"
"id": "bJiCmfqomtDl",
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -215,7 +233,10 @@
"execution_count": null,
"metadata": {
"id": "vZYq_NQlmtDm",
"scrolled": true
"scrolled": true,
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -249,16 +270,20 @@
"\n",
"If you change the random seed above, you'll get slightly different errors. If you were to do the same with your LOOCV above , would you expect to get different results each time? Why or why not?\n",
"> * *Write response here*\n",
"> * \n",
"\n",
"> * "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"\n",
"**DUE:** 5pm March 27, 2023\n",
"**DUE:** 5pm March 25, 2024\n",
"\n",
"**IMPORTANT** Did you collaborate with anyone on this assignment? If so, list their names here.\n",
"> *Someone's Name*\n",
">\n",
">\n",
"\n"
">\n"
]
}
],
Expand Down
70 changes: 57 additions & 13 deletions _sources/exercises/data-as-objects-and-architectures.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@
},
"id": "UnBVazYfZXqP",
"outputId": "8dd73df4-f1c4-4855-9525-093bfb8e7460",
"scrolled": true
"scrolled": true,
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
Expand All @@ -61,7 +64,10 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
"scrolled": true,
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
Expand All @@ -81,7 +87,10 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": false
"scrolled": false,
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
Expand All @@ -103,7 +112,11 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
"sigma(cred_lm)"
Expand All @@ -128,7 +141,10 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
"scrolled": true,
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
Expand All @@ -152,7 +168,11 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
"# INSERT CODE HERE\n"
Expand All @@ -161,7 +181,11 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
"# Test and compare results. \n",
Expand All @@ -185,7 +209,11 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
"cred_lm$coefficients"
Expand All @@ -201,7 +229,11 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
"str(cred_lm)"
Expand All @@ -219,7 +251,11 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
"# INSERT CODE HERE\n"
Expand All @@ -235,7 +271,11 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
"# INSERT CODE HERE\n"
Expand All @@ -251,7 +291,11 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
"# INSERT CODE HERE\n"
Expand All @@ -272,7 +316,7 @@
"id": "C4MPECMmZXqe"
},
"source": [
"**DUE:** 5pm EST, Feb 8, 2023"
"**DUE:** 5pm EST, Feb 7, 2024"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion _sources/exercises/linear-models.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
"id": "3EgzqKyDJN6V"
},
"source": [
"**DUE:** 5pm EST, February 27, 2023"
"**DUE:** 5pm EST, February 26, 2024"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion _sources/exercises/mediation-and-moderation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
"id": "C4MPECMmZXqe"
},
"source": [
"**DUE:** 5pm EST, April 3, 2023"
"**DUE:** 5pm EST, April 1, 2024"
]
},
{
Expand Down
Loading

0 comments on commit 3432c59

Please sign in to comment.