From e4b268e8d4ae647c044860c4396c21f3ed4a5acb Mon Sep 17 00:00:00 2001 From: Shreyash Gupta Date: Wed, 20 Nov 2024 12:38:09 -0600 Subject: [PATCH] Restructuring all of the chapters --- _toc.yml | 28 +++++++++---- ...1 - Introduction to Machine Learning.ipynb | 22 +--------- ...pter 2 - Supervised Machine Learning.ipynb | 42 ------------------- chapters/Chapter 2: Data Fundamentals.ipynb | 10 +++++ ...er 3 - Unsupervised Machine Learning.ipynb | 42 ------------------- chapters/Chapter 3: Supervised Learning.ipynb | 10 +++++ .../Chapter 4: Unsupervised Learning.ipynb | 10 +++++ ...> Chapter 5: Neural Networks Basics.ipynb} | 2 +- chapters/Chapter 6: Deep Learning Tools.ipynb | 10 +++++ ...ter 7: Convolutional Neural Networks.ipynb | 10 +++++ .../Chapter 8: Sequential Data and RNNs.ipynb | 10 +++++ .../Chapter 9: Modern Deep Learning.ipynb | 10 +++++ 12 files changed, 93 insertions(+), 113 deletions(-) delete mode 100644 chapters/Chapter 2 - Supervised Machine Learning.ipynb create mode 100644 chapters/Chapter 2: Data Fundamentals.ipynb delete mode 100644 chapters/Chapter 3 - Unsupervised Machine Learning.ipynb create mode 100644 chapters/Chapter 3: Supervised Learning.ipynb create mode 100644 chapters/Chapter 4: Unsupervised Learning.ipynb rename chapters/{Chapter x - Introduction to Deep Learning.ipynb => Chapter 5: Neural Networks Basics.ipynb} (99%) create mode 100644 chapters/Chapter 6: Deep Learning Tools.ipynb create mode 100644 chapters/Chapter 7: Convolutional Neural Networks.ipynb create mode 100644 chapters/Chapter 8: Sequential Data and RNNs.ipynb create mode 100644 chapters/Chapter 9: Modern Deep Learning.ipynb diff --git a/_toc.yml b/_toc.yml index a6cc1c1..d62a6ea 100644 --- a/_toc.yml +++ b/_toc.yml @@ -1,15 +1,29 @@ format: jb-book root: README.md parts: - - caption: Machine Learning + - caption: Foundations of Machine Learning chapters: - file: chapters/Chapter 1 - Introduction to Machine Learning title: "Chapter 1 - Introduction to Machine Learning" - - file: chapters/Chapter 2 - Supervised Machine Learning - title: "Chapter 2 - Supervised Machine Learning" - - file: chapters/Chapter 3 - Unsupervised Machine Learning - title: "Chapter 3 - Unsupervised Machine Learning" - - caption: Deep Learning + - file: chapters/Chapter 2 - Data Fundamentals + title: "Chapter 2 - Data Fundamentals" + - file: chapters/Chapter 3 - Supervised Learning + title: "Chapter 3 - Supervised Learning" + - file: chapters/Chapter 4 - Unsupervised Learning + title: "Chapter 4 - Unsupervised Learning" + - caption: Deep Learning Fundamentals chapters: - - file: "chapters/Chapter x - Introduction to Deep Learning" + - file: chapters/Chapter 5 - Neural Networks Basics + title: "Chapter 5 - Neural Networks Basics" + - file: chapters/Chapter 6 - Deep Learning Tools + title: "Chapter 6 - Deep Learning Tools" + - caption: Advanced Deep Learning + chapters: + - file: chapters/Chapter 7 - Convolutional Neural Networks + title: "Chapter 7 - Convolutional Neural Networks" + - file: chapters/Chapter 8 - Sequential Data and RNNs + title: "Chapter 8 - Sequential Data and RNNs" + - file: chapters/Chapter 9 - Modern Deep Learning + title: "Chapter 9 - Modern Deep Learning" + - file: chapters/Chapter x - Introduction to Deep Learning title: "Chapter x - Introduction to Deep Learning" \ No newline at end of file diff --git a/chapters/Chapter 1 - Introduction to Machine Learning.ipynb b/chapters/Chapter 1 - Introduction to Machine Learning.ipynb index b3c335f..0190f25 100644 --- a/chapters/Chapter 1 - Introduction to Machine Learning.ipynb +++ b/chapters/Chapter 1 - Introduction to Machine Learning.ipynb @@ -27,20 +27,6 @@ "\n" ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - }, { "cell_type": "markdown", "metadata": {}, @@ -159,8 +145,7 @@ "td:last-child {\n", " width: 30%;\n", "}\n", - "\n", - "\n" + "\n" ] }, { @@ -239,11 +224,6 @@ "}\n", "\n" ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [] } ], "metadata": { diff --git a/chapters/Chapter 2 - Supervised Machine Learning.ipynb b/chapters/Chapter 2 - Supervised Machine Learning.ipynb deleted file mode 100644 index 9b3515d..0000000 --- a/chapters/Chapter 2 - Supervised Machine Learning.ipynb +++ /dev/null @@ -1,42 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Supervised Learning\n", - "---\n", - "### Setup\n", - "* Find a prediction function, $h: x \\to y$
\n", - "* Given Training Set - ${(x^{(1)}, y^{(1)}), \\cdots, (x^{(n)}, y^{(n)})}$, $x^{(i)} \\in X$, $y^{(i)} \\in Y$
\n", - "* Do: Find a good, $h: x \\to y$ (hypothesis)\n", - "* if y is discrete, example of classfication problems\n", - "* if y is contnuous, example of regression\n", - "* When you look at new data, look through it. Figure out what is going on\n", - "\n", - "[Data](https://www.kaggle.com/competitions/house-prices-advanced-regression-techniques)\n", - "| | Size | Bedroom | Lot Size | ... | Price |\n", - "| -------- | ------- | -------- | -------- | -------- | -------- |\n", - "| $X^{1}$ | 4 | 3 | aa | ... | x |\n", - "\n", - "How dow we represent $h(x)$
\n", - "$ h(x) = \\theta _{0} + \\theta _{1}x_1 + \\cdots + \\theta _{d}x_{d}$ = $\\sum_{j = 0}^d \\theta _{j}x_{j}$\n", - "\n", - "Parameters, $\\theta = \\begin{bmatrix} \\theta _{0} \\\\ \\theta _{1} \\\\ \\theta _{2} \\\\ \\vdots \\\\ \\theta _{d} \\end{bmatrix}$\n", - "Features, $X^{(1)} = \\begin{bmatrix} x_{0}^{(1)} \\\\ x_{1}^{(1)} \\\\ x_{2}^{(1)} \\\\ \\vdots \\\\ x_{d}^{(1)} \\end{bmatrix}$" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [] - } - ], - "metadata": { - "language_info": { - "name": "python" - } - }, - "nbformat": 4, - "nbformat_minor": 2 -} diff --git a/chapters/Chapter 2: Data Fundamentals.ipynb b/chapters/Chapter 2: Data Fundamentals.ipynb new file mode 100644 index 0000000..c55a287 --- /dev/null +++ b/chapters/Chapter 2: Data Fundamentals.ipynb @@ -0,0 +1,10 @@ +{ + "cells": [], + "metadata": { + "language_info": { + "name": "python" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/chapters/Chapter 3 - Unsupervised Machine Learning.ipynb b/chapters/Chapter 3 - Unsupervised Machine Learning.ipynb deleted file mode 100644 index 9b3515d..0000000 --- a/chapters/Chapter 3 - Unsupervised Machine Learning.ipynb +++ /dev/null @@ -1,42 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Supervised Learning\n", - "---\n", - "### Setup\n", - "* Find a prediction function, $h: x \\to y$
\n", - "* Given Training Set - ${(x^{(1)}, y^{(1)}), \\cdots, (x^{(n)}, y^{(n)})}$, $x^{(i)} \\in X$, $y^{(i)} \\in Y$
\n", - "* Do: Find a good, $h: x \\to y$ (hypothesis)\n", - "* if y is discrete, example of classfication problems\n", - "* if y is contnuous, example of regression\n", - "* When you look at new data, look through it. Figure out what is going on\n", - "\n", - "[Data](https://www.kaggle.com/competitions/house-prices-advanced-regression-techniques)\n", - "| | Size | Bedroom | Lot Size | ... | Price |\n", - "| -------- | ------- | -------- | -------- | -------- | -------- |\n", - "| $X^{1}$ | 4 | 3 | aa | ... | x |\n", - "\n", - "How dow we represent $h(x)$
\n", - "$ h(x) = \\theta _{0} + \\theta _{1}x_1 + \\cdots + \\theta _{d}x_{d}$ = $\\sum_{j = 0}^d \\theta _{j}x_{j}$\n", - "\n", - "Parameters, $\\theta = \\begin{bmatrix} \\theta _{0} \\\\ \\theta _{1} \\\\ \\theta _{2} \\\\ \\vdots \\\\ \\theta _{d} \\end{bmatrix}$\n", - "Features, $X^{(1)} = \\begin{bmatrix} x_{0}^{(1)} \\\\ x_{1}^{(1)} \\\\ x_{2}^{(1)} \\\\ \\vdots \\\\ x_{d}^{(1)} \\end{bmatrix}$" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [] - } - ], - "metadata": { - "language_info": { - "name": "python" - } - }, - "nbformat": 4, - "nbformat_minor": 2 -} diff --git a/chapters/Chapter 3: Supervised Learning.ipynb b/chapters/Chapter 3: Supervised Learning.ipynb new file mode 100644 index 0000000..c55a287 --- /dev/null +++ b/chapters/Chapter 3: Supervised Learning.ipynb @@ -0,0 +1,10 @@ +{ + "cells": [], + "metadata": { + "language_info": { + "name": "python" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/chapters/Chapter 4: Unsupervised Learning.ipynb b/chapters/Chapter 4: Unsupervised Learning.ipynb new file mode 100644 index 0000000..c55a287 --- /dev/null +++ b/chapters/Chapter 4: Unsupervised Learning.ipynb @@ -0,0 +1,10 @@ +{ + "cells": [], + "metadata": { + "language_info": { + "name": "python" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/chapters/Chapter x - Introduction to Deep Learning.ipynb b/chapters/Chapter 5: Neural Networks Basics.ipynb similarity index 99% rename from chapters/Chapter x - Introduction to Deep Learning.ipynb rename to chapters/Chapter 5: Neural Networks Basics.ipynb index 974fd8a..6a08e25 100644 --- a/chapters/Chapter x - Introduction to Deep Learning.ipynb +++ b/chapters/Chapter 5: Neural Networks Basics.ipynb @@ -11,7 +11,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "# Introduction to Deep Learning\n", + "# DeepLearning Course\n", "----" ] }, diff --git a/chapters/Chapter 6: Deep Learning Tools.ipynb b/chapters/Chapter 6: Deep Learning Tools.ipynb new file mode 100644 index 0000000..c55a287 --- /dev/null +++ b/chapters/Chapter 6: Deep Learning Tools.ipynb @@ -0,0 +1,10 @@ +{ + "cells": [], + "metadata": { + "language_info": { + "name": "python" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/chapters/Chapter 7: Convolutional Neural Networks.ipynb b/chapters/Chapter 7: Convolutional Neural Networks.ipynb new file mode 100644 index 0000000..c55a287 --- /dev/null +++ b/chapters/Chapter 7: Convolutional Neural Networks.ipynb @@ -0,0 +1,10 @@ +{ + "cells": [], + "metadata": { + "language_info": { + "name": "python" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/chapters/Chapter 8: Sequential Data and RNNs.ipynb b/chapters/Chapter 8: Sequential Data and RNNs.ipynb new file mode 100644 index 0000000..c55a287 --- /dev/null +++ b/chapters/Chapter 8: Sequential Data and RNNs.ipynb @@ -0,0 +1,10 @@ +{ + "cells": [], + "metadata": { + "language_info": { + "name": "python" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/chapters/Chapter 9: Modern Deep Learning.ipynb b/chapters/Chapter 9: Modern Deep Learning.ipynb new file mode 100644 index 0000000..c55a287 --- /dev/null +++ b/chapters/Chapter 9: Modern Deep Learning.ipynb @@ -0,0 +1,10 @@ +{ + "cells": [], + "metadata": { + "language_info": { + "name": "python" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +}