From 6f53c21c5beba31ce41c06f5a0a3647f42a9b81e Mon Sep 17 00:00:00 2001 From: ci-doc-deploy-bot Date: Mon, 14 Oct 2024 16:06:52 +0000 Subject: [PATCH] [skip ci] docs build of eef97a867edb5bda65eb12ab51e96b30b36e79f3 --- .buildinfo | 4 +- _sources/content/mooreslaw-tutorial.ipynb | 90 +++++----- _sources/content/pairing.ipynb | 6 +- _sources/content/save-load-arrays.ipynb | 54 +++--- .../tutorial-air-quality-analysis.ipynb | 78 ++++---- .../tutorial-deep-learning-on-mnist.ipynb | 127 ++++++-------- ...ement-learning-with-pong-from-pixels.ipynb | 2 +- _sources/content/tutorial-ma.ipynb | 98 +++++------ .../content/tutorial-plotting-fractals.ipynb | 156 ++++++++-------- .../content/tutorial-static_equilibrium.ipynb | 62 +++---- _sources/content/tutorial-style-guide.ipynb | 10 +- _sources/content/tutorial-svd.ipynb | 166 +++++++++--------- .../tutorial-x-ray-image-processing.ipynb | 122 ++++++------- _static/basic.css | 15 +- _static/doctools.js | 7 - _static/language_data.js | 7 - _static/searchtools.js | 38 ++-- applications.html | 2 +- articles.html | 2 +- content/mooreslaw-tutorial.html | 4 +- content/pairing.html | 2 +- content/save-load-arrays.html | 2 +- content/tutorial-air-quality-analysis.html | 4 +- content/tutorial-deep-learning-on-mnist.html | 16 +- ...cement-learning-with-pong-from-pixels.html | 2 +- content/tutorial-ma.html | 4 +- content/tutorial-nlp-from-scratch.html | 2 +- content/tutorial-plotting-fractals.html | 2 +- content/tutorial-static_equilibrium.html | 2 +- content/tutorial-style-guide.html | 2 +- content/tutorial-svd.html | 2 +- content/tutorial-x-ray-image-processing.html | 2 +- contributing.html | 2 +- features.html | 2 +- genindex.html | 2 +- index.html | 2 +- search.html | 2 +- searchindex.js | 2 +- 38 files changed, 524 insertions(+), 580 deletions(-) diff --git a/.buildinfo b/.buildinfo index 67b7b6b0..a35bea23 100644 --- a/.buildinfo +++ b/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 -# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 7dfcb4991759350352a4d15c8aec86b2 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: d6df90a861c71dcf39849b3e9799a6ff tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/_sources/content/mooreslaw-tutorial.ipynb b/_sources/content/mooreslaw-tutorial.ipynb index 3746b872..c2ec7f64 100644 --- a/_sources/content/mooreslaw-tutorial.ipynb +++ b/_sources/content/mooreslaw-tutorial.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "c5b62429", + "id": "6817190b", "metadata": {}, "source": [ "# Determining Moore's Law with real data in NumPy\n", @@ -44,7 +44,7 @@ { "cell_type": "code", "execution_count": 1, - "id": "ead869c5", + "id": "04508124", "metadata": {}, "outputs": [], "source": [ @@ -54,7 +54,7 @@ }, { "cell_type": "markdown", - "id": "6943566e", + "id": "688fe6c1", "metadata": {}, "source": [ "**2.** Since this is an exponential growth law you need a little background in doing math with [natural logs](https://en.wikipedia.org/wiki/Natural_logarithm) and [exponentials](https://en.wikipedia.org/wiki/Exponential_function).\n", @@ -76,7 +76,7 @@ }, { "cell_type": "markdown", - "id": "e6badb6f", + "id": "58cefb4e", "metadata": {}, "source": [ "---\n", @@ -122,7 +122,7 @@ { "cell_type": "code", "execution_count": 2, - "id": "a35a2dad", + "id": "a1f79630", "metadata": {}, "outputs": [], "source": [ @@ -133,7 +133,7 @@ }, { "cell_type": "markdown", - "id": "995e1da7", + "id": "3347da00", "metadata": {}, "source": [ "In 1971, there were 2250 transistors on the Intel 4004 chip. Use\n", @@ -144,7 +144,7 @@ { "cell_type": "code", "execution_count": 3, - "id": "82eedc8b", + "id": "482fa2c2", "metadata": {}, "outputs": [ { @@ -165,7 +165,7 @@ }, { "cell_type": "markdown", - "id": "d65a1d60", + "id": "6d034da4", "metadata": {}, "source": [ "## Loading historical manufacturing data to your workspace\n", @@ -189,7 +189,7 @@ { "cell_type": "code", "execution_count": 4, - "id": "f93f0a2d", + "id": "84e2487f", "metadata": {}, "outputs": [ { @@ -215,7 +215,7 @@ }, { "cell_type": "markdown", - "id": "2eb4f896", + "id": "be602b1d", "metadata": {}, "source": [ "You don't need the columns that specify __Processor__, __Designer__,\n", @@ -234,7 +234,7 @@ { "cell_type": "code", "execution_count": 5, - "id": "e546b3fd", + "id": "8fed4d4f", "metadata": {}, "outputs": [], "source": [ @@ -243,7 +243,7 @@ }, { "cell_type": "markdown", - "id": "165285dc", + "id": "a98d51ad", "metadata": {}, "source": [ "You loaded the entire history of semiconducting into a NumPy array named\n", @@ -260,7 +260,7 @@ { "cell_type": "code", "execution_count": 6, - "id": "41eaa662", + "id": "4b0bde8f", "metadata": {}, "outputs": [ { @@ -282,7 +282,7 @@ }, { "cell_type": "markdown", - "id": "d3c32654", + "id": "179f0558", "metadata": {}, "source": [ "You are creating a function that predicts the transistor count given a\n", @@ -300,7 +300,7 @@ { "cell_type": "code", "execution_count": 7, - "id": "4adee4fc", + "id": "11215274", "metadata": {}, "outputs": [], "source": [ @@ -309,7 +309,7 @@ }, { "cell_type": "markdown", - "id": "0cbc37c4", + "id": "75fc64f4", "metadata": {}, "source": [ "## Calculating the historical growth curve for transistors\n", @@ -338,7 +338,7 @@ { "cell_type": "code", "execution_count": 8, - "id": "bd3d26f0", + "id": "aa8bc31b", "metadata": {}, "outputs": [], "source": [ @@ -347,7 +347,7 @@ }, { "cell_type": "markdown", - "id": "b61bf71a", + "id": "58b98b3e", "metadata": {}, "source": [ "By default, `Polynomial.fit` performs the fit in the domain determined by the\n", @@ -359,7 +359,7 @@ { "cell_type": "code", "execution_count": 9, - "id": "5d4a7612", + "id": "c6033416", "metadata": {}, "outputs": [ { @@ -383,7 +383,7 @@ }, { "cell_type": "markdown", - "id": "d9452f7f", + "id": "88dc5c7f", "metadata": {}, "source": [ "The individual parameters $A$ and $B$ are the coefficients of our linear model:" @@ -392,7 +392,7 @@ { "cell_type": "code", "execution_count": 10, - "id": "3ffad457", + "id": "21ddd60e", "metadata": {}, "outputs": [], "source": [ @@ -401,7 +401,7 @@ }, { "cell_type": "markdown", - "id": "622bfedd", + "id": "ea456101", "metadata": {}, "source": [ "Did manufacturers double the transistor count every two years? You have\n", @@ -417,7 +417,7 @@ { "cell_type": "code", "execution_count": 11, - "id": "28d823ba", + "id": "c66e4598", "metadata": {}, "outputs": [ { @@ -434,7 +434,7 @@ }, { "cell_type": "markdown", - "id": "e740c571", + "id": "d494ead0", "metadata": {}, "source": [ "Based upon your least-squares regression model, the number of\n", @@ -465,7 +465,7 @@ }, { "cell_type": "markdown", - "id": "31780622", + "id": "90b0c99e", "metadata": {}, "source": [ "In the next plot, use the\n", @@ -479,7 +479,7 @@ { "cell_type": "code", "execution_count": 12, - "id": "759d3869", + "id": "2d0bca2f", "metadata": {}, "outputs": [ { @@ -524,7 +524,7 @@ }, { "cell_type": "markdown", - "id": "ecc5d555", + "id": "2a38281c", "metadata": {}, "source": [ "_A scatter plot of MOS transistor count per microprocessor every two years with a red line for the ordinary least squares prediction and an orange line for Moore's law._\n", @@ -563,7 +563,7 @@ { "cell_type": "code", "execution_count": 13, - "id": "e57dbc6b", + "id": "0a0129f9", "metadata": {}, "outputs": [ { @@ -576,7 +576,7 @@ { "data": { "text/plain": [ - "" + "" ] }, "execution_count": 13, @@ -620,7 +620,7 @@ }, { "cell_type": "markdown", - "id": "16f24fe4", + "id": "9bfcc991", "metadata": {}, "source": [ "The result is that your model is close to the mean, but Gordon\n", @@ -637,7 +637,7 @@ }, { "cell_type": "markdown", - "id": "237a9544", + "id": "ba66f737", "metadata": {}, "source": [ "## Sharing your results as zipped arrays and a csv\n", @@ -662,7 +662,7 @@ { "cell_type": "code", "execution_count": 14, - "id": "fb9c4f4e", + "id": "f575a901", "metadata": {}, "outputs": [ { @@ -696,7 +696,7 @@ { "cell_type": "code", "execution_count": 15, - "id": "a8248c5b", + "id": "6a5c6b1f", "metadata": {}, "outputs": [], "source": [ @@ -714,7 +714,7 @@ { "cell_type": "code", "execution_count": 16, - "id": "2246dab9", + "id": "72b8ba8a", "metadata": {}, "outputs": [], "source": [ @@ -724,7 +724,7 @@ { "cell_type": "code", "execution_count": 17, - "id": "f6acef79", + "id": "bab391d6", "metadata": {}, "outputs": [ { @@ -742,7 +742,7 @@ { "cell_type": "code", "execution_count": 18, - "id": "a9cb6a8c", + "id": "a1407b3d", "metadata": {}, "outputs": [ { @@ -780,7 +780,7 @@ }, { "cell_type": "markdown", - "id": "389ca448", + "id": "cc7826b2", "metadata": {}, "source": [ "The benefit of `np.savez` is you can save hundreds of arrays with\n", @@ -808,7 +808,7 @@ { "cell_type": "code", "execution_count": 19, - "id": "2267dc3e", + "id": "932bc340", "metadata": {}, "outputs": [ { @@ -841,7 +841,7 @@ }, { "cell_type": "markdown", - "id": "626559f9", + "id": "dd5d5fa8", "metadata": {}, "source": [ "Build a single 2D array to export to csv. Tabular data is inherently two\n", @@ -867,7 +867,7 @@ { "cell_type": "code", "execution_count": 20, - "id": "4cc6e6e4", + "id": "de2dc065", "metadata": {}, "outputs": [], "source": [ @@ -883,7 +883,7 @@ }, { "cell_type": "markdown", - "id": "f5b09a77", + "id": "97b22a7c", "metadata": {}, "source": [ "Creating the `mooreslaw_regression.csv` with `np.savetxt`, use three\n", @@ -897,7 +897,7 @@ { "cell_type": "code", "execution_count": 21, - "id": "4d06ab9c", + "id": "834b5d83", "metadata": {}, "outputs": [], "source": [ @@ -907,7 +907,7 @@ { "cell_type": "code", "execution_count": 22, - "id": "09bd59aa", + "id": "03b81d79", "metadata": {}, "outputs": [ { @@ -933,7 +933,7 @@ }, { "cell_type": "markdown", - "id": "ca6078a6", + "id": "d318eed1", "metadata": {}, "source": [ "## Wrapping up\n", @@ -957,7 +957,7 @@ }, { "cell_type": "markdown", - "id": "6c9250e6", + "id": "74f9e0d4", "metadata": {}, "source": [ "## References\n", diff --git a/_sources/content/pairing.ipynb b/_sources/content/pairing.ipynb index 72db2751..7a2e1e3e 100644 --- a/_sources/content/pairing.ipynb +++ b/_sources/content/pairing.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "b38e01c0", + "id": "29e5e2cf", "metadata": {}, "source": [ "# Pairing Jupyter notebooks and MyST-NB\n", @@ -76,7 +76,7 @@ { "cell_type": "code", "execution_count": 1, - "id": "4210e19a", + "id": "c29b596c", "metadata": {}, "outputs": [ { @@ -94,7 +94,7 @@ }, { "cell_type": "markdown", - "id": "1afc2be2", + "id": "30695416", "metadata": {}, "source": [ "---\n", diff --git a/_sources/content/save-load-arrays.ipynb b/_sources/content/save-load-arrays.ipynb index f8626bae..3edff943 100644 --- a/_sources/content/save-load-arrays.ipynb +++ b/_sources/content/save-load-arrays.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "7938a1eb", + "id": "486b7ce2", "metadata": {}, "source": [ "# Saving and sharing your NumPy arrays\n", @@ -37,7 +37,7 @@ { "cell_type": "code", "execution_count": 1, - "id": "a6a7597c", + "id": "b63c42dd", "metadata": {}, "outputs": [], "source": [ @@ -46,7 +46,7 @@ }, { "cell_type": "markdown", - "id": "df686392", + "id": "cbe9bd0b", "metadata": {}, "source": [ "In this tutorial, you will use the following Python, IPython magic, and NumPy functions:\n", @@ -64,7 +64,7 @@ }, { "cell_type": "markdown", - "id": "eb9c62c6", + "id": "c09f9753", "metadata": {}, "source": [ "---\n", @@ -81,7 +81,7 @@ { "cell_type": "code", "execution_count": 2, - "id": "901e41b4", + "id": "6e51f7b0", "metadata": {}, "outputs": [ { @@ -102,7 +102,7 @@ }, { "cell_type": "markdown", - "id": "0ba51951", + "id": "14b12e00", "metadata": {}, "source": [ "## Save your arrays with NumPy's [`savez`](https://numpy.org/doc/stable/reference/generated/numpy.savez.html?highlight=savez#numpy.savez)\n", @@ -125,7 +125,7 @@ { "cell_type": "code", "execution_count": 3, - "id": "f9faff24", + "id": "be16d71e", "metadata": {}, "outputs": [], "source": [ @@ -134,7 +134,7 @@ }, { "cell_type": "markdown", - "id": "4f31b6e6", + "id": "74762257", "metadata": {}, "source": [ "## Remove the saved arrays and load them back with NumPy's [`load`](https://numpy.org/doc/stable/reference/generated/numpy.load.html#numpy.load)\n", @@ -159,7 +159,7 @@ { "cell_type": "code", "execution_count": 4, - "id": "8477249b", + "id": "2cd67c6d", "metadata": {}, "outputs": [], "source": [ @@ -169,7 +169,7 @@ { "cell_type": "code", "execution_count": 5, - "id": "323f65bb", + "id": "f926c4cb", "metadata": {}, "outputs": [ { @@ -189,7 +189,7 @@ { "cell_type": "code", "execution_count": 6, - "id": "a3d17fce", + "id": "6eecaad7", "metadata": {}, "outputs": [ { @@ -209,7 +209,7 @@ { "cell_type": "code", "execution_count": 7, - "id": "929154f7", + "id": "3e9d203a", "metadata": {}, "outputs": [ { @@ -229,7 +229,7 @@ }, { "cell_type": "markdown", - "id": "235bc03d", + "id": "20b59c6e", "metadata": {}, "source": [ "## Reassign the NpzFile arrays to `x` and `y`\n", @@ -242,7 +242,7 @@ { "cell_type": "code", "execution_count": 8, - "id": "e5df78bf", + "id": "bb431d49", "metadata": {}, "outputs": [ { @@ -263,7 +263,7 @@ }, { "cell_type": "markdown", - "id": "a7283513", + "id": "0510bb90", "metadata": {}, "source": [ "## Success\n", @@ -294,7 +294,7 @@ { "cell_type": "code", "execution_count": 9, - "id": "6588dd2b", + "id": "16fa155d", "metadata": {}, "outputs": [ { @@ -323,7 +323,7 @@ }, { "cell_type": "markdown", - "id": "49b3c824", + "id": "547aa2d9", "metadata": {}, "source": [ "## Save the data to csv file using [`savetxt`](https://numpy.org/doc/stable/reference/generated/numpy.savetxt.html#numpy.savetxt)\n", @@ -338,7 +338,7 @@ { "cell_type": "code", "execution_count": 10, - "id": "f645c2e9", + "id": "8374a913", "metadata": {}, "outputs": [], "source": [ @@ -347,7 +347,7 @@ }, { "cell_type": "markdown", - "id": "2f80ba88", + "id": "6487085a", "metadata": {}, "source": [ "Open the file, `x_y-squared.csv`, and you'll see the following:" @@ -356,7 +356,7 @@ { "cell_type": "code", "execution_count": 11, - "id": "e3d2e293", + "id": "c239b6ae", "metadata": {}, "outputs": [ { @@ -382,7 +382,7 @@ }, { "cell_type": "markdown", - "id": "37923b2a", + "id": "ae2c0e71", "metadata": {}, "source": [ "## Our arrays as a csv file\n", @@ -406,7 +406,7 @@ { "cell_type": "code", "execution_count": 12, - "id": "511fec8c", + "id": "09eb5e8f", "metadata": {}, "outputs": [], "source": [ @@ -416,7 +416,7 @@ { "cell_type": "code", "execution_count": 13, - "id": "4b06bb56", + "id": "ad1d4bc0", "metadata": {}, "outputs": [], "source": [ @@ -426,7 +426,7 @@ { "cell_type": "code", "execution_count": 14, - "id": "de92af9c", + "id": "37e9a852", "metadata": {}, "outputs": [ { @@ -447,7 +447,7 @@ { "cell_type": "code", "execution_count": 15, - "id": "e8923b34", + "id": "114ec6d5", "metadata": {}, "outputs": [ { @@ -468,7 +468,7 @@ }, { "cell_type": "markdown", - "id": "c031900b", + "id": "ae333a7b", "metadata": {}, "source": [ "## Success, but remember your types\n", @@ -479,7 +479,7 @@ }, { "cell_type": "markdown", - "id": "e2cfe81a", + "id": "9a18b521", "metadata": {}, "source": [ "## Wrapping up\n", diff --git a/_sources/content/tutorial-air-quality-analysis.ipynb b/_sources/content/tutorial-air-quality-analysis.ipynb index 89ab3323..e7bb870b 100644 --- a/_sources/content/tutorial-air-quality-analysis.ipynb +++ b/_sources/content/tutorial-air-quality-analysis.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "4c347f75", + "id": "71a0ae40", "metadata": {}, "source": [ "# Analyzing the impact of the lockdown on air quality in Delhi, India\n", @@ -36,7 +36,7 @@ }, { "cell_type": "markdown", - "id": "ac43de9e", + "id": "c66da97a", "metadata": {}, "source": [ "## The problem of air pollution\n", @@ -54,7 +54,7 @@ { "cell_type": "code", "execution_count": 1, - "id": "527dafa1", + "id": "aa30dd6e", "metadata": {}, "outputs": [], "source": [ @@ -65,7 +65,7 @@ }, { "cell_type": "markdown", - "id": "426017f6", + "id": "ba4b36f2", "metadata": {}, "source": [ "## Building the dataset\n", @@ -80,7 +80,7 @@ { "cell_type": "code", "execution_count": 2, - "id": "06e5a323", + "id": "9fa6924b", "metadata": {}, "outputs": [ { @@ -106,7 +106,7 @@ }, { "cell_type": "markdown", - "id": "f09637ab", + "id": "fd9b56ea", "metadata": {}, "source": [ "For the purpose of this tutorial, we are only concerned with standard pollutants required for calculating the AQI, viz., PM 2.5, PM 10, NO2, NH3, SO2, CO, and O3. So, we will only import these particular columns with [np.loadtxt](https://numpy.org/devdocs/reference/generated/numpy.loadtxt.html). We'll then [slice](https://numpy.org/devdocs/glossary.html#term-0) and create two sets: `pollutants_A` with PM 2.5, PM 10, NO2, NH3, and SO2, and `pollutants_B` with CO and O3. The\n", @@ -116,7 +116,7 @@ { "cell_type": "code", "execution_count": 3, - "id": "cf34778e", + "id": "20f58739", "metadata": {}, "outputs": [ { @@ -140,7 +140,7 @@ }, { "cell_type": "markdown", - "id": "3a00ac68", + "id": "10c14d65", "metadata": {}, "source": [ "Our dataset might contain missing values, denoted by `NaN`, so let's do a quick check with [np.isfinite](https://numpy.org/devdocs/reference/generated/numpy.isfinite.html)." @@ -149,7 +149,7 @@ { "cell_type": "code", "execution_count": 4, - "id": "601bbf05", + "id": "de3a18a6", "metadata": {}, "outputs": [ { @@ -169,7 +169,7 @@ }, { "cell_type": "markdown", - "id": "6372716f", + "id": "6672043f", "metadata": {}, "source": [ "With this, we have successfully imported the data and checked that it is complete. Let's move on to the AQI calculations!" @@ -177,7 +177,7 @@ }, { "cell_type": "markdown", - "id": "37dc6c59", + "id": "d8f742fd", "metadata": {}, "source": [ "## Calculating the Air Quality Index\n", @@ -219,7 +219,7 @@ { "cell_type": "code", "execution_count": 5, - "id": "25051d0e", + "id": "286d7848", "metadata": {}, "outputs": [], "source": [ @@ -238,7 +238,7 @@ }, { "cell_type": "markdown", - "id": "2237b84e", + "id": "7b7a09a5", "metadata": {}, "source": [ "### Moving averages\n", @@ -253,7 +253,7 @@ { "cell_type": "code", "execution_count": 6, - "id": "65f3d2e7", + "id": "d0d42b92", "metadata": {}, "outputs": [], "source": [ @@ -268,7 +268,7 @@ }, { "cell_type": "markdown", - "id": "68221de0", + "id": "ef38e2ae", "metadata": {}, "source": [ "Now, we can join both sets with [np.concatenate](https://numpy.org/devdocs/reference/generated/numpy.concatenate.html) to form a single data set of all the averaged concentrations. Note that we have to join our arrays column-wise so we pass the\n", @@ -278,7 +278,7 @@ { "cell_type": "code", "execution_count": 7, - "id": "591a7c43", + "id": "2175e2ff", "metadata": {}, "outputs": [], "source": [ @@ -287,7 +287,7 @@ }, { "cell_type": "markdown", - "id": "93448b5e", + "id": "8b2b3132", "metadata": {}, "source": [ "### Sub-indices\n", @@ -304,7 +304,7 @@ { "cell_type": "code", "execution_count": 8, - "id": "e53b6765", + "id": "3625a74d", "metadata": {}, "outputs": [], "source": [ @@ -360,7 +360,7 @@ }, { "cell_type": "markdown", - "id": "86c526fe", + "id": "e69bb655", "metadata": {}, "source": [ "We will use [np.vectorize](https://numpy.org/devdocs/reference/generated/numpy.vectorize.html) to utilize the concept of vectorization. This simply means we don't have loop over each element of the pollutant array ourselves. [Vectorization](https://numpy.org/devdocs/user/whatisnumpy.html#why-is-numpy-fast) is one of the key advantages of NumPy." @@ -369,7 +369,7 @@ { "cell_type": "code", "execution_count": 9, - "id": "4b2c56e5", + "id": "cf4e2ae2", "metadata": {}, "outputs": [], "source": [ @@ -378,7 +378,7 @@ }, { "cell_type": "markdown", - "id": "6a5d424e", + "id": "a309867f", "metadata": {}, "source": [ "By calling our vectorized function `vcompute_indices` for each pollutant, we get the sub-indices. To get back an array with the original shape, we use [np.stack](https://numpy.org/devdocs/reference/generated/numpy.stack.html)." @@ -387,7 +387,7 @@ { "cell_type": "code", "execution_count": 10, - "id": "33771587", + "id": "ae7ad7cc", "metadata": {}, "outputs": [], "source": [ @@ -402,7 +402,7 @@ }, { "cell_type": "markdown", - "id": "f35a6e81", + "id": "2494cf4e", "metadata": {}, "source": [ "### Air quality indices\n", @@ -413,7 +413,7 @@ { "cell_type": "code", "execution_count": 11, - "id": "ad032c11", + "id": "d7d80547", "metadata": {}, "outputs": [], "source": [ @@ -422,7 +422,7 @@ }, { "cell_type": "markdown", - "id": "50780d6c", + "id": "40be06c9", "metadata": {}, "source": [ "With this, we have the AQI for every hour from June 1, 2019 to June 30, 2020. Note that even though we started out with\n", @@ -431,7 +431,7 @@ }, { "cell_type": "markdown", - "id": "bef2699d", + "id": "0663065d", "metadata": {}, "source": [ "## Paired Student's t-test on the AQIs\n", @@ -448,7 +448,7 @@ { "cell_type": "code", "execution_count": 12, - "id": "a33841b5", + "id": "dff11ce0", "metadata": {}, "outputs": [], "source": [ @@ -458,7 +458,7 @@ }, { "cell_type": "markdown", - "id": "e55435e8", + "id": "52a4e6e2", "metadata": {}, "source": [ "Since total lockdown commenced in Delhi from March 24, 2020, the after-lockdown subset is of the period March 24, 2020 to June 30, 2020. The before-lockdown subset is for the same length of time before 24th March." @@ -467,7 +467,7 @@ { "cell_type": "code", "execution_count": 13, - "id": "6f9279a3", + "id": "2a041583", "metadata": {}, "outputs": [ { @@ -490,7 +490,7 @@ }, { "cell_type": "markdown", - "id": "82f5b935", + "id": "0e4c603f", "metadata": {}, "source": [ "To make sure our samples are *approximately* normally distributed, we take samples of size `n = 30`. `before_sample` and `after_sample` are the set of random observations drawn before and after the total lockdown. We use [random.Generator.choice](https://numpy.org/devdocs/reference/random/generated/numpy.random.Generator.choice.html) to generate the samples." @@ -499,7 +499,7 @@ { "cell_type": "code", "execution_count": 14, - "id": "313b54c2", + "id": "6d9ca0af", "metadata": {}, "outputs": [], "source": [ @@ -511,7 +511,7 @@ }, { "cell_type": "markdown", - "id": "9f9fc347", + "id": "677f8de5", "metadata": {}, "source": [ "### Defining the hypothesis\n", @@ -524,7 +524,7 @@ }, { "cell_type": "markdown", - "id": "a72ef451", + "id": "0e7398a7", "metadata": {}, "source": [ "### Calculating the test statistics\n", @@ -545,7 +545,7 @@ { "cell_type": "code", "execution_count": 15, - "id": "b541d48d", + "id": "37d8d5d0", "metadata": {}, "outputs": [], "source": [ @@ -561,7 +561,7 @@ }, { "cell_type": "markdown", - "id": "0ff7e059", + "id": "44394507", "metadata": {}, "source": [ "For the `p` value, we will use SciPy's `stats.distributions.t.cdf()` function. It takes two arguments- the `t statistic` and the degrees of freedom (`dof`). The formula for `dof` is `n - 1`." @@ -570,14 +570,14 @@ { "cell_type": "code", "execution_count": 16, - "id": "9e13daa7", + "id": "d6c4c9bf", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "The t value is -7.178067324290355 and the p value is 3.343110656980675e-08.\n" + "The t value is -6.781672673581932 and the p value is 9.567913589313939e-08.\n" ] } ], @@ -591,7 +591,7 @@ }, { "cell_type": "markdown", - "id": "fd168b72", + "id": "9cdcd3a0", "metadata": {}, "source": [ "## What do the `t` and `p` values mean?\n", @@ -609,7 +609,7 @@ }, { "cell_type": "markdown", - "id": "6c71eac2", + "id": "dcdaa44f", "metadata": {}, "source": [ "***\n", diff --git a/_sources/content/tutorial-deep-learning-on-mnist.ipynb b/_sources/content/tutorial-deep-learning-on-mnist.ipynb index 883f8b12..c814c7f1 100644 --- a/_sources/content/tutorial-deep-learning-on-mnist.ipynb +++ b/_sources/content/tutorial-deep-learning-on-mnist.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "2cf69196", + "id": "d85d779a", "metadata": {}, "source": [ "# Deep learning on MNIST\n", @@ -64,7 +64,7 @@ { "cell_type": "code", "execution_count": 1, - "id": "34a95f69", + "id": "21f33b56", "metadata": {}, "outputs": [], "source": [ @@ -78,7 +78,7 @@ }, { "cell_type": "markdown", - "id": "39f4e37b", + "id": "223dd2c0", "metadata": {}, "source": [ "**2.** Load the data. First check if the data is stored locally; if not, then\n", @@ -88,7 +88,7 @@ { "cell_type": "code", "execution_count": 2, - "id": "a726af45", + "id": "62eb9ea2", "metadata": { "tags": [ "remove-cell" @@ -110,38 +110,9 @@ { "cell_type": "code", "execution_count": 3, - "id": "06afb046", + "id": "ccb99288", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Downloading file: train-images-idx3-ubyte.gz\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Downloading file: t10k-images-idx3-ubyte.gz\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Downloading file: train-labels-idx1-ubyte.gz\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Downloading file: t10k-labels-idx1-ubyte.gz\n" - ] - } - ], + "outputs": [], "source": [ "import requests\n", "import os\n", @@ -164,7 +135,7 @@ }, { "cell_type": "markdown", - "id": "d29dd540", + "id": "090352fe", "metadata": {}, "source": [ "**3.** Decompress the 4 files and create 4 [`ndarrays`](https://numpy.org/doc/stable/reference/arrays.ndarray.html), saving them into a dictionary. Each original image is of size 28x28 and neural networks normally expect a 1D vector input; therefore, you also need to reshape the images by multiplying 28 by 28 (784)." @@ -173,7 +144,7 @@ { "cell_type": "code", "execution_count": 4, - "id": "f1d08ac0", + "id": "e44b9eb9", "metadata": {}, "outputs": [], "source": [ @@ -196,7 +167,7 @@ }, { "cell_type": "markdown", - "id": "ef341932", + "id": "c2afee63", "metadata": {}, "source": [ "**4.** Split the data into training and test sets using the standard notation of `x` for data and `y` for labels, calling the training and test set images `x_train` and `x_test`, and the labels `y_train` and `y_test`:" @@ -205,7 +176,7 @@ { "cell_type": "code", "execution_count": 5, - "id": "ea4721e7", + "id": "8d8fd7fc", "metadata": {}, "outputs": [], "source": [ @@ -219,7 +190,7 @@ }, { "cell_type": "markdown", - "id": "36e7e7a0", + "id": "7e485f83", "metadata": {}, "source": [ "**5.** You can confirm that the shape of the image arrays is `(60000, 784)` and `(10000, 784)` for training and test sets, respectively, and the labels — `(60000,)` and `(10000,)`:" @@ -228,7 +199,7 @@ { "cell_type": "code", "execution_count": 6, - "id": "7a74fc56", + "id": "464fb3b3", "metadata": {}, "outputs": [ { @@ -255,7 +226,7 @@ }, { "cell_type": "markdown", - "id": "38fb7564", + "id": "3366c758", "metadata": {}, "source": [ "**6.** And you can inspect some images using Matplotlib:" @@ -264,7 +235,7 @@ { "cell_type": "code", "execution_count": 7, - "id": "6c2ed928", + "id": "bf284a92", "metadata": {}, "outputs": [ { @@ -293,7 +264,7 @@ { "cell_type": "code", "execution_count": 8, - "id": "af4466fb", + "id": "f2835410", "metadata": {}, "outputs": [ { @@ -320,7 +291,7 @@ }, { "cell_type": "markdown", - "id": "8d5cae3c", + "id": "ba699c38", "metadata": {}, "source": [ "_Above are five images taken from the MNIST training set. Various hand-drawn\n", @@ -341,7 +312,7 @@ { "cell_type": "code", "execution_count": 9, - "id": "e74b5f15", + "id": "b353a80c", "metadata": {}, "outputs": [ { @@ -362,7 +333,7 @@ }, { "cell_type": "markdown", - "id": "6b38d35a", + "id": "1d9060c0", "metadata": {}, "source": [ "## 2. Preprocess the data\n", @@ -388,7 +359,7 @@ { "cell_type": "code", "execution_count": 10, - "id": "d46c44f9", + "id": "7af24066", "metadata": {}, "outputs": [ { @@ -407,7 +378,7 @@ }, { "cell_type": "markdown", - "id": "bd8b1c05", + "id": "a562465b", "metadata": {}, "source": [ "**2.** Normalize the arrays by dividing them by 255 (and thus promoting the data type from `uint8` to `float64`) and then assign the train and test image data variables — `x_train` and `x_test` — to `training_images` and `train_labels`, respectively.\n", @@ -422,7 +393,7 @@ { "cell_type": "code", "execution_count": 11, - "id": "82eb5236", + "id": "ea8a968e", "metadata": {}, "outputs": [], "source": [ @@ -433,7 +404,7 @@ }, { "cell_type": "markdown", - "id": "2239c96c", + "id": "e2c8ce08", "metadata": {}, "source": [ "**3.** Confirm that the image data has changed to the floating-point format:" @@ -442,7 +413,7 @@ { "cell_type": "code", "execution_count": 12, - "id": "22cdab43", + "id": "eb6abaf0", "metadata": {}, "outputs": [ { @@ -461,7 +432,7 @@ }, { "cell_type": "markdown", - "id": "3a3cfee4", + "id": "135374e5", "metadata": {}, "source": [ "> **Note:** You can also check that normalization was successful by printing `training_images[0]` in a notebook cell. Your long output should contain an array of floating-point numbers:\n", @@ -490,7 +461,7 @@ { "cell_type": "code", "execution_count": 13, - "id": "c55bfd2e", + "id": "51851b84", "metadata": {}, "outputs": [ { @@ -509,7 +480,7 @@ }, { "cell_type": "markdown", - "id": "26d9a318", + "id": "fcd4da18", "metadata": {}, "source": [ "**2.** Define a function that performs one-hot encoding on arrays:" @@ -518,7 +489,7 @@ { "cell_type": "code", "execution_count": 14, - "id": "a0b3ee73", + "id": "51f90768", "metadata": {}, "outputs": [], "source": [ @@ -532,7 +503,7 @@ }, { "cell_type": "markdown", - "id": "3887ff56", + "id": "013634af", "metadata": {}, "source": [ "**3.** Encode the labels and assign the values to new variables:" @@ -541,7 +512,7 @@ { "cell_type": "code", "execution_count": 15, - "id": "c9b73e87", + "id": "b826433b", "metadata": {}, "outputs": [], "source": [ @@ -551,7 +522,7 @@ }, { "cell_type": "markdown", - "id": "6bd999ef", + "id": "f3172ad0", "metadata": {}, "source": [ "**4.** Check that the data type has changed to floating point:" @@ -560,7 +531,7 @@ { "cell_type": "code", "execution_count": 16, - "id": "a7ab1196", + "id": "4b0e2960", "metadata": {}, "outputs": [ { @@ -579,7 +550,7 @@ }, { "cell_type": "markdown", - "id": "075c343f", + "id": "d7dd96cc", "metadata": {}, "source": [ "**5.** Examine a few encoded labels:" @@ -588,7 +559,7 @@ { "cell_type": "code", "execution_count": 17, - "id": "5543e23e", + "id": "95fa1946", "metadata": {}, "outputs": [ { @@ -609,7 +580,7 @@ }, { "cell_type": "markdown", - "id": "90c11e0f", + "id": "6a5ab505", "metadata": {}, "source": [ "...and compare to the originals:" @@ -618,7 +589,7 @@ { "cell_type": "code", "execution_count": 18, - "id": "ce55f735", + "id": "a30f22c4", "metadata": {}, "outputs": [ { @@ -639,7 +610,7 @@ }, { "cell_type": "markdown", - "id": "64bae2cd", + "id": "261606c5", "metadata": {}, "source": [ "You have finished preparing the dataset.\n", @@ -734,7 +705,7 @@ { "cell_type": "code", "execution_count": 19, - "id": "95fff1ed", + "id": "97e57652", "metadata": {}, "outputs": [], "source": [ @@ -744,7 +715,7 @@ }, { "cell_type": "markdown", - "id": "7406f31c", + "id": "3c616885", "metadata": {}, "source": [ "**2.** For the hidden layer, define the ReLU activation function for forward propagation and ReLU's derivative that will be used during backpropagation:" @@ -753,7 +724,7 @@ { "cell_type": "code", "execution_count": 20, - "id": "48be3231", + "id": "b51bd9d7", "metadata": {}, "outputs": [], "source": [ @@ -770,7 +741,7 @@ }, { "cell_type": "markdown", - "id": "dac25f6a", + "id": "6fbf1a31", "metadata": {}, "source": [ "**3.** Set certain default values of [hyperparameters](https://en.wikipedia.org/wiki/Hyperparameter_(machine_learning)), such as:\n", @@ -785,7 +756,7 @@ { "cell_type": "code", "execution_count": 21, - "id": "4266bded", + "id": "93cb88cb", "metadata": {}, "outputs": [], "source": [ @@ -798,7 +769,7 @@ }, { "cell_type": "markdown", - "id": "fd865c54", + "id": "6760d2ba", "metadata": {}, "source": [ "**4.** Initialize the weight vectors that will be used in the hidden and output layers with random values:" @@ -807,7 +778,7 @@ { "cell_type": "code", "execution_count": 22, - "id": "1905e862", + "id": "82d7ca1f", "metadata": {}, "outputs": [], "source": [ @@ -817,7 +788,7 @@ }, { "cell_type": "markdown", - "id": "91f50c21", + "id": "45c37d44", "metadata": {}, "source": [ "**5.** Set up the neural network's learning experiment with a training loop and start the training process.\n", @@ -830,7 +801,7 @@ { "cell_type": "code", "execution_count": 23, - "id": "7fad5193", + "id": "5ebf5fb1", "metadata": {}, "outputs": [ { @@ -1159,7 +1130,7 @@ }, { "cell_type": "markdown", - "id": "c98d24d6", + "id": "562a26d8", "metadata": {}, "source": [ "The training process may take many minutes, depending on a number of factors, such as the processing power of the machine you are running the experiment on and the number of epochs. To reduce the waiting time, you can change the epoch (iteration) variable from 100 to a lower number, reset the runtime (which will reset the weights), and run the notebook cells again." @@ -1167,7 +1138,7 @@ }, { "cell_type": "markdown", - "id": "fb4d7daf", + "id": "ea0d7a14", "metadata": {}, "source": [ "After executing the cell above, you can visualize the training and test set errors and accuracy for an instance of this training process." @@ -1176,7 +1147,7 @@ { "cell_type": "code", "execution_count": 24, - "id": "9a660909", + "id": "19394b41", "metadata": {}, "outputs": [ { @@ -1221,7 +1192,7 @@ }, { "cell_type": "markdown", - "id": "e29c3871", + "id": "08968009", "metadata": {}, "source": [ "_The training and testing error is shown above in the left and right\n", diff --git a/_sources/content/tutorial-deep-reinforcement-learning-with-pong-from-pixels.ipynb b/_sources/content/tutorial-deep-reinforcement-learning-with-pong-from-pixels.ipynb index ccce7c14..12c507c2 100644 --- a/_sources/content/tutorial-deep-reinforcement-learning-with-pong-from-pixels.ipynb +++ b/_sources/content/tutorial-deep-reinforcement-learning-with-pong-from-pixels.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "5bf1a14c", + "id": "9c617bcb", "metadata": {}, "source": [ "# Deep reinforcement learning with Pong from pixels\n", diff --git a/_sources/content/tutorial-ma.ipynb b/_sources/content/tutorial-ma.ipynb index a6c32e70..aca16c96 100644 --- a/_sources/content/tutorial-ma.ipynb +++ b/_sources/content/tutorial-ma.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "e4b357cb", + "id": "a3a0d02d", "metadata": {}, "source": [ "# Masked Arrays\n", @@ -26,7 +26,7 @@ }, { "cell_type": "markdown", - "id": "5579a3f4", + "id": "9c4a43eb", "metadata": {}, "source": [ "***" @@ -34,7 +34,7 @@ }, { "cell_type": "markdown", - "id": "5ccd024b", + "id": "72ab71e8", "metadata": {}, "source": [ "## What are masked arrays?\n", @@ -65,7 +65,7 @@ }, { "cell_type": "markdown", - "id": "7e5905d7", + "id": "cb5f4b5a", "metadata": {}, "source": [ "## Using masked arrays to see COVID-19 data\n", @@ -76,7 +76,7 @@ { "cell_type": "code", "execution_count": 1, - "id": "6294585c", + "id": "46494df9", "metadata": {}, "outputs": [], "source": [ @@ -91,7 +91,7 @@ }, { "cell_type": "markdown", - "id": "0e0280fe", + "id": "1772c773", "metadata": {}, "source": [ "The data file contains data of different types and is organized as follows:\n", @@ -107,7 +107,7 @@ { "cell_type": "code", "execution_count": 2, - "id": "36f38534", + "id": "2b23f401", "metadata": {}, "outputs": [], "source": [ @@ -145,7 +145,7 @@ }, { "cell_type": "markdown", - "id": "e386df5d", + "id": "b40391c2", "metadata": {}, "source": [ "Included in the `numpy.genfromtxt` function call, we have selected the [numpy.dtype](https://numpy.org/devdocs/reference/generated/numpy.dtype.html#numpy.dtype) for each subset of the data (either an integer - `numpy.int_` - or a string of characters - `numpy.str_`). We have also used the `encoding` argument to select `utf-8-sig` as the encoding for the file (read more about encoding in the [official Python documentation](https://docs.python.org/3/library/codecs.html#encodings-and-unicode). You can read more about the `numpy.genfromtxt` function from the [Reference Documentation](https://numpy.org/devdocs/reference/generated/numpy.genfromtxt.html#numpy.genfromtxt) or from the [Basic IO tutorial](https://numpy.org/devdocs/user/basics.io.genfromtxt.html)." @@ -153,7 +153,7 @@ }, { "cell_type": "markdown", - "id": "97d43b7b", + "id": "6c473121", "metadata": {}, "source": [ "## Exploring the data\n", @@ -164,7 +164,7 @@ { "cell_type": "code", "execution_count": 3, - "id": "61c82686", + "id": "a5f155f1", "metadata": {}, "outputs": [ { @@ -199,7 +199,7 @@ }, { "cell_type": "markdown", - "id": "5ccd1d25", + "id": "5ad1e8f4", "metadata": {}, "source": [ "The graph has a strange shape from January 24th to February 1st. It would be interesting to know where this data comes from. If we look at the `locations` array we extracted from the `.csv` file, we can see that we have two columns, where the first would contain regions and the second would contain the name of the country. However, only the first few rows contain data for the the first column (province names in China). Following that, we only have country names. So it would make sense to group all the data from China into a single row. For this, we'll select from the `nbcases` array only the rows for which the second entry of the `locations` array corresponds to China. Next, we'll use the [numpy.sum](https://numpy.org/devdocs/reference/generated/numpy.sum.html#numpy.sum) function to sum all the selected rows (`axis=0`). Note also that row 35 corresponds to the total counts for the whole country for each date. Since we want to calculate the sum ourselves from the provinces data, we have to remove that row first from both `locations` and `nbcases`:" @@ -208,7 +208,7 @@ { "cell_type": "code", "execution_count": 4, - "id": "7761ef7b", + "id": "d805da52", "metadata": {}, "outputs": [ { @@ -234,7 +234,7 @@ }, { "cell_type": "markdown", - "id": "3495764e", + "id": "73056e09", "metadata": {}, "source": [ "Something's wrong with this data - we are not supposed to have negative values in a cumulative data set. What's going on?" @@ -242,7 +242,7 @@ }, { "cell_type": "markdown", - "id": "b17950c7", + "id": "0d0c4485", "metadata": {}, "source": [ "## Missing data\n", @@ -253,7 +253,7 @@ { "cell_type": "code", "execution_count": 5, - "id": "326bdc6b", + "id": "811f68e5", "metadata": {}, "outputs": [ { @@ -279,7 +279,7 @@ }, { "cell_type": "markdown", - "id": "fb91d050", + "id": "8a7784d2", "metadata": {}, "source": [ "All the `-1` values we are seeing come from `numpy.genfromtxt` attempting to read missing data from the original `.csv` file. Obviously, we\n", @@ -289,7 +289,7 @@ { "cell_type": "code", "execution_count": 6, - "id": "e72a1a92", + "id": "3ac2c99a", "metadata": {}, "outputs": [], "source": [ @@ -300,7 +300,7 @@ }, { "cell_type": "markdown", - "id": "829bd5cf", + "id": "7bdcdc7a", "metadata": {}, "source": [ "If we look at the `nbcases_ma` masked array, this is what we have:" @@ -309,7 +309,7 @@ { "cell_type": "code", "execution_count": 7, - "id": "f0082343", + "id": "013ac765", "metadata": {}, "outputs": [ { @@ -344,7 +344,7 @@ }, { "cell_type": "markdown", - "id": "33a6ada8", + "id": "38ce1071", "metadata": {}, "source": [ "We can see that this is a different kind of array. As mentioned in the introduction, it has three attributes (`data`, `mask` and `fill_value`).\n", @@ -353,7 +353,7 @@ }, { "cell_type": "markdown", - "id": "c475ef0e", + "id": "502a22d3", "metadata": {}, "source": [ "Let's try and see what the data looks like excluding the first row (data from the Hubei province in China) so we can look at the missing data more\n", @@ -363,7 +363,7 @@ { "cell_type": "code", "execution_count": 8, - "id": "389a3211", + "id": "20c11bda", "metadata": {}, "outputs": [ { @@ -395,7 +395,7 @@ }, { "cell_type": "markdown", - "id": "98a6502c", + "id": "02f08138", "metadata": {}, "source": [ "Now that our data has been masked, let's try summing up all the cases in China:" @@ -404,7 +404,7 @@ { "cell_type": "code", "execution_count": 9, - "id": "4d7a5f38", + "id": "dd347183", "metadata": {}, "outputs": [ { @@ -429,7 +429,7 @@ }, { "cell_type": "markdown", - "id": "36ea3f70", + "id": "05fccb79", "metadata": {}, "source": [ "Note that `china_masked` is a masked array, so it has a different data structure than a regular NumPy array. Now, we can access its data directly by using the `.data` attribute:" @@ -438,7 +438,7 @@ { "cell_type": "code", "execution_count": 10, - "id": "2dd06a67", + "id": "92d136f6", "metadata": {}, "outputs": [ { @@ -460,7 +460,7 @@ }, { "cell_type": "markdown", - "id": "8e874e75", + "id": "f91b5eed", "metadata": {}, "source": [ "That is better: no more negative values. However, we can still see that for some days, the cumulative number of cases seems to go down (from 835 to 10, for example), which does not agree with the definition of \"cumulative data\". If we look more closely at the data, we can see that in the period where there was missing data in mainland China, there was valid data for Hong Kong, Taiwan, Macau and \"Unspecified\" regions of China. Maybe we can remove those from the total sum of cases in China, to get a better understanding of the data.\n", @@ -471,7 +471,7 @@ { "cell_type": "code", "execution_count": 11, - "id": "a0738510", + "id": "fe8ef731", "metadata": {}, "outputs": [], "source": [ @@ -486,7 +486,7 @@ }, { "cell_type": "markdown", - "id": "eb7598c6", + "id": "6528bf55", "metadata": {}, "source": [ "Now, `china_mask` is an array of boolean values (`True` or `False`); we can check that the indices are what we wanted with the [ma.nonzero](https://numpy.org/devdocs/reference/generated/numpy.ma.nonzero.html#numpy.ma.nonzero) method for masked arrays:" @@ -495,7 +495,7 @@ { "cell_type": "code", "execution_count": 12, - "id": "0c33f672", + "id": "cf26ce3c", "metadata": {}, "outputs": [ { @@ -516,7 +516,7 @@ }, { "cell_type": "markdown", - "id": "803d9f41", + "id": "d32deb27", "metadata": {}, "source": [ "Now we can correctly sum entries for mainland China:" @@ -525,7 +525,7 @@ { "cell_type": "code", "execution_count": 13, - "id": "50861385", + "id": "47917377", "metadata": {}, "outputs": [ { @@ -550,7 +550,7 @@ }, { "cell_type": "markdown", - "id": "2e30be14", + "id": "f690e106", "metadata": {}, "source": [ "We can replace the data with this information and plot a new graph, focusing on Mainland China:" @@ -559,7 +559,7 @@ { "cell_type": "code", "execution_count": 14, - "id": "fd0728cd", + "id": "f2d51a90", "metadata": {}, "outputs": [ { @@ -591,7 +591,7 @@ }, { "cell_type": "markdown", - "id": "8648cd40", + "id": "26b11d24", "metadata": {}, "source": [ "It's clear that masked arrays are the right solution here. We cannot represent the missing data without mischaracterizing the evolution of the curve." @@ -599,7 +599,7 @@ }, { "cell_type": "markdown", - "id": "22726e8b", + "id": "38de75f0", "metadata": {}, "source": [ "## Fitting Data\n", @@ -610,7 +610,7 @@ { "cell_type": "code", "execution_count": 15, - "id": "da3c872a", + "id": "7032d1cf", "metadata": {}, "outputs": [ { @@ -635,7 +635,7 @@ }, { "cell_type": "markdown", - "id": "1c5c5c66", + "id": "8f8626d5", "metadata": {}, "source": [ "We can also access the valid entries by using the logical negation for this mask:" @@ -644,7 +644,7 @@ { "cell_type": "code", "execution_count": 16, - "id": "9294006e", + "id": "227296db", "metadata": {}, "outputs": [ { @@ -667,7 +667,7 @@ }, { "cell_type": "markdown", - "id": "39c90683", + "id": "0abf8f14", "metadata": {}, "source": [ "Now, if we want to create a very simple approximation for this data, we should take into account the valid entries around the invalid ones. So first let's select the dates for which the data is valid. Note that we can use the mask from the `china_total` masked array to index the dates array:" @@ -676,7 +676,7 @@ { "cell_type": "code", "execution_count": 17, - "id": "00c186ad", + "id": "67efda70", "metadata": {}, "outputs": [ { @@ -697,7 +697,7 @@ }, { "cell_type": "markdown", - "id": "32b5f73c", + "id": "78278364", "metadata": {}, "source": [ "Finally, we can use the\n", @@ -708,13 +708,13 @@ { "cell_type": "code", "execution_count": 18, - "id": "89510117", + "id": "bc7e8f90", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "[]" + "[]" ] }, "execution_count": 18, @@ -741,7 +741,7 @@ }, { "cell_type": "markdown", - "id": "a7011acd", + "id": "05e08e20", "metadata": {}, "source": [ "This plot is not so readable since the lines seem to be over each other, so let's summarize in a more elaborate plot. We'll plot the real data when\n", @@ -751,7 +751,7 @@ { "cell_type": "code", "execution_count": 19, - "id": "af0acbf2", + "id": "afcbc93a", "metadata": {}, "outputs": [ { @@ -790,7 +790,7 @@ }, { "cell_type": "markdown", - "id": "7708bb74", + "id": "2f1a791a", "metadata": {}, "source": [ "## In practice" @@ -798,7 +798,7 @@ }, { "cell_type": "markdown", - "id": "dce0e233", + "id": "c0e7dbee", "metadata": {}, "source": [ "- Adding `-1` to missing data is not a problem with `numpy.genfromtxt`; in this particular case, substituting the missing value with `0` might have been fine, but we'll see later that this is far from a general solution. Also, it is possible to call the `numpy.genfromtxt` function using the `usemask` parameter. If `usemask=True`, `numpy.genfromtxt` automatically returns a masked array." @@ -806,7 +806,7 @@ }, { "cell_type": "markdown", - "id": "677388a0", + "id": "361e270f", "metadata": {}, "source": [ "## Further reading\n", diff --git a/_sources/content/tutorial-plotting-fractals.ipynb b/_sources/content/tutorial-plotting-fractals.ipynb index 3964664a..53ec58fb 100644 --- a/_sources/content/tutorial-plotting-fractals.ipynb +++ b/_sources/content/tutorial-plotting-fractals.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "910e50c3", + "id": "a85cd9e3", "metadata": {}, "source": [ "# Plotting Fractals" @@ -10,7 +10,7 @@ }, { "cell_type": "markdown", - "id": "bd2796ea", + "id": "b9663312", "metadata": {}, "source": [ "![Fractal picture](tutorial-plotting-fractals/fractal.png)" @@ -18,7 +18,7 @@ }, { "cell_type": "markdown", - "id": "7248d9b1", + "id": "b7906938", "metadata": {}, "source": [ "Fractals are beautiful, compelling mathematical forms that can be oftentimes created from a relatively simple set of instructions. In nature they can be found in various places, such as coastlines, seashells, and ferns, and even were used in creating certain types of antennas. The mathematical idea of fractals was known for quite some time, but they really began to be truly appreciated in the 1970's as advancements in computer graphics and some accidental discoveries lead researchers like [Benoît Mandelbrot](https://en.wikipedia.org/wiki/Benoit_Mandelbrot) to stumble upon the truly mystifying visualizations that fractals possess.\n", @@ -28,7 +28,7 @@ }, { "cell_type": "markdown", - "id": "da8958df", + "id": "99598a98", "metadata": {}, "source": [ "## What you'll do\n", @@ -41,7 +41,7 @@ }, { "cell_type": "markdown", - "id": "3c481b45", + "id": "7882480f", "metadata": {}, "source": [ "## What you'll learn\n", @@ -54,7 +54,7 @@ }, { "cell_type": "markdown", - "id": "6022a64f", + "id": "e3eecca9", "metadata": {}, "source": [ "## What you'll need\n", @@ -68,7 +68,7 @@ { "cell_type": "code", "execution_count": 1, - "id": "a58e30ee", + "id": "cdd95760", "metadata": {}, "outputs": [], "source": [ @@ -79,7 +79,7 @@ }, { "cell_type": "markdown", - "id": "85415e0c", + "id": "32a61fa6", "metadata": {}, "source": [ "- Some familiarity with Python, NumPy and matplotlib\n", @@ -90,7 +90,7 @@ }, { "cell_type": "markdown", - "id": "a2f22f9d", + "id": "35534bf9", "metadata": {}, "source": [ "## Warmup\n", @@ -109,7 +109,7 @@ { "cell_type": "code", "execution_count": 2, - "id": "7e33d56a", + "id": "48f64522", "metadata": {}, "outputs": [], "source": [ @@ -119,7 +119,7 @@ }, { "cell_type": "markdown", - "id": "1e177d3b", + "id": "7599cfe4", "metadata": {}, "source": [ "Note that the square function we used is an example of a **[NumPy universal function](https://numpy.org/doc/stable/reference/ufuncs.html)**; we will come back to the significance of this decision shortly.\n", @@ -132,7 +132,7 @@ { "cell_type": "code", "execution_count": 3, - "id": "3e155232", + "id": "a318e02f", "metadata": {}, "outputs": [ { @@ -152,7 +152,7 @@ }, { "cell_type": "markdown", - "id": "8419004f", + "id": "b18aba6c", "metadata": {}, "source": [ "Since we used a universal function in our design, we can compute multiple inputs at the same time:" @@ -161,7 +161,7 @@ { "cell_type": "code", "execution_count": 4, - "id": "91b6e18a", + "id": "55f69c81", "metadata": {}, "outputs": [ { @@ -182,7 +182,7 @@ }, { "cell_type": "markdown", - "id": "d78d81d5", + "id": "549c5887", "metadata": {}, "source": [ "Some values grow, some values shrink, some don't experience much change.\n", @@ -193,7 +193,7 @@ { "cell_type": "code", "execution_count": 5, - "id": "11733799", + "id": "0107146e", "metadata": {}, "outputs": [], "source": [ @@ -203,7 +203,7 @@ }, { "cell_type": "markdown", - "id": "c154112b", + "id": "e7c18389", "metadata": {}, "source": [ "Now we will apply our function to each value contained in the mesh. Since we used a universal function in our design, this means that we can pass in the entire mesh all at once. This is extremely convenient for two reasons: It reduces the amount of code needed to be written and greatly increases the efficiency (as universal functions make use of system level C programming in their computations).\n", @@ -215,7 +215,7 @@ { "cell_type": "code", "execution_count": 6, - "id": "76ee1cb6", + "id": "3815f628", "metadata": {}, "outputs": [ { @@ -245,7 +245,7 @@ }, { "cell_type": "markdown", - "id": "0e6dac74", + "id": "ab79e16e", "metadata": {}, "source": [ "This gives us a rough idea of what one iteration of the function does. Certain areas (notably in the areas closest to $(0,0i)$) remain rather small while other areas grow quite considerably. Note that we lose information about the output by taking the absolute value, but it is the only way for us to be able to make a plot.\n", @@ -256,7 +256,7 @@ { "cell_type": "code", "execution_count": 7, - "id": "ad5d2ad5", + "id": "c2be60f4", "metadata": {}, "outputs": [ { @@ -285,7 +285,7 @@ }, { "cell_type": "markdown", - "id": "01ebe380", + "id": "ececb25e", "metadata": {}, "source": [ "Once again, we see that values around the origin remain small, and values with a larger absolute value (or modulus) “explode”.\n", @@ -295,7 +295,7 @@ }, { "cell_type": "markdown", - "id": "28b05ecb", + "id": "75f6af9d", "metadata": {}, "source": [ "Consider three complex numbers:\n", @@ -312,7 +312,7 @@ { "cell_type": "code", "execution_count": 8, - "id": "08bce7f3", + "id": "6b6d94b4", "metadata": {}, "outputs": [ { @@ -349,7 +349,7 @@ }, { "cell_type": "markdown", - "id": "01bc377a", + "id": "23026065", "metadata": {}, "source": [ "To our surprise, the behaviour of the function did not come close to matching our hypothesis. This is a prime example of the chaotic behaviour fractals possess. In the first two plots, the value \"exploded\" on the last iteration, jumping way beyond the region that it was contained in previously. The third plot on the other hand remained bounded to a small region close to the origin, yielding completely different behaviour despite the tiny change in value.\n", @@ -366,7 +366,7 @@ { "cell_type": "code", "execution_count": 9, - "id": "6db3cc2a", + "id": "a880842d", "metadata": {}, "outputs": [], "source": [ @@ -386,7 +386,7 @@ }, { "cell_type": "markdown", - "id": "dbd8638d", + "id": "0d97debc", "metadata": {}, "source": [ "The behaviour of this function may look confusing at first glance, so it will help to explain some of the notation.\n", @@ -401,7 +401,7 @@ { "cell_type": "code", "execution_count": 10, - "id": "74ce9790", + "id": "94fa2d96", "metadata": {}, "outputs": [ { @@ -436,7 +436,7 @@ }, { "cell_type": "markdown", - "id": "7cb1089f", + "id": "62fa0dd4", "metadata": {}, "source": [ "What this stunning visual conveys is the complexity of the function’s behaviour. The yellow region represents values that remain small, while the purple region represents the divergent values. The beautiful pattern that arises on the border of the converging and diverging values is even more fascinating when you realize that it is created from such a simple function." @@ -444,7 +444,7 @@ }, { "cell_type": "markdown", - "id": "92705624", + "id": "ee81ddbe", "metadata": {}, "source": [ "## Julia set\n", @@ -459,7 +459,7 @@ { "cell_type": "code", "execution_count": 11, - "id": "344a31c0", + "id": "1e1a8117", "metadata": {}, "outputs": [], "source": [ @@ -478,7 +478,7 @@ }, { "cell_type": "markdown", - "id": "f14e8395", + "id": "230aa7b6", "metadata": {}, "source": [ "To make our lives easier, we will create a couple meshes that we will reuse throughout the rest of the examples:" @@ -487,7 +487,7 @@ { "cell_type": "code", "execution_count": 12, - "id": "4a50b149", + "id": "51b64e4a", "metadata": {}, "outputs": [], "source": [ @@ -500,7 +500,7 @@ }, { "cell_type": "markdown", - "id": "a13fde0f", + "id": "209cd135", "metadata": {}, "source": [ "We will also write a function that we will use to create our fractal plots:" @@ -509,7 +509,7 @@ { "cell_type": "code", "execution_count": 13, - "id": "7229352d", + "id": "85f07de5", "metadata": {}, "outputs": [], "source": [ @@ -530,7 +530,7 @@ }, { "cell_type": "markdown", - "id": "33b4e661", + "id": "09a0384c", "metadata": {}, "source": [ "Using our newly defined functions, we can make a quick plot of the first fractal again:" @@ -539,7 +539,7 @@ { "cell_type": "code", "execution_count": 14, - "id": "5cf7aabd", + "id": "e4c311a7", "metadata": {}, "outputs": [ { @@ -562,7 +562,7 @@ }, { "cell_type": "markdown", - "id": "4121e7a0", + "id": "b8a9778c", "metadata": {}, "source": [ "We also can explore some different Julia sets by experimenting with different values of $c$. It can be surprising how much influence it has on the shape of the fractal.\n", @@ -573,7 +573,7 @@ { "cell_type": "code", "execution_count": 15, - "id": "e45c95d1", + "id": "25e0f285", "metadata": {}, "outputs": [ { @@ -597,7 +597,7 @@ { "cell_type": "code", "execution_count": 16, - "id": "228cd712", + "id": "8ed3974f", "metadata": {}, "outputs": [ { @@ -620,7 +620,7 @@ }, { "cell_type": "markdown", - "id": "2586eac8", + "id": "d3152992", "metadata": {}, "source": [ "## Mandelbrot set\n", @@ -631,7 +631,7 @@ { "cell_type": "code", "execution_count": 17, - "id": "1b9a68de", + "id": "2cd8f42d", "metadata": {}, "outputs": [], "source": [ @@ -652,7 +652,7 @@ { "cell_type": "code", "execution_count": 18, - "id": "975814d5", + "id": "9b51e60d", "metadata": {}, "outputs": [ { @@ -675,7 +675,7 @@ }, { "cell_type": "markdown", - "id": "e5cc77b2", + "id": "d62f37dd", "metadata": {}, "source": [ "## Generalizing the Julia set\n", @@ -686,7 +686,7 @@ { "cell_type": "code", "execution_count": 19, - "id": "88a6ac7c", + "id": "c8e836ba", "metadata": {}, "outputs": [], "source": [ @@ -705,7 +705,7 @@ }, { "cell_type": "markdown", - "id": "1304d38d", + "id": "088b860e", "metadata": {}, "source": [ "One cool set of fractals that can be plotted using our general Julia function are ones of the form $f(z) = z^n + c$ for some positive integer $n$. A very cool pattern which emerges is that the number of regions that 'stick out' matches the degree in which we raise the function to while iterating over it." @@ -714,7 +714,7 @@ { "cell_type": "code", "execution_count": 20, - "id": "b8eaa19e", + "id": "1ee2eb50", "metadata": {}, "outputs": [ { @@ -743,7 +743,7 @@ }, { "cell_type": "markdown", - "id": "f070d588", + "id": "f0d2d9e5", "metadata": {}, "source": [ "Needless to say, there is a large amount of exploring that can be done by fiddling with the inputted function, value of $c$, number of iterations, radius and even the density of the mesh and choice of colours." @@ -751,7 +751,7 @@ }, { "cell_type": "markdown", - "id": "711d6c7f", + "id": "b2cd4c53", "metadata": {}, "source": [ "### Newton Fractals\n", @@ -766,7 +766,7 @@ { "cell_type": "code", "execution_count": 21, - "id": "ed088e97", + "id": "cd6c9d55", "metadata": {}, "outputs": [], "source": [ @@ -787,7 +787,7 @@ }, { "cell_type": "markdown", - "id": "95086fe8", + "id": "a66b2543", "metadata": {}, "source": [ "Now we can experiment with some different functions. For polynomials, we can create our plots quite effortlessly using the [NumPy Polynomial class](https://numpy.org/doc/stable/reference/generated/numpy.polynomial.polynomial.Polynomial.html), which has built in functionality for computing derivatives.\n", @@ -798,7 +798,7 @@ { "cell_type": "code", "execution_count": 22, - "id": "c4867f9b", + "id": "426e409d", "metadata": {}, "outputs": [ { @@ -822,7 +822,7 @@ }, { "cell_type": "markdown", - "id": "a20122f8", + "id": "d1360175", "metadata": {}, "source": [ "which has the derivative:" @@ -831,7 +831,7 @@ { "cell_type": "code", "execution_count": 23, - "id": "2ad77ca4", + "id": "be6dd871", "metadata": {}, "outputs": [ { @@ -855,7 +855,7 @@ { "cell_type": "code", "execution_count": 24, - "id": "8d541c0e", + "id": "fb6df42d", "metadata": {}, "outputs": [ { @@ -878,7 +878,7 @@ }, { "cell_type": "markdown", - "id": "5fb34879", + "id": "63ee5811", "metadata": {}, "source": [ "Beautiful! Let's try another one:\n", @@ -893,7 +893,7 @@ { "cell_type": "code", "execution_count": 25, - "id": "0e9fa22d", + "id": "c7631707", "metadata": {}, "outputs": [], "source": [ @@ -908,7 +908,7 @@ { "cell_type": "code", "execution_count": 26, - "id": "db0b50e6", + "id": "d6d0be3c", "metadata": {}, "outputs": [ { @@ -931,7 +931,7 @@ }, { "cell_type": "markdown", - "id": "ecbed755", + "id": "10ab1bc3", "metadata": {}, "source": [ "Note that you sometimes have to play with the radius in order to get a neat looking fractal.\n", @@ -946,7 +946,7 @@ { "cell_type": "code", "execution_count": 27, - "id": "2b3d1d88", + "id": "e24db664", "metadata": {}, "outputs": [], "source": [ @@ -966,7 +966,7 @@ }, { "cell_type": "markdown", - "id": "a090df70", + "id": "282c9736", "metadata": {}, "source": [ "We will denote this one 'Wacky fractal', as its equation would not be fun to try and put in the title." @@ -975,7 +975,7 @@ { "cell_type": "code", "execution_count": 28, - "id": "3aa282b5", + "id": "edb53b82", "metadata": {}, "outputs": [ { @@ -998,7 +998,7 @@ }, { "cell_type": "markdown", - "id": "cb034979", + "id": "022055d0", "metadata": {}, "source": [ "It is truly fascinating how distinct yet similar these fractals are with each other. This leads us to the final section." @@ -1006,7 +1006,7 @@ }, { "cell_type": "markdown", - "id": "3289a6b7", + "id": "6386463e", "metadata": {}, "source": [ "## Creating your own fractals\n", @@ -1024,7 +1024,7 @@ { "cell_type": "code", "execution_count": 29, - "id": "fdd3afe3", + "id": "3d82cc33", "metadata": {}, "outputs": [], "source": [ @@ -1035,7 +1035,7 @@ { "cell_type": "code", "execution_count": 30, - "id": "ac652a58", + "id": "49576da9", "metadata": {}, "outputs": [ { @@ -1058,7 +1058,7 @@ }, { "cell_type": "markdown", - "id": "c2f6066d", + "id": "93537e83", "metadata": {}, "source": [ "What happens if we compose our defined function inside of a sine function?\n", @@ -1071,7 +1071,7 @@ { "cell_type": "code", "execution_count": 31, - "id": "fa33bd1a", + "id": "274ce892", "metadata": {}, "outputs": [], "source": [ @@ -1082,7 +1082,7 @@ { "cell_type": "code", "execution_count": 32, - "id": "07e4b8b2", + "id": "7cc83222", "metadata": {}, "outputs": [ { @@ -1105,7 +1105,7 @@ }, { "cell_type": "markdown", - "id": "55128bce", + "id": "66a27168", "metadata": {}, "source": [ "Next, let's create a function that applies both f and g to the inputs each iteration and adds the result together:\n", @@ -1116,7 +1116,7 @@ { "cell_type": "code", "execution_count": 33, - "id": "35dec6ac", + "id": "a94d4b78", "metadata": {}, "outputs": [], "source": [ @@ -1127,7 +1127,7 @@ { "cell_type": "code", "execution_count": 34, - "id": "1e1c45cb", + "id": "880f0b69", "metadata": {}, "outputs": [ { @@ -1150,7 +1150,7 @@ }, { "cell_type": "markdown", - "id": "7473099c", + "id": "b2761e74", "metadata": {}, "source": [ "You can even create beautiful fractals through your own errors. Here is one that got created accidently by making a mistake in computing the derivative of a Newton fractal:" @@ -1159,7 +1159,7 @@ { "cell_type": "code", "execution_count": 35, - "id": "1414c392", + "id": "f3f3024f", "metadata": {}, "outputs": [], "source": [ @@ -1170,7 +1170,7 @@ { "cell_type": "code", "execution_count": 36, - "id": "f6aed5c7", + "id": "6d4b3d1f", "metadata": {}, "outputs": [ { @@ -1193,7 +1193,7 @@ }, { "cell_type": "markdown", - "id": "a65ad21f", + "id": "65e729d1", "metadata": {}, "source": [ "Needless to say, there are a nearly endless supply of interesting fractal creations that can be made just by playing around with various combinations of NumPy universal functions and by tinkering with the parameters." @@ -1201,7 +1201,7 @@ }, { "cell_type": "markdown", - "id": "ae16c472", + "id": "e3d1a5c4", "metadata": {}, "source": [ "## In conclusion\n", @@ -1219,7 +1219,7 @@ }, { "cell_type": "markdown", - "id": "4f9cda89", + "id": "13057b06", "metadata": {}, "source": [ "## On your own\n", @@ -1231,7 +1231,7 @@ }, { "cell_type": "markdown", - "id": "0efa711e", + "id": "e29053ab", "metadata": {}, "source": [ "## Further reading\n", diff --git a/_sources/content/tutorial-static_equilibrium.ipynb b/_sources/content/tutorial-static_equilibrium.ipynb index b2524f2d..960f44dc 100644 --- a/_sources/content/tutorial-static_equilibrium.ipynb +++ b/_sources/content/tutorial-static_equilibrium.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "05da8575", + "id": "78267abe", "metadata": {}, "source": [ "# Determining Static Equilibrium in NumPy\n", @@ -30,7 +30,7 @@ { "cell_type": "code", "execution_count": 1, - "id": "0169b9c8", + "id": "805d6849", "metadata": {}, "outputs": [], "source": [ @@ -40,7 +40,7 @@ }, { "cell_type": "markdown", - "id": "5f6c1f38", + "id": "16797906", "metadata": {}, "source": [ "In this tutorial you will use the following NumPy tools:\n", @@ -51,7 +51,7 @@ }, { "cell_type": "markdown", - "id": "58b44630", + "id": "83c3519e", "metadata": {}, "source": [ "## Solving equilibrium with Newton's second law\n", @@ -80,7 +80,7 @@ { "cell_type": "code", "execution_count": 2, - "id": "b4cd1970", + "id": "1992cf14", "metadata": {}, "outputs": [ { @@ -101,7 +101,7 @@ }, { "cell_type": "markdown", - "id": "7f8a0f96", + "id": "b376a36a", "metadata": {}, "source": [ "This defines `forceA` as being a vector with magnitude of 1 in the $x$ direction and `forceB` as magnitude 1 in the $y$ direction.\n", @@ -114,7 +114,7 @@ { "cell_type": "code", "execution_count": 3, - "id": "6d7933c2", + "id": "36dddb0d", "metadata": {}, "outputs": [ { @@ -151,7 +151,7 @@ }, { "cell_type": "markdown", - "id": "2f12ab46", + "id": "ca57c507", "metadata": {}, "source": [ "There are two forces emanating from a single point. In order to simplify this problem, you can add them together to find the sum of forces. Note that both `forceA` and `forceB` are three-dimensional vectors, represented by NumPy as arrays with three components. Because NumPy is meant to simplify and optimize operations between vectors, you can easily compute the sum of these two vectors as follows:" @@ -160,7 +160,7 @@ { "cell_type": "code", "execution_count": 4, - "id": "e7e02e54", + "id": "d3dba07f", "metadata": {}, "outputs": [ { @@ -178,7 +178,7 @@ }, { "cell_type": "markdown", - "id": "18b38ec6", + "id": "48e13393", "metadata": {}, "source": [ "Force C now acts as a single force that represents both A and B.\n", @@ -188,7 +188,7 @@ { "cell_type": "code", "execution_count": 5, - "id": "43f1a3b2", + "id": "e79f811f", "metadata": {}, "outputs": [ { @@ -226,7 +226,7 @@ }, { "cell_type": "markdown", - "id": "50508c66", + "id": "6a682092", "metadata": {}, "source": [ "However, the goal is equilibrium.\n", @@ -257,7 +257,7 @@ { "cell_type": "code", "execution_count": 6, - "id": "38f5f561", + "id": "3e5d83c2", "metadata": {}, "outputs": [ { @@ -292,7 +292,7 @@ }, { "cell_type": "markdown", - "id": "47fa2979", + "id": "25d3b1d1", "metadata": {}, "source": [ "The empty graph signifies that there are no outlying forces. This denotes a system in equilibrium.\n", @@ -316,7 +316,7 @@ { "cell_type": "code", "execution_count": 7, - "id": "483da6cc", + "id": "e1e770d8", "metadata": {}, "outputs": [ { @@ -340,7 +340,7 @@ }, { "cell_type": "markdown", - "id": "90ed0fd6", + "id": "07379b56", "metadata": {}, "source": [ "## Finding values with physical properties\n", @@ -361,7 +361,7 @@ { "cell_type": "code", "execution_count": 8, - "id": "d8943753", + "id": "3fb035cf", "metadata": {}, "outputs": [ { @@ -386,7 +386,7 @@ }, { "cell_type": "markdown", - "id": "bdabdb89", + "id": "0c7688b0", "metadata": {}, "source": [ "In order to use these vectors in relation to forces you need to convert them into unit vectors.\n", @@ -396,7 +396,7 @@ { "cell_type": "code", "execution_count": 9, - "id": "c4ebd759", + "id": "72182a0f", "metadata": {}, "outputs": [ { @@ -414,7 +414,7 @@ }, { "cell_type": "markdown", - "id": "b64bbccb", + "id": "5ef3192d", "metadata": {}, "source": [ "You can then multiply this direction with the magnitude of the force in order to find the force vector.\n", @@ -425,7 +425,7 @@ { "cell_type": "code", "execution_count": 10, - "id": "6bdc7c0e", + "id": "935b7a0c", "metadata": {}, "outputs": [ { @@ -444,7 +444,7 @@ }, { "cell_type": "markdown", - "id": "4b817c04", + "id": "60232c95", "metadata": {}, "source": [ "In order to find the moment you need the cross product of the force vector and the radius." @@ -453,7 +453,7 @@ { "cell_type": "code", "execution_count": 11, - "id": "d760cf20", + "id": "c632635d", "metadata": {}, "outputs": [ { @@ -471,7 +471,7 @@ }, { "cell_type": "markdown", - "id": "d4988e8e", + "id": "d382c490", "metadata": {}, "source": [ "Now all you need to do is find the reaction force and moment." @@ -480,7 +480,7 @@ { "cell_type": "code", "execution_count": 12, - "id": "62015635", + "id": "c2a104ee", "metadata": {}, "outputs": [ { @@ -502,7 +502,7 @@ }, { "cell_type": "markdown", - "id": "96c56b1e", + "id": "2b64ef96", "metadata": {}, "source": [ "### Another Example\n", @@ -520,7 +520,7 @@ { "cell_type": "code", "execution_count": 13, - "id": "c0efc168", + "id": "45c4a76d", "metadata": {}, "outputs": [], "source": [ @@ -534,7 +534,7 @@ }, { "cell_type": "markdown", - "id": "c0abf300", + "id": "a887f066", "metadata": {}, "source": [ "From these equations, you start by determining vector directions with unit vectors." @@ -543,7 +543,7 @@ { "cell_type": "code", "execution_count": 14, - "id": "47d9197b", + "id": "f6183c2f", "metadata": {}, "outputs": [], "source": [ @@ -564,7 +564,7 @@ }, { "cell_type": "markdown", - "id": "00bfc159", + "id": "daaad5a1", "metadata": {}, "source": [ "This lets you represent the tension (T) and reaction (R) forces acting on the system as\n", @@ -645,7 +645,7 @@ }, { "cell_type": "markdown", - "id": "5feab759", + "id": "f5aa032f", "metadata": {}, "source": [ "## Wrapping up\n", diff --git a/_sources/content/tutorial-style-guide.ipynb b/_sources/content/tutorial-style-guide.ipynb index 4ddb47ae..f5ab4443 100644 --- a/_sources/content/tutorial-style-guide.ipynb +++ b/_sources/content/tutorial-style-guide.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "9d235361", + "id": "23282ee0", "metadata": {}, "source": [ "# Learn to write a NumPy tutorial\n", @@ -13,7 +13,7 @@ }, { "cell_type": "markdown", - "id": "597909c5", + "id": "07a88141", "metadata": {}, "source": [ "## What you'll do\n", @@ -125,7 +125,7 @@ { "cell_type": "code", "execution_count": 1, - "id": "e2414d12", + "id": "226373f2", "metadata": {}, "outputs": [], "source": [ @@ -134,7 +134,7 @@ }, { "cell_type": "markdown", - "id": "9d6dfd21", + "id": "98a60a29", "metadata": {}, "source": [ "
\n", @@ -151,7 +151,7 @@ }, { "cell_type": "markdown", - "id": "d165da60", + "id": "e4cf6ab7", "metadata": {}, "source": [ "***\n", diff --git a/_sources/content/tutorial-svd.ipynb b/_sources/content/tutorial-svd.ipynb index 679e232f..9384dbd9 100644 --- a/_sources/content/tutorial-svd.ipynb +++ b/_sources/content/tutorial-svd.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "20ab9179", + "id": "b64422da", "metadata": {}, "source": [ "# Linear algebra on n-dimensional arrays" @@ -10,7 +10,7 @@ }, { "cell_type": "markdown", - "id": "ed60be48", + "id": "b7e4a312", "metadata": {}, "source": [ "## Prerequisites\n", @@ -39,7 +39,7 @@ { "cell_type": "code", "execution_count": 1, - "id": "d822ccbb", + "id": "7be48230", "metadata": {}, "outputs": [ { @@ -62,7 +62,7 @@ }, { "cell_type": "markdown", - "id": "cf710bc0", + "id": "5e21139f", "metadata": {}, "source": [ "**Note**: If you prefer, you can use your own image as you work through this tutorial. In order to transform your image into a NumPy array that can be manipulated, you can use the `imread` function from the [matplotlib.pyplot](https://matplotlib.org/api/_as_gen/matplotlib.pyplot.html#module-matplotlib.pyplot) submodule. Alternatively, you can use the [imageio.imread](https://imageio.readthedocs.io/en/stable/_autosummary/imageio.v3.imread.html) function from the `imageio` library. Be aware that if you use your own image, you'll likely need to adapt the steps below. For more information on how images are treated when converted to NumPy arrays, see [A crash course on NumPy for images](https://scikit-image.org/docs/stable/user_guide/numpy_images.html) from the `scikit-image` documentation." @@ -70,7 +70,7 @@ }, { "cell_type": "markdown", - "id": "6833a5e2", + "id": "55c4597a", "metadata": {}, "source": [ "Now, `img` is a NumPy array, as we can see when using the `type` function:" @@ -79,7 +79,7 @@ { "cell_type": "code", "execution_count": 2, - "id": "387f4e19", + "id": "7d76d5e1", "metadata": {}, "outputs": [ { @@ -99,7 +99,7 @@ }, { "cell_type": "markdown", - "id": "4637aa60", + "id": "c6f28281", "metadata": {}, "source": [ "We can see the image using the [matplotlib.pyplot.imshow](https://matplotlib.org/api/_as_gen/matplotlib.pyplot.imshow.html#matplotlib.pyplot.imshow) function & the special iPython command, `%matplotlib inline` to display plots inline:" @@ -108,7 +108,7 @@ { "cell_type": "code", "execution_count": 3, - "id": "673e83ae", + "id": "1cb66f89", "metadata": {}, "outputs": [], "source": [ @@ -120,7 +120,7 @@ { "cell_type": "code", "execution_count": 4, - "id": "701d7e3d", + "id": "adc93414", "metadata": {}, "outputs": [ { @@ -141,7 +141,7 @@ }, { "cell_type": "markdown", - "id": "f239b0cb", + "id": "c3ee0699", "metadata": {}, "source": [ "### Shape, axis and array properties\n", @@ -154,7 +154,7 @@ { "cell_type": "code", "execution_count": 5, - "id": "e1fdce4a", + "id": "2e3d6f6d", "metadata": {}, "outputs": [ { @@ -174,7 +174,7 @@ }, { "cell_type": "markdown", - "id": "ca3c0968", + "id": "ae380447", "metadata": {}, "source": [ "The output is a [tuple](https://docs.python.org/dev/tutorial/datastructures.html#tut-tuples) with three elements, which means that this is a three-dimensional array. In fact, since this is a color image, and we have used the `imread` function to read it, the data is organized in three 2D arrays, representing color channels (in this case, red, green and blue - RGB). You can see this by looking at the shape above: it indicates that we have an array of 3 matrices, each having shape 768x1024.\n", @@ -185,7 +185,7 @@ { "cell_type": "code", "execution_count": 6, - "id": "33c3f440", + "id": "59fb1fef", "metadata": {}, "outputs": [ { @@ -205,7 +205,7 @@ }, { "cell_type": "markdown", - "id": "1bcf141c", + "id": "54bf1b62", "metadata": {}, "source": [ "NumPy refers to each dimension as an *axis*. Because of how `imread` works, the *first index in the 3rd axis* is the red pixel data for our image. We can access this by using the syntax" @@ -214,7 +214,7 @@ { "cell_type": "code", "execution_count": 7, - "id": "d4f11bbb", + "id": "bebe3d72", "metadata": {}, "outputs": [ { @@ -240,7 +240,7 @@ }, { "cell_type": "markdown", - "id": "a54976dc", + "id": "6b53a283", "metadata": {}, "source": [ "From the output above, we can see that every value in `img[:, :, 0]` is an integer value between 0 and 255, representing the level of red in each corresponding image pixel (keep in mind that this might be different if you\n", @@ -252,7 +252,7 @@ { "cell_type": "code", "execution_count": 8, - "id": "4eaca546", + "id": "c091ff5c", "metadata": {}, "outputs": [ { @@ -272,7 +272,7 @@ }, { "cell_type": "markdown", - "id": "1580a5ef", + "id": "b94a6f3c", "metadata": {}, "source": [ "Since we are going to perform linear algebra operations on this data, it might be more interesting to have real numbers between 0 and 1 in each entry of the matrices to represent the RGB values. We can do that by setting" @@ -281,7 +281,7 @@ { "cell_type": "code", "execution_count": 9, - "id": "2721e16d", + "id": "9108d85d", "metadata": {}, "outputs": [], "source": [ @@ -290,7 +290,7 @@ }, { "cell_type": "markdown", - "id": "0f2063c8", + "id": "62f026df", "metadata": {}, "source": [ "This operation, dividing an array by a scalar, works because of NumPy's [broadcasting rules](https://numpy.org/devdocs/user/theory.broadcasting.html#array-broadcasting-in-numpy). (Note that in real-world applications, it would be better to use, for example, the [img_as_float](https://scikit-image.org/docs/stable/api/skimage.html#skimage.img_as_float) utility function from `scikit-image`).\n", @@ -302,7 +302,7 @@ { "cell_type": "code", "execution_count": 10, - "id": "5ea521cb", + "id": "be6d0edc", "metadata": {}, "outputs": [ { @@ -322,7 +322,7 @@ }, { "cell_type": "markdown", - "id": "2d207ce4", + "id": "edc3c600", "metadata": {}, "source": [ "or checking the type of data in the array:" @@ -331,7 +331,7 @@ { "cell_type": "code", "execution_count": 11, - "id": "42b3cc5d", + "id": "e2033368", "metadata": {}, "outputs": [ { @@ -351,7 +351,7 @@ }, { "cell_type": "markdown", - "id": "549840b6", + "id": "7661b9d5", "metadata": {}, "source": [ "Note that we can assign each color channel to a separate matrix using the slice syntax:" @@ -360,7 +360,7 @@ { "cell_type": "code", "execution_count": 12, - "id": "1d29e3e7", + "id": "7611a020", "metadata": {}, "outputs": [], "source": [ @@ -371,7 +371,7 @@ }, { "cell_type": "markdown", - "id": "5dc7487c", + "id": "c42ad09d", "metadata": {}, "source": [ "### Operations on an axis\n", @@ -381,7 +381,7 @@ }, { "cell_type": "markdown", - "id": "adad4914", + "id": "d9d5286a", "metadata": {}, "source": [ "**Note**: We will use NumPy's linear algebra module, [numpy.linalg](https://numpy.org/devdocs/reference/routines.linalg.html#module-numpy.linalg), to perform the operations in this tutorial. Most of the linear algebra functions in this module can also be found in [scipy.linalg](https://docs.scipy.org/doc/scipy/reference/linalg.html#module-scipy.linalg), and users are encouraged to use the [scipy](https://docs.scipy.org/doc/scipy/reference/index.html#module-scipy) module for real-world applications. However, some functions in the [scipy.linalg](https://docs.scipy.org/doc/scipy/reference/linalg.html#module-scipy.linalg) module, such as the SVD function, only support 2D arrays. For more information on this, check the [scipy.linalg page](https://docs.scipy.org/doc/scipy/tutorial/linalg.html)." @@ -389,7 +389,7 @@ }, { "cell_type": "markdown", - "id": "93011c10", + "id": "d2f3f9be", "metadata": {}, "source": [ "To proceed, import the linear algebra submodule from NumPy:" @@ -398,7 +398,7 @@ { "cell_type": "code", "execution_count": 13, - "id": "fc8f9d6f", + "id": "fe7c280a", "metadata": {}, "outputs": [], "source": [ @@ -407,7 +407,7 @@ }, { "cell_type": "markdown", - "id": "14f44310", + "id": "77bdbd57", "metadata": {}, "source": [ "In order to extract information from a given matrix, we can use the SVD to obtain 3 arrays which can be multiplied to obtain the original matrix. From the theory of linear algebra, given a matrix $A$, the following product can be computed:\n", @@ -427,7 +427,7 @@ { "cell_type": "code", "execution_count": 14, - "id": "1e4ed728", + "id": "b066e922", "metadata": {}, "outputs": [], "source": [ @@ -436,7 +436,7 @@ }, { "cell_type": "markdown", - "id": "881cfa73", + "id": "2a9691e3", "metadata": {}, "source": [ "Now, `img_gray` has shape" @@ -445,7 +445,7 @@ { "cell_type": "code", "execution_count": 15, - "id": "3178980a", + "id": "cc6c993b", "metadata": {}, "outputs": [ { @@ -465,7 +465,7 @@ }, { "cell_type": "markdown", - "id": "d729cb24", + "id": "dc1641ab", "metadata": {}, "source": [ "To see if this makes sense in our image, we should use a colormap from `matplotlib` corresponding to the color we wish to see in out image (otherwise, `matplotlib` will default to a colormap that does not correspond to the real data).\n", @@ -476,7 +476,7 @@ { "cell_type": "code", "execution_count": 16, - "id": "ba453140", + "id": "08d08de6", "metadata": {}, "outputs": [ { @@ -497,7 +497,7 @@ }, { "cell_type": "markdown", - "id": "c54529c8", + "id": "019d9a00", "metadata": {}, "source": [ "Now, applying the [linalg.svd](https://numpy.org/devdocs/reference/generated/numpy.linalg.svd.html#numpy.linalg.svd) function to this matrix, we obtain the following decomposition:" @@ -506,7 +506,7 @@ { "cell_type": "code", "execution_count": 17, - "id": "d43e60f3", + "id": "7d6e904b", "metadata": {}, "outputs": [], "source": [ @@ -515,7 +515,7 @@ }, { "cell_type": "markdown", - "id": "bbc4f6a9", + "id": "e9f911a7", "metadata": {}, "source": [ "**Note** If you are using your own image, this command might take a while to run, depending on the size of your image and your hardware. Don't worry, this is normal! The SVD can be a pretty intensive computation." @@ -523,7 +523,7 @@ }, { "cell_type": "markdown", - "id": "88f0f477", + "id": "c8c9ad7f", "metadata": {}, "source": [ "Let's check that this is what we expected:" @@ -532,7 +532,7 @@ { "cell_type": "code", "execution_count": 18, - "id": "63e6a4be", + "id": "fe3ca47b", "metadata": {}, "outputs": [ { @@ -552,7 +552,7 @@ }, { "cell_type": "markdown", - "id": "47d3f750", + "id": "a680ba44", "metadata": {}, "source": [ "Note that `s` has a particular shape: it has only one dimension. This means that some linear algebra functions that expect 2d arrays might not work. For example, from the theory, one might expect `s` and `Vt` to be\n", @@ -568,7 +568,7 @@ { "cell_type": "code", "execution_count": 19, - "id": "24538fdd", + "id": "463be234", "metadata": {}, "outputs": [], "source": [ @@ -580,7 +580,7 @@ }, { "cell_type": "markdown", - "id": "d16eacc1", + "id": "2d1a97a8", "metadata": {}, "source": [ "Now, we want to check if the reconstructed `U @ Sigma @ Vt` is close to the original `img_gray` matrix." @@ -588,7 +588,7 @@ }, { "cell_type": "markdown", - "id": "78926196", + "id": "912f4ced", "metadata": {}, "source": [ "## Approximation\n", @@ -599,7 +599,7 @@ { "cell_type": "code", "execution_count": 20, - "id": "6f56b7e4", + "id": "6baa5644", "metadata": {}, "outputs": [ { @@ -619,7 +619,7 @@ }, { "cell_type": "markdown", - "id": "d051ea8f", + "id": "cc56413e", "metadata": {}, "source": [ "(The actual result of this operation might be different depending on your architecture and linear algebra setup. Regardless, you should see a small number.)\n", @@ -630,7 +630,7 @@ { "cell_type": "code", "execution_count": 21, - "id": "ad426f39", + "id": "b20a8eb2", "metadata": {}, "outputs": [ { @@ -650,7 +650,7 @@ }, { "cell_type": "markdown", - "id": "dba4ee57", + "id": "d59db00d", "metadata": {}, "source": [ "To see if an approximation is reasonable, we can check the values in `s`:" @@ -659,7 +659,7 @@ { "cell_type": "code", "execution_count": 22, - "id": "23a9336d", + "id": "ba173804", "metadata": {}, "outputs": [ { @@ -680,7 +680,7 @@ }, { "cell_type": "markdown", - "id": "bee384a5", + "id": "5b8534f8", "metadata": {}, "source": [ "In the graph, we can see that although we have 768 singular values in `s`, most of those (after the 150th entry or so) are pretty small. So it might make sense to use only the information related to the first (say, 50) *singular values* to build a more economical approximation to our image.\n", @@ -693,7 +693,7 @@ { "cell_type": "code", "execution_count": 23, - "id": "175785be", + "id": "c17333d8", "metadata": {}, "outputs": [], "source": [ @@ -702,7 +702,7 @@ }, { "cell_type": "markdown", - "id": "b49c9405", + "id": "080fc231", "metadata": {}, "source": [ "we can build the approximation by doing" @@ -711,7 +711,7 @@ { "cell_type": "code", "execution_count": 24, - "id": "13e83b9b", + "id": "74cdac00", "metadata": {}, "outputs": [], "source": [ @@ -720,7 +720,7 @@ }, { "cell_type": "markdown", - "id": "4a5f6599", + "id": "4cbc01dd", "metadata": {}, "source": [ "Note that we had to use only the first `k` rows of `Vt`, since all other rows would be multiplied by the zeros corresponding to the singular values we eliminated from this approximation." @@ -729,7 +729,7 @@ { "cell_type": "code", "execution_count": 25, - "id": "65c41e08", + "id": "08be0871", "metadata": {}, "outputs": [ { @@ -750,7 +750,7 @@ }, { "cell_type": "markdown", - "id": "dc9bf83a", + "id": "8fc12f47", "metadata": {}, "source": [ "Now, you can go ahead and repeat this experiment with other values of `k`, and each of your experiments should give you a slightly better (or worse) image depending on the value you choose." @@ -758,7 +758,7 @@ }, { "cell_type": "markdown", - "id": "37e0e6d6", + "id": "f18cec68", "metadata": {}, "source": [ "### Applying to all colors\n", @@ -774,7 +774,7 @@ { "cell_type": "code", "execution_count": 26, - "id": "f7904e5d", + "id": "f6751f3f", "metadata": {}, "outputs": [ { @@ -794,7 +794,7 @@ }, { "cell_type": "markdown", - "id": "24a12833", + "id": "142d9cb5", "metadata": {}, "source": [ "so we need to permutate the axis on this array to get a shape like `(3, 768, 1024)`. Fortunately, the [numpy.transpose](https://numpy.org/devdocs/reference/generated/numpy.transpose.html#numpy.transpose) function can do that for us:\n", @@ -809,7 +809,7 @@ { "cell_type": "code", "execution_count": 27, - "id": "0f4884b5", + "id": "e8f1e09c", "metadata": {}, "outputs": [ { @@ -830,7 +830,7 @@ }, { "cell_type": "markdown", - "id": "a34f10d0", + "id": "9232e587", "metadata": {}, "source": [ "Now we are ready to apply the SVD:" @@ -839,7 +839,7 @@ { "cell_type": "code", "execution_count": 28, - "id": "f27842d4", + "id": "60a9361c", "metadata": {}, "outputs": [], "source": [ @@ -848,7 +848,7 @@ }, { "cell_type": "markdown", - "id": "1ff14856", + "id": "409da823", "metadata": {}, "source": [ "Finally, to obtain the full approximated image, we need to reassemble these matrices into the approximation. Now, note that" @@ -857,7 +857,7 @@ { "cell_type": "code", "execution_count": 29, - "id": "6861415c", + "id": "8a3a657d", "metadata": {}, "outputs": [ { @@ -877,7 +877,7 @@ }, { "cell_type": "markdown", - "id": "8735c712", + "id": "bf2f3009", "metadata": {}, "source": [ "To build the final approximation matrix, we must understand how multiplication across different axes works." @@ -885,7 +885,7 @@ }, { "cell_type": "markdown", - "id": "33c273f0", + "id": "64b51b2d", "metadata": {}, "source": [ "### Products with n-dimensional arrays\n", @@ -898,7 +898,7 @@ { "cell_type": "code", "execution_count": 30, - "id": "42454f8f", + "id": "11dd81c2", "metadata": {}, "outputs": [], "source": [ @@ -909,7 +909,7 @@ }, { "cell_type": "markdown", - "id": "066806d9", + "id": "cbd95b6c", "metadata": {}, "source": [ "Now, if we wish to rebuild the full SVD (with no approximation), we can do" @@ -918,7 +918,7 @@ { "cell_type": "code", "execution_count": 31, - "id": "201f9029", + "id": "c5467b32", "metadata": {}, "outputs": [], "source": [ @@ -927,7 +927,7 @@ }, { "cell_type": "markdown", - "id": "77113e08", + "id": "a9135832", "metadata": {}, "source": [ "Note that" @@ -936,7 +936,7 @@ { "cell_type": "code", "execution_count": 32, - "id": "cc63cacd", + "id": "c19d473c", "metadata": {}, "outputs": [ { @@ -956,7 +956,7 @@ }, { "cell_type": "markdown", - "id": "9e0613da", + "id": "ed7b85f2", "metadata": {}, "source": [ "The reconstructed image should be indistinguishable from the original one, except for differences due to floating point errors from the reconstruction. Recall that our original image consisted of floating point values in the range `[0., 1.]`. The accumulation of floating point error from the reconstruction can result in values slightly outside this original range:" @@ -965,7 +965,7 @@ { "cell_type": "code", "execution_count": 33, - "id": "7d50ac67", + "id": "dcd54e96", "metadata": {}, "outputs": [ { @@ -985,7 +985,7 @@ }, { "cell_type": "markdown", - "id": "9c0d6b6e", + "id": "b7c3ff0b", "metadata": {}, "source": [ "Since `imshow` expects values in the range, we can use `clip` to excise the floating point error:" @@ -994,7 +994,7 @@ { "cell_type": "code", "execution_count": 34, - "id": "d64aa9c4", + "id": "9c01eedf", "metadata": {}, "outputs": [ { @@ -1016,7 +1016,7 @@ }, { "cell_type": "markdown", - "id": "a8dfbf85", + "id": "e30b5712", "metadata": {}, "source": [ "In fact, `imshow` peforms this clipping under-the-hood, so if you skip the first line in the previous code cell, you might see a warning message saying `\"Clipping input data to the valid range for imshow with RGB data ([0..1] for floats or [0..255] for integers).\"`\n", @@ -1027,7 +1027,7 @@ { "cell_type": "code", "execution_count": 35, - "id": "6b99beee", + "id": "c8742161", "metadata": {}, "outputs": [], "source": [ @@ -1036,7 +1036,7 @@ }, { "cell_type": "markdown", - "id": "d79a8c92", + "id": "2ade48c6", "metadata": {}, "source": [ "You can see that we have selected only the first `k` components of the last axis for `Sigma` (this means that we have used only the first `k` columns of each of the three matrices in the stack), and that we have selected only the first `k` components in the second-to-last axis of `Vt` (this means we have selected only the first `k` rows from every matrix in the stack `Vt` and all columns). If you are unfamiliar with the ellipsis syntax, it is a\n", @@ -1048,7 +1048,7 @@ { "cell_type": "code", "execution_count": 36, - "id": "11e0f867", + "id": "de334d07", "metadata": {}, "outputs": [ { @@ -1068,7 +1068,7 @@ }, { "cell_type": "markdown", - "id": "a0eeba9c", + "id": "52a4a85d", "metadata": {}, "source": [ "which is not the right shape for showing the image. Finally, reordering the axes back to our original shape of `(768, 1024, 3)`, we can see our approximation:" @@ -1077,7 +1077,7 @@ { "cell_type": "code", "execution_count": 37, - "id": "aa6c91be", + "id": "ecb2c614", "metadata": {}, "outputs": [ { @@ -1105,7 +1105,7 @@ }, { "cell_type": "markdown", - "id": "0d8760b1", + "id": "fe0ecddb", "metadata": {}, "source": [ "Even though the image is not as sharp, using a small number of `k` singular values (compared to the original set of 768 values), we can recover many of the distinguishing features from this image." @@ -1113,7 +1113,7 @@ }, { "cell_type": "markdown", - "id": "bb9ee955", + "id": "4df1801b", "metadata": {}, "source": [ "### Final words\n", diff --git a/_sources/content/tutorial-x-ray-image-processing.ipynb b/_sources/content/tutorial-x-ray-image-processing.ipynb index 318962ef..6d1109a6 100644 --- a/_sources/content/tutorial-x-ray-image-processing.ipynb +++ b/_sources/content/tutorial-x-ray-image-processing.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "0d041b94", + "id": "b58e761b", "metadata": {}, "source": [ "# X-ray image processing" @@ -10,7 +10,7 @@ }, { "cell_type": "markdown", - "id": "e993badb", + "id": "d53d0ed9", "metadata": {}, "source": [ "This tutorial demonstrates how to read and process X-ray images with NumPy,\n", @@ -53,7 +53,7 @@ }, { "cell_type": "markdown", - "id": "1fda3208", + "id": "2b0bdb06", "metadata": {}, "source": [ "## Prerequisites" @@ -61,7 +61,7 @@ }, { "cell_type": "markdown", - "id": "a42c0736", + "id": "28f41e77", "metadata": {}, "source": [ "The reader should have some knowledge of Python, NumPy arrays, and Matplotlib.\n", @@ -91,7 +91,7 @@ }, { "cell_type": "markdown", - "id": "6ccadde5", + "id": "0a29081b", "metadata": {}, "source": [ "## Table of contents" @@ -99,7 +99,7 @@ }, { "cell_type": "markdown", - "id": "4887e9f1", + "id": "aab146c6", "metadata": {}, "source": [ "1. Examine an X-ray with `imageio`\n", @@ -114,7 +114,7 @@ }, { "cell_type": "markdown", - "id": "476a3b92", + "id": "49c5d30b", "metadata": {}, "source": [ "## Examine an X-ray with `imageio`" @@ -122,7 +122,7 @@ }, { "cell_type": "markdown", - "id": "792c1664", + "id": "1794f58c", "metadata": {}, "source": [ "Let's begin with a simple example using just one X-ray image from the\n", @@ -134,7 +134,7 @@ }, { "cell_type": "markdown", - "id": "ce32d10a", + "id": "31a77947", "metadata": {}, "source": [ "**1.** Load the image with `imageio`:" @@ -143,7 +143,7 @@ { "cell_type": "code", "execution_count": 1, - "id": "202c6ba3", + "id": "2eadb683", "metadata": {}, "outputs": [], "source": [ @@ -157,7 +157,7 @@ }, { "cell_type": "markdown", - "id": "f7ae626a", + "id": "986a8586", "metadata": {}, "source": [ "**2.** Check that its shape is 1024x1024 pixels and that the array is made up of\n", @@ -167,7 +167,7 @@ { "cell_type": "code", "execution_count": 2, - "id": "2b5cfcb0", + "id": "cf1aa0f3", "metadata": {}, "outputs": [ { @@ -186,7 +186,7 @@ }, { "cell_type": "markdown", - "id": "a19f6c85", + "id": "173e57a7", "metadata": {}, "source": [ "**3.** Import `matplotlib` and display the image in a grayscale colormap:" @@ -195,7 +195,7 @@ { "cell_type": "code", "execution_count": 3, - "id": "03e4c5fc", + "id": "c34bb80e", "metadata": {}, "outputs": [ { @@ -219,7 +219,7 @@ }, { "cell_type": "markdown", - "id": "6d66d3c6", + "id": "f53f3429", "metadata": {}, "source": [ "## Combine images into a multidimensional array to demonstrate progression" @@ -227,7 +227,7 @@ }, { "cell_type": "markdown", - "id": "b6675488", + "id": "f9f2d148", "metadata": {}, "source": [ "In the next example, instead of 1 image you'll use 9 X-ray 1024x1024-pixel\n", @@ -242,7 +242,7 @@ { "cell_type": "code", "execution_count": 4, - "id": "22024ca0", + "id": "ddf11dc4", "metadata": {}, "outputs": [], "source": [ @@ -256,7 +256,7 @@ }, { "cell_type": "markdown", - "id": "f567cc4f", + "id": "892a3ad1", "metadata": {}, "source": [ "**2.** Check the shape of the new X-ray image array containing 9 stacked images:" @@ -265,7 +265,7 @@ { "cell_type": "code", "execution_count": 5, - "id": "9ba7a099", + "id": "aae9c870", "metadata": {}, "outputs": [ { @@ -285,7 +285,7 @@ }, { "cell_type": "markdown", - "id": "671db88f", + "id": "ef368336", "metadata": {}, "source": [ "Note that the shape in the first dimension matches `num_imgs`, so the\n", @@ -298,7 +298,7 @@ { "cell_type": "code", "execution_count": 6, - "id": "741c7b5f", + "id": "be237ac7", "metadata": {}, "outputs": [ { @@ -322,7 +322,7 @@ }, { "cell_type": "markdown", - "id": "e64946de", + "id": "47ee5f38", "metadata": {}, "source": [ "**4.** In addition, it can be helpful to show the progress as an animation.\n", @@ -333,7 +333,7 @@ { "cell_type": "code", "execution_count": 7, - "id": "6935e6dd", + "id": "9b532729", "metadata": {}, "outputs": [], "source": [ @@ -343,7 +343,7 @@ }, { "cell_type": "markdown", - "id": "2cfd83dd", + "id": "a16391d1", "metadata": {}, "source": [ "Which gives us:\n", @@ -353,7 +353,7 @@ }, { "cell_type": "markdown", - "id": "e3bef3df", + "id": "70b6d0ca", "metadata": {}, "source": [ "When processing biomedical data, it can be useful to emphasize the 2D\n", @@ -365,7 +365,7 @@ }, { "cell_type": "markdown", - "id": "0aca06ad", + "id": "864d8025", "metadata": {}, "source": [ "### The Laplace filter with Gaussian second derivatives\n", @@ -382,7 +382,7 @@ }, { "cell_type": "markdown", - "id": "46ecf94b", + "id": "7b0e2b7e", "metadata": {}, "source": [ "- The implementation of the Laplacian-Gaussian filter is relatively\n", @@ -395,7 +395,7 @@ { "cell_type": "code", "execution_count": 8, - "id": "b6822d24", + "id": "e315ae0f", "metadata": {}, "outputs": [], "source": [ @@ -406,7 +406,7 @@ }, { "cell_type": "markdown", - "id": "6b0a2ead", + "id": "418559e3", "metadata": {}, "source": [ "Display the original X-ray and the one with the Laplacian-Gaussian filter:" @@ -415,7 +415,7 @@ { "cell_type": "code", "execution_count": 9, - "id": "e8afcdfa", + "id": "61189ee8", "metadata": {}, "outputs": [ { @@ -443,7 +443,7 @@ }, { "cell_type": "markdown", - "id": "06383668", + "id": "c7f8c845", "metadata": {}, "source": [ "### The Gaussian gradient magnitude method\n", @@ -458,7 +458,7 @@ }, { "cell_type": "markdown", - "id": "c21401cf", + "id": "f16bc43b", "metadata": {}, "source": [ "**1.** Call [`scipy.ndimage.gaussian_gradient_magnitude()`](https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.gaussian_gradient_magnitude.html)\n", @@ -469,7 +469,7 @@ { "cell_type": "code", "execution_count": 10, - "id": "ad724ba1", + "id": "51f94477", "metadata": {}, "outputs": [], "source": [ @@ -478,7 +478,7 @@ }, { "cell_type": "markdown", - "id": "bdec256e", + "id": "ffbf44c6", "metadata": {}, "source": [ "**2.** Display the original X-ray and the one with the Gaussian gradient filter:" @@ -487,7 +487,7 @@ { "cell_type": "code", "execution_count": 11, - "id": "31fa3028", + "id": "3981e572", "metadata": {}, "outputs": [ { @@ -515,7 +515,7 @@ }, { "cell_type": "markdown", - "id": "77f0e2df", + "id": "07c7e545", "metadata": {}, "source": [ "### The Sobel-Feldman operator (the Sobel filter)\n", @@ -532,7 +532,7 @@ }, { "cell_type": "markdown", - "id": "889fdd2c", + "id": "7e7f540d", "metadata": {}, "source": [ "**1.** Use the Sobel filters — ([`scipy.ndimage.sobel()`](https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.sobel.html))\n", @@ -552,7 +552,7 @@ { "cell_type": "code", "execution_count": 12, - "id": "db684adc", + "id": "0519bcd3", "metadata": {}, "outputs": [], "source": [ @@ -566,7 +566,7 @@ }, { "cell_type": "markdown", - "id": "68633038", + "id": "29c14804", "metadata": {}, "source": [ "**2.** Change the new image array data type to the 32-bit floating-point format\n", @@ -577,7 +577,7 @@ { "cell_type": "code", "execution_count": 13, - "id": "d6c093fc", + "id": "4a6cdf0c", "metadata": {}, "outputs": [ { @@ -599,7 +599,7 @@ }, { "cell_type": "markdown", - "id": "d484083e", + "id": "1bd05e2d", "metadata": {}, "source": [ "**3.** Display the original X-ray and the one with the Sobel \"edge\" filter\n", @@ -610,7 +610,7 @@ { "cell_type": "code", "execution_count": 14, - "id": "d1afa4eb", + "id": "97caabfb", "metadata": {}, "outputs": [ { @@ -640,7 +640,7 @@ }, { "cell_type": "markdown", - "id": "65594fe6", + "id": "f31fdf88", "metadata": {}, "source": [ "### The Canny filter\n", @@ -665,7 +665,7 @@ }, { "cell_type": "markdown", - "id": "928956e2", + "id": "9d5b9121", "metadata": {}, "source": [ "**1.** Use SciPy's Fourier filters — [`scipy.ndimage.fourier_gaussian()`](https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.fourier_gaussian.html)\n", @@ -679,7 +679,7 @@ { "cell_type": "code", "execution_count": 15, - "id": "18947b1f", + "id": "65184061", "metadata": {}, "outputs": [ { @@ -705,7 +705,7 @@ }, { "cell_type": "markdown", - "id": "a09b1a0c", + "id": "b670426d", "metadata": {}, "source": [ "**2.** Plot the original X-ray image and the ones with the edges detected with\n", @@ -716,7 +716,7 @@ { "cell_type": "code", "execution_count": 16, - "id": "c756385f", + "id": "4b62ad3f", "metadata": {}, "outputs": [ { @@ -748,7 +748,7 @@ }, { "cell_type": "markdown", - "id": "9c26bdf9", + "id": "1ffd0555", "metadata": {}, "source": [ "## Apply masks to X-rays with `np.where()`" @@ -756,7 +756,7 @@ }, { "cell_type": "markdown", - "id": "c05e63b8", + "id": "c34f610a", "metadata": {}, "source": [ "To screen out only certain pixels in X-ray images to help detect particular\n", @@ -771,7 +771,7 @@ }, { "cell_type": "markdown", - "id": "98bbe785", + "id": "7bcb92d6", "metadata": {}, "source": [ "**1.** Retrieve some basics statistics about the pixel values in the original\n", @@ -781,7 +781,7 @@ { "cell_type": "code", "execution_count": 17, - "id": "ceabdf6e", + "id": "675a28cc", "metadata": {}, "outputs": [ { @@ -806,7 +806,7 @@ }, { "cell_type": "markdown", - "id": "b01fcf12", + "id": "18ccebf3", "metadata": {}, "source": [ "**2.** The array data type is `uint8` and the minimum/maximum value results\n", @@ -818,7 +818,7 @@ { "cell_type": "code", "execution_count": 18, - "id": "2aa34cd7", + "id": "419f6e78", "metadata": {}, "outputs": [ { @@ -844,7 +844,7 @@ }, { "cell_type": "markdown", - "id": "e58a9fba", + "id": "3a9710d5", "metadata": {}, "source": [ "As the pixel intensity distribution suggests, there are many low (between around\n", @@ -858,7 +858,7 @@ { "cell_type": "code", "execution_count": 19, - "id": "f5b43501", + "id": "55a1a64f", "metadata": {}, "outputs": [ { @@ -885,7 +885,7 @@ { "cell_type": "code", "execution_count": 20, - "id": "d408cb59", + "id": "b18c85a6", "metadata": {}, "outputs": [ { @@ -911,7 +911,7 @@ }, { "cell_type": "markdown", - "id": "ab8accc1", + "id": "bef71ac5", "metadata": {}, "source": [ "## Compare the results" @@ -919,7 +919,7 @@ }, { "cell_type": "markdown", - "id": "476c81a6", + "id": "2105c99e", "metadata": {}, "source": [ "Let's display some of the results of processed X-ray images you've worked with\n", @@ -929,7 +929,7 @@ { "cell_type": "code", "execution_count": 21, - "id": "66c9354d", + "id": "06ac4fd8", "metadata": {}, "outputs": [ { @@ -971,7 +971,7 @@ }, { "cell_type": "markdown", - "id": "a7578d6f", + "id": "f95765bc", "metadata": {}, "source": [ "## Next steps" @@ -979,7 +979,7 @@ }, { "cell_type": "markdown", - "id": "50665176", + "id": "1b58e107", "metadata": {}, "source": [ "If you want to use your own samples, you can use\n", diff --git a/_static/basic.css b/_static/basic.css index 2af6139e..2a9e4114 100644 --- a/_static/basic.css +++ b/_static/basic.css @@ -1,12 +1,5 @@ /* - * basic.css - * ~~~~~~~~~ - * * Sphinx stylesheet -- basic theme. - * - * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. - * :license: BSD, see LICENSE for details. - * */ /* -- main layout ----------------------------------------------------------- */ @@ -115,15 +108,11 @@ img { /* -- search page ----------------------------------------------------------- */ ul.search { - margin: 10px 0 0 20px; - padding: 0; + margin-top: 10px; } ul.search li { - padding: 5px 0 5px 20px; - background-image: url(file.png); - background-repeat: no-repeat; - background-position: 0 7px; + padding: 5px 0; } ul.search li a { diff --git a/_static/doctools.js b/_static/doctools.js index 4d67807d..0398ebb9 100644 --- a/_static/doctools.js +++ b/_static/doctools.js @@ -1,12 +1,5 @@ /* - * doctools.js - * ~~~~~~~~~~~ - * * Base JavaScript utilities for all Sphinx HTML documentation. - * - * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. - * :license: BSD, see LICENSE for details. - * */ "use strict"; diff --git a/_static/language_data.js b/_static/language_data.js index 367b8ed8..c7fe6c6f 100644 --- a/_static/language_data.js +++ b/_static/language_data.js @@ -1,13 +1,6 @@ /* - * language_data.js - * ~~~~~~~~~~~~~~~~ - * * This script contains the language-specific data used by searchtools.js, * namely the list of stopwords, stemmer, scorer and splitter. - * - * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. - * :license: BSD, see LICENSE for details. - * */ var stopwords = ["a", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "near", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"]; diff --git a/_static/searchtools.js b/_static/searchtools.js index b08d58c9..2c774d17 100644 --- a/_static/searchtools.js +++ b/_static/searchtools.js @@ -1,12 +1,5 @@ /* - * searchtools.js - * ~~~~~~~~~~~~~~~~ - * * Sphinx JavaScript utilities for the full-text search. - * - * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. - * :license: BSD, see LICENSE for details. - * */ "use strict"; @@ -20,7 +13,7 @@ if (typeof Scorer === "undefined") { // and returns the new score. /* score: result => { - const [docname, title, anchor, descr, score, filename] = result + const [docname, title, anchor, descr, score, filename, kind] = result return score }, */ @@ -47,6 +40,14 @@ if (typeof Scorer === "undefined") { }; } +// Global search result kind enum, used by themes to style search results. +class SearchResultKind { + static get index() { return "index"; } + static get object() { return "object"; } + static get text() { return "text"; } + static get title() { return "title"; } +} + const _removeChildren = (element) => { while (element && element.lastChild) element.removeChild(element.lastChild); }; @@ -64,9 +65,13 @@ const _displayItem = (item, searchTerms, highlightTerms) => { const showSearchSummary = DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY; const contentRoot = document.documentElement.dataset.content_root; - const [docName, title, anchor, descr, score, _filename] = item; + const [docName, title, anchor, descr, score, _filename, kind] = item; let listItem = document.createElement("li"); + // Add a class representing the item's type: + // can be used by a theme's CSS selector for styling + // See SearchResultKind for the class names. + listItem.classList.add(`kind-${kind}`); let requestUrl; let linkUrl; if (docBuilder === "dirhtml") { @@ -115,8 +120,10 @@ const _finishSearch = (resultCount) => { "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories." ); else - Search.status.innerText = _( - "Search finished, found ${resultCount} page(s) matching the search query." + Search.status.innerText = Documentation.ngettext( + "Search finished, found one page matching the search query.", + "Search finished, found ${resultCount} pages matching the search query.", + resultCount, ).replace('${resultCount}', resultCount); }; const _displayNextItem = ( @@ -138,7 +145,7 @@ const _displayNextItem = ( else _finishSearch(resultCount); }; // Helper function used by query() to order search results. -// Each input is an array of [docname, title, anchor, descr, score, filename]. +// Each input is an array of [docname, title, anchor, descr, score, filename, kind]. // Order the results by score (in opposite order of appearance, since the // `_displayNextItem` function uses pop() to retrieve items) and then alphabetically. const _orderResultsByScoreThenName = (a, b) => { @@ -248,6 +255,7 @@ const Search = { searchSummary.classList.add("search-summary"); searchSummary.innerText = ""; const searchList = document.createElement("ul"); + searchList.setAttribute("role", "list"); searchList.classList.add("search"); const out = document.getElementById("search-results"); @@ -318,7 +326,7 @@ const Search = { const indexEntries = Search._index.indexentries; // Collect multiple result groups to be sorted separately and then ordered. - // Each is an array of [docname, title, anchor, descr, score, filename]. + // Each is an array of [docname, title, anchor, descr, score, filename, kind]. const normalResults = []; const nonMainIndexResults = []; @@ -337,6 +345,7 @@ const Search = { null, score + boost, filenames[file], + SearchResultKind.title, ]); } } @@ -354,6 +363,7 @@ const Search = { null, score, filenames[file], + SearchResultKind.index, ]; if (isMain) { normalResults.push(result); @@ -475,6 +485,7 @@ const Search = { descr, score, filenames[match[0]], + SearchResultKind.object, ]); }; Object.keys(objects).forEach((prefix) => @@ -585,6 +596,7 @@ const Search = { null, score, filenames[file], + SearchResultKind.text, ]); } return results; diff --git a/applications.html b/applications.html index fdbe9aa8..0018313f 100644 --- a/applications.html +++ b/applications.html @@ -39,7 +39,7 @@ - + diff --git a/articles.html b/articles.html index a68d488e..eaab6423 100644 --- a/articles.html +++ b/articles.html @@ -39,7 +39,7 @@ - + diff --git a/content/mooreslaw-tutorial.html b/content/mooreslaw-tutorial.html index 6a58ed92..9e89f428 100644 --- a/content/mooreslaw-tutorial.html +++ b/content/mooreslaw-tutorial.html @@ -39,7 +39,7 @@ - + @@ -876,7 +876,7 @@

Calculating the historical growth curve for transistors
19200000000.0 250000000.0 7050000000.0
 

-

3. Decompress the 4 files and create 4 ndarrays, saving them into a dictionary. Each original image is of size 28x28 and neural networks normally expect a 1D vector input; therefore, you also need to reshape the images by multiplying 28 by 28 (784).

diff --git a/content/tutorial-deep-reinforcement-learning-with-pong-from-pixels.html b/content/tutorial-deep-reinforcement-learning-with-pong-from-pixels.html index 6421534f..99f566fd 100644 --- a/content/tutorial-deep-reinforcement-learning-with-pong-from-pixels.html +++ b/content/tutorial-deep-reinforcement-learning-with-pong-from-pixels.html @@ -39,7 +39,7 @@ - + diff --git a/content/tutorial-ma.html b/content/tutorial-ma.html index bc2d7831..a00de3a8 100644 --- a/content/tutorial-ma.html +++ b/content/tutorial-ma.html @@ -39,7 +39,7 @@ - + @@ -865,7 +865,7 @@

Fitting Data -
[<matplotlib.lines.Line2D at 0x7fcd79cb2c80>]
+
[<matplotlib.lines.Line2D at 0x7f0396d92530>]
 
../_images/5c63be5afa8a3338065c1114064867c276413c61a44f011653bcce422b9b5fff.png diff --git a/content/tutorial-nlp-from-scratch.html b/content/tutorial-nlp-from-scratch.html index 49fdeb75..7abc65bb 100644 --- a/content/tutorial-nlp-from-scratch.html +++ b/content/tutorial-nlp-from-scratch.html @@ -39,7 +39,7 @@ - + diff --git a/content/tutorial-plotting-fractals.html b/content/tutorial-plotting-fractals.html index e220554a..e0d31a38 100644 --- a/content/tutorial-plotting-fractals.html +++ b/content/tutorial-plotting-fractals.html @@ -39,7 +39,7 @@ - + diff --git a/content/tutorial-static_equilibrium.html b/content/tutorial-static_equilibrium.html index a09f0267..70a2ff00 100644 --- a/content/tutorial-static_equilibrium.html +++ b/content/tutorial-static_equilibrium.html @@ -39,7 +39,7 @@ - + diff --git a/content/tutorial-style-guide.html b/content/tutorial-style-guide.html index 917861c7..94b89d89 100644 --- a/content/tutorial-style-guide.html +++ b/content/tutorial-style-guide.html @@ -39,7 +39,7 @@ - + diff --git a/content/tutorial-svd.html b/content/tutorial-svd.html index c8232f05..8df225ba 100644 --- a/content/tutorial-svd.html +++ b/content/tutorial-svd.html @@ -39,7 +39,7 @@ - + diff --git a/content/tutorial-x-ray-image-processing.html b/content/tutorial-x-ray-image-processing.html index f7edb8da..35b74304 100644 --- a/content/tutorial-x-ray-image-processing.html +++ b/content/tutorial-x-ray-image-processing.html @@ -39,7 +39,7 @@ - + diff --git a/contributing.html b/contributing.html index 09478689..82d1f09c 100644 --- a/contributing.html +++ b/contributing.html @@ -39,7 +39,7 @@ - + diff --git a/features.html b/features.html index 22934d75..f5268925 100644 --- a/features.html +++ b/features.html @@ -39,7 +39,7 @@ - + diff --git a/genindex.html b/genindex.html index 915e3791..0adcf772 100644 --- a/genindex.html +++ b/genindex.html @@ -38,7 +38,7 @@ - + diff --git a/index.html b/index.html index f25626d2..9b99d306 100644 --- a/index.html +++ b/index.html @@ -39,7 +39,7 @@ - + diff --git a/search.html b/search.html index 18936b12..8286b5b5 100644 --- a/search.html +++ b/search.html @@ -37,7 +37,7 @@ - + diff --git a/searchindex.js b/searchindex.js index 7e45a785..e27b553c 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"1. Classic Jupyter Jupytext pairing": [[3, null]], "1. Data Collection": [[9, "data-collection"]], "1. Load the MNIST dataset": [[6, "load-the-mnist-dataset"]], "2. JupyterLab Jupytext pairing": [[3, null]], "2. Preprocess the data": [[6, "preprocess-the-data"]], "2. Preprocess the datasets": [[9, "preprocess-the-datasets"]], "3. Build and train a small neural network from scratch": [[6, "build-and-train-a-small-neural-network-from-scratch"]], "3. Build the Deep Learning Model": [[9, "build-the-deep-learning-model"]], "3. Command line Jupytext pairing": [[3, null]], "A note on RL and deep RL": [[7, "a-note-on-rl-and-deep-rl"]], "Adding your own tutorials": [[15, "adding-your-own-tutorials"]], "Additional Applications": [[11, "additional-applications"]], "After a horizontal rule, start your own headings": [[12, "after-a-horizontal-rule-start-your-own-headings"]], "Air quality indices": [[5, "air-quality-indices"]], "Analyzing the impact of the lockdown on air quality in Delhi, India": [[5, null]], "Another Example": [[11, "another-example"]], "Another option: saving to human-readable csv": [[4, "another-option-saving-to-human-readable-csv"]], "Appendix": [[7, "appendix"]], "Apply masks to X-rays with np.where()": [[14, "apply-masks-to-x-rays-with-np-where"]], "Applying to all colors": [[13, "applying-to-all-colors"]], "Approximation": [[13, "approximation"]], "Articles": [[1, null]], "Avoid asides": [[12, "avoid-asides"]], "Background": [[3, "background"]], "Backpropagation": [[9, "backpropagation"]], "Building Moore\u2019s law as an exponential function": [[2, "building-moore-s-law-as-an-exponential-function"]], "Building the dataset": [[5, "building-the-dataset"]], "But how do you obtain sentiment from the LSTM\u2019s output?": [[9, "but-how-do-you-obtain-sentiment-from-the-lstm-s-output"]], "Calculating the Air Quality Index": [[5, "calculating-the-air-quality-index"]], "Calculating the historical growth curve for transistors": [[2, "calculating-the-historical-growth-curve-for-transistors"]], "Calculating the test statistics": [[5, "calculating-the-test-statistics"]], "Check out our suggested template": [[15, "check-out-our-suggested-template"]], "Collecting and loading the speech transcripts": [[9, "collecting-and-loading-the-speech-transcripts"]], "Collecting the IMDb reviews dataset": [[9, "collecting-the-imdb-reviews-dataset"]], "Combine images into a multidimensional array to demonstrate progression": [[14, "combine-images-into-a-multidimensional-array-to-demonstrate-progression"]], "Compare the results": [[14, "compare-the-results"]], "Compose the model and begin training and testing it": [[6, "compose-the-model-and-begin-training-and-testing-it"]], "Content": [[13, "content"], [17, "content"]], "Contributing": [[15, null]], "Convert the image data to the floating-point format": [[6, "convert-the-image-data-to-the-floating-point-format"]], "Convert the labels to floating point through categorical/one-hot encoding": [[6, "convert-the-labels-to-floating-point-through-categorical-one-hot-encoding"]], "Create an issue": [[15, "create-an-issue"]], "Create the policy (the neural network) and the forward pass": [[7, "create-the-policy-the-neural-network-and-the-forward-pass"]], "Create your arrays": [[4, "create-your-arrays"]], "Creating your own comma separated value file": [[2, "creating-your-own-comma-separated-value-file"]], "Creating your own fractals": [[10, "creating-your-own-fractals"]], "Deep RL glossary": [[7, "deep-rl-glossary"]], "Deep learning on MNIST": [[6, null]], "Deep reinforcement learning with Pong from pixels": [[7, null]], "Define the discounted rewards (expected return) function": [[7, "define-the-discounted-rewards-expected-return-function"]], "Defining the hypothesis": [[5, "defining-the-hypothesis"]], "Determining Moore\u2019s Law with real data in NumPy": [[2, null]], "Determining Static Equilibrium in NumPy": [[11, null]], "Edge detection using the Laplacian-Gaussian, Gaussian gradient, Sobel, and Canny filters": [[14, "edge-detection-using-the-laplacian-gaussian-gaussian-gradient-sobel-and-canny-filters"]], "Examine an X-ray with imageio": [[14, "examine-an-x-ray-with-imageio"]], "Exploring the data": [[8, "exploring-the-data"]], "Final words": [[13, "final-words"]], "Finding values with physical properties": [[11, "finding-values-with-physical-properties"]], "Fitting Data": [[8, "fitting-data"]], "Forward Propagation": [[9, "forward-propagation"]], "Further reading": [[5, "further-reading"], [8, "further-reading"], [10, "further-reading"], [12, "further-reading"], [13, "further-reading"]], "Generalizing the Julia set": [[10, "generalizing-the-julia-set"]], "Help improve the tutorials!": [[1, null], [17, null]], "How to set up video playback in your Jupyter notebook": [[7, "how-to-set-up-video-playback-in-your-jupyter-notebook"]], "In conclusion": [[10, "in-conclusion"]], "In practice": [[8, "in-practice"]], "In practice\u2026": [[5, "in-practice"], [12, "in-practice"]], "Introduction to a Long Short Term Memory Network": [[9, "introduction-to-a-long-short-term-memory-network"]], "Julia set": [[10, "julia-set"]], "Learn to write a NumPy tutorial": [[12, null]], "Learner profile": [[13, "learner-profile"]], "Learning Objectives": [[13, "learning-objectives"]], "Linear algebra on n-dimensional arrays": [[13, null]], "Loading historical manufacturing data to your workspace": [[2, "loading-historical-manufacturing-data-to-your-workspace"]], "Looking at our Neural Network from an ethical perspective": [[9, "looking-at-our-neural-network-from-an-ethical-perspective"]], "Make use of the Google doc style guide": [[12, "make-use-of-the-google-doc-style-guide"]], "Mandelbrot set": [[10, "mandelbrot-set"]], "Masked Arrays": [[8, null]], "Missing data": [[8, "missing-data"]], "Model architecture and training summary": [[6, "model-architecture-and-training-summary"]], "Moving averages": [[5, "moving-averages"]], "Neural network building blocks with NumPy": [[6, "neural-network-building-blocks-with-numpy"]], "Newton Fractals": [[10, "newton-fractals"]], "Next Steps": [[9, "next-steps"]], "Next steps": [[6, "next-steps"], [7, "next-steps"], [14, "next-steps"]], "Non-executable articles": [[17, "non-executable-articles"]], "Note": [[15, "note"]], "Notes on RL and deep RL": [[7, "notes-on-rl-and-deep-rl"]], "NumPy Applications": [[0, null]], "NumPy Features": [[16, null]], "NumPy tutorials": [[17, null]], "On your own": [[10, "on-your-own"], [12, "on-your-own"]], "Operations on an axis": [[13, "operations-on-an-axis"]], "Our arrays as a csv file": [[4, "our-arrays-as-a-csv-file"]], "Overview of the Model Architecture": [[9, "overview-of-the-model-architecture"]], "Pair your notebook files .ipynb and .md": [[3, "pair-your-notebook-files-ipynb-and-md"]], "Paired Student\u2019s t-test on the AQIs": [[5, "paired-student-s-t-test-on-the-aqis"]], "Pairing Jupyter notebooks and MyST-NB": [[3, null]], "Plotting Fractals": [[10, null]], "Preprocess frames (the observation)": [[7, "preprocess-frames-the-observation"]], "Prerequisites": [[6, "prerequisites"], [7, "prerequisites"], [9, "prerequisites"], [13, "prerequisites"], [14, "prerequisites"]], "Products with n-dimensional arrays": [[13, "products-with-n-dimensional-arrays"]], "Rearrange the data into a single 2D array": [[4, "rearrange-the-data-into-a-single-2d-array"]], "Reassign the NpzFile arrays to x and y": [[4, "reassign-the-npzfile-arrays-to-x-and-y"]], "Reference": [[8, "reference"]], "References": [[2, "references"], [11, "references"]], "Remove the saved arrays and load them back with NumPy\u2019s load": [[4, "remove-the-saved-arrays-and-load-them-back-with-numpy-s-load"]], "Sampling": [[5, "sampling"]], "Save the data to csv file using savetxt": [[4, "save-the-data-to-csv-file-using-savetxt"]], "Save your arrays with NumPy\u2019s savez": [[4, "save-your-arrays-with-numpy-s-savez"]], "Saving and sharing your NumPy arrays": [[4, null]], "Sentiment Analysis on notable speeches of the last decade": [[9, null]], "Sentiment Analysis on the Speech Data": [[9, "sentiment-analysis-on-the-speech-data"]], "Set up Pong": [[7, "set-up-pong"]], "Set up the update step (backpropagation)": [[7, "set-up-the-update-step-backpropagation"]], "Shape, axis and array properties": [[13, "shape-axis-and-array-properties"]], "Sharing your results as zipped arrays and a csv": [[2, "sharing-your-results-as-zipped-arrays-and-a-csv"]], "Skills you\u2019ll learn": [[2, "skills-you-ll-learn"]], "Solving Equilibrium as a sum of moments": [[11, "solving-equilibrium-as-a-sum-of-moments"]], "Solving equilibrium with Newton\u2019s second law": [[11, "solving-equilibrium-with-newton-s-second-law"]], "Sub-indices": [[5, "sub-indices"]], "Success": [[4, "success"]], "Success, but remember your types": [[4, "success-but-remember-your-types"]], "Table of contents": [[6, "table-of-contents"], [7, "table-of-contents"], [9, "table-of-contents"], [14, "table-of-contents"]], "The Canny filter": [[14, "the-canny-filter"]], "The Gaussian gradient magnitude method": [[14, "the-gaussian-gradient-magnitude-method"]], "The Laplace filter with Gaussian second derivatives": [[14, "the-laplace-filter-with-gaussian-second-derivatives"]], "The Sobel-Feldman operator (the Sobel filter)": [[14, "the-sobel-feldman-operator-the-sobel-filter"]], "The notebook must be fully executable": [[12, "the-notebook-must-be-fully-executable"]], "The problem of air pollution": [[5, "the-problem-of-air-pollution"]], "Titles are lowercase": [[12, "titles-are-lowercase"]], "Titles have verbs": [[12, "titles-have-verbs"]], "Train the agent for a number of episodes": [[7, "train-the-agent-for-a-number-of-episodes"]], "Training the Network": [[9, "training-the-network"]], "Tutorials and how-to\u2019s \u2013 similar but different": [[12, "tutorials-and-how-to-s-similar-but-different"]], "Updating the Parameters": [[9, "updating-the-parameters"]], "Upload your content": [[15, "upload-your-content"]], "Use plots and illustrations": [[12, "use-plots-and-illustrations"]], "Use real datasets when possible": [[12, "use-real-datasets-when-possible"]], "Useful links and resources": [[17, "useful-links-and-resources"]], "Using masked arrays to see COVID-19 data": [[8, "using-masked-arrays-to-see-covid-19-data"]], "Warmup": [[10, "warmup"]], "What are masked arrays?": [[8, "what-are-masked-arrays"]], "What do the t and p values mean?": [[5, "what-do-the-t-and-p-values-mean"]], "What to say in \u201cWhat you\u2019ll learn\u201d": [[12, "what-to-say-in-what-you-ll-learn"]], "What you\u2019ll do": [[2, "what-you-ll-do"], [3, "what-you-ll-do"], [4, "what-you-ll-do"], [5, "what-you-ll-do"], [8, "what-you-ll-do"], [10, "what-you-ll-do"], [12, "what-you-ll-do"]], "What you\u2019ll do:": [[11, "what-you-ll-do"]], "What you\u2019ll learn": [[3, "what-you-ll-learn"], [4, "what-you-ll-learn"], [5, "what-you-ll-learn"], [8, "what-you-ll-learn"], [10, "what-you-ll-learn"], [12, "what-you-ll-learn"]], "What you\u2019ll learn:": [[11, "what-you-ll-learn"]], "What you\u2019ll need": [[2, "what-you-ll-need"], [3, "what-you-ll-need"], [4, "what-you-ll-need"], [5, "what-you-ll-need"], [8, "what-you-ll-need"], [10, "what-you-ll-need"], [12, "what-you-ll-need"]], "What you\u2019ll need:": [[11, "what-you-ll-need"]], "When can they be useful?": [[8, "when-can-they-be-useful"]], "Why Jupyter Notebooks?": [[15, "why-jupyter-notebooks"]], "Why are \u201cWhat you\u2019ll do\u201d and \u201cWhat you\u2019ll learn\u201d different?": [[12, "why-are-what-you-ll-do-and-what-you-ll-learn-different"]], "Wrapping up": [[2, "wrapping-up"], [3, "wrapping-up"], [4, "wrapping-up"], [11, "wrapping-up"]], "X-ray image processing": [[14, null]], "Zipping the arrays into a file": [[2, "zipping-the-arrays-into-a-file"]]}, "docnames": ["applications", "articles", "content/mooreslaw-tutorial", "content/pairing", "content/save-load-arrays", "content/tutorial-air-quality-analysis", "content/tutorial-deep-learning-on-mnist", "content/tutorial-deep-reinforcement-learning-with-pong-from-pixels", "content/tutorial-ma", "content/tutorial-nlp-from-scratch", "content/tutorial-plotting-fractals", "content/tutorial-static_equilibrium", "content/tutorial-style-guide", "content/tutorial-svd", "content/tutorial-x-ray-image-processing", "contributing", "features", "index"], "envversion": {"sphinx": 63, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2}, "filenames": ["applications.md", "articles.md", "content/mooreslaw-tutorial.md", "content/pairing.md", "content/save-load-arrays.md", "content/tutorial-air-quality-analysis.md", "content/tutorial-deep-learning-on-mnist.md", "content/tutorial-deep-reinforcement-learning-with-pong-from-pixels.md", "content/tutorial-ma.md", "content/tutorial-nlp-from-scratch.md", "content/tutorial-plotting-fractals.md", "content/tutorial-static_equilibrium.md", "content/tutorial-style-guide.md", "content/tutorial-svd.md", "content/tutorial-x-ray-image-processing.md", "contributing.md", "features.md", "index.md"], "indexentries": {}, "objects": {}, "objnames": {}, "objtypes": {}, "terms": {"": [0, 1, 3, 6, 7, 8, 10, 13, 14, 17], "0": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "00": [2, 4, 5], "000": [2, 6, 7, 9, 14], "000000000000000000e": 4, "0000000000000053": 13, "00000011_00": 14, "00000011_001": 14, "000th": 6, "001": 9, "005": 6, "008": 14, "01": [2, 4, 5, 7, 9], "01176471": 6, "02": 5, "03": [2, 5], "04": [5, 10], "05": [5, 14], "06": 5, "07": 5, "07058824": 6, "0722": 13, "079453607915587": 13, "08": 5, "0f": 2, "0i": 10, "0x7f6df812efb0": 2, "0x7fcd79cb2c80": 8, "1": [1, 2, 4, 5, 7, 8, 10, 11, 12, 13, 14], "10": [2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "100": [6, 7, 9, 10, 12, 14], "1000": [2, 6, 9, 14], "10000": [6, 8], "101": 5, "1016": 8, "10196078": 6, "1024": [13, 14], "1024x1024": [13, 14], "103": 5, "104": 5, "106": [5, 11], "107": 13, "109": 7, "11": [2, 5, 6, 7, 8], "110": 13, "111": [9, 13], "11177": 8, "112": 13, "115": 13, "117": 13, "1170": 11, "1170n": 11, "11791": 8, "118": 13, "11820": 8, "11821": 8, "1184": 9, "119": 13, "12": [2, 3, 5, 6, 7, 8, 13], "120": 13, "1201": 5, "121": [5, 13], "12288743": 7, "128": 6, "13": [5, 6, 7, 8], "130": [11, 13], "130514785642591505e": 2, "130n": 11, "131": 13, "133": 13, "134": 13, "135671314724608": 13, "138": 13, "139": 13, "14": [2, 5, 6, 7, 8], "14380": 8, "144": [7, 13], "14410": 8, "14411": 8, "146": 13, "147197952744": 6, "1473": 8, "15": [5, 6, 7, 8, 10, 13, 14], "150": 14, "150th": 13, "152": 5, "153": 13, "15z": 10, "16": [2, 4, 5, 6, 7, 8, 10, 14], "1601": 5, "16025147": 11, "169": 5, "17": [5, 6, 7, 8], "172": 14, "17205": 8, "17237": 8, "17238": 8, "17500": 8, "178": 5, "178067324290355": 5, "179": 2, "18": [2, 5, 6, 7, 8], "1801": 5, "181": 5, "181980515339620069e": 2, "19": [5, 6, 7], "19200000000": 2, "195": [7, 11, 14], "195n": 11, "1965": 2, "1970": 10, "1971": 2, "1972": [2, 7], "1973": 2, "1974": 2, "1975": 2, "198": 6, "1985": 13, "1986": 7, "1990": 7, "1992": 7, "1993": 7, "1995": 7, "1d": [2, 4, 6, 7, 13], "1e": [7, 9], "1i": 10, "1j": 10, "1st": 8, "2": [1, 2, 4, 5, 7, 8, 10, 11, 13, 14], "20": [2, 5, 6, 7, 8, 10, 14], "200": [7, 14], "2000": [7, 9], "2006": 7, "201": 5, "2013": 7, "2015": [2, 6, 7], "2016": [2, 7], "2017": [2, 7, 14], "2018": 7, "2019": [2, 5, 7], "2020": [2, 5, 7, 8], "2025": 2, "209": 5, "21": [2, 5, 7, 8], "210x160": 7, "212": 6, "2126": 13, "21t00": 5, "22": [5, 6, 8], "2250": 2, "23": [5, 8], "2376": 5, "238793840142739100e": 2, "24": [5, 8], "240": 14, "243": 6, "247": 8, "249999999999916326e": 2, "24t00": 5, "24th": [5, 8], "25": [4, 5, 8, 9], "2500": 2, "250000000": 2, "250000000000000000e": 2, "251": 5, "254": 6, "255": [6, 13, 14], "256": 14, "258": 8, "26": [5, 8], "27": [5, 6, 8], "270": 8, "278": 8, "28": [2, 5, 6, 8], "281": 5, "288": 8, "28th": 8, "28x28": 6, "29": [5, 8], "2a": 2, "2a_m": 2, "2d": [2, 7, 13, 14], "2f": 2, "2j": 10, "2m": 11, "2t_": 11, "3": [1, 2, 4, 5, 7, 8, 10, 11, 13, 14], "30": [2, 5, 14], "300": 7, "3000": 2, "300d": 9, "301": 5, "30120": 8, "305": 5, "308": 8, "309": [5, 8], "3099": 8, "31": [5, 8], "314": 5, "31st": 5, "32": [5, 14], "32050294": 11, "32640635": 2, "3264063536233": 2, "33": [2, 5, 8], "34": [2, 5], "34163208": 2, "343110656980675e": 5, "3466": 2, "35": [2, 5, 7, 8], "3500": 2, "351": 5, "356": 5, "36": 4, "361": 5, "37": 5, "371": 5, "372": 5, "375": 8, "377": 5, "38": [2, 6], "381": 5, "385": 14, "389": 5, "39": 5, "390": 11, "390n": 11, "397": 6, "3d": [10, 11], "3f": 6, "3m": 11, "3rd": 13, "3x3": 14, "4": [2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 14], "40": 2, "400": [7, 10], "4000": 2, "400000000000000000e": 4, "4004": 2, "400px": 7, "400x300": 7, "401": 5, "4040": 2, "41": [5, 10], "4100": 2, "4117827": 9, "41j": 10, "42": [2, 5, 7], "422": 8, "429": 6, "43": 5, "431": 5, "433": 6, "436": 6, "437": 6, "43712046073728e": 13, "438": 6, "44": [5, 17], "440": 8, "441": 6, "443": 6, "446": [6, 8], "448": 6, "449": 6, "45": 5, "450": 6, "4500": 2, "452": 6, "4528": 2, "453": 6, "455": 6, "456": 6, "46": 5, "460": 6, "462": 6, "465": 6, "47": 5, "473": 6, "48": [5, 6], "483": 6, "486": 6, "487": 6, "49": [4, 5], "493": 8, "49411765": 6, "495": 6, "49803922": 6, "4i": 10, "4j": 10, "5": [2, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14], "50": [9, 10, 13], "500": [2, 6, 7], "5000": 2, "500000000000000000e": [2, 4], "500000000000097316e": 2, "501": 5, "50d": 9, "51": 5, "515": 6, "520": 8, "52233219146729": 14, "526": 6, "5281": 9, "53": [2, 5], "533": 8, "53333333": 6, "534": [6, 8], "54": 5, "541": 6, "554280": 9, "5547002": 11, "556": [6, 8], "558487697898684e": 13, "56": [5, 10], "566": 8, "569": 6, "574": 8, "582": 6, "59": [5, 6], "590908400344571419e": 2, "592": 6, "59999": 6, "5n": 11, "6": [2, 3, 4, 5, 6, 7, 8, 10, 11, 14], "60": [6, 10], "6000": 2, "60000": 6, "600000000000000000e": 4, "604": 8, "607": 6, "60z": 10, "61": 5, "617afb2fe6cbd085c235baf7a465b96f4112bd7f7ccb2b2cbd649fed9cbcf2fb": 9, "62": [5, 6], "63": 5, "633": 6, "64": [4, 5, 9], "641": 6, "65": 5, "6502": 2, "65098039": 6, "656": 6, "66": 5, "666": 2, "675": 2, "679": 6, "68": [5, 6], "680": 6, "6800": 2, "683": 8, "6835575": 9, "68627451": 6, "69": 5, "699": 5, "6a38ea6ab5e1902cc03f6b9294ceea5e8ab985af991f35bcabd301a08ea5b3f0": 9, "6b": 9, "7": [2, 4, 5, 6, 7, 8, 10, 14], "7050000000": 2, "708": 6, "71": 5, "715": 6, "7152": 13, "7153": 8, "729": 6, "73": [5, 13], "732": 6, "7363ef08ad996bf4233b115008d6d7f9814b7cc0f4d13ab570b938701eadefeb": 9, "739": 6, "74": 5, "747": 6, "748": 6, "749": 5, "75": 10, "752": 6, "753": 6, "76": 5, "762": 6, "767": 6, "768": 13, "768x1024": 13, "768x768": 13, "769": 6, "77": 5, "772": 6, "77350098": 11, "774": 6, "775": 6, "776": 6, "778": 6, "779": 6, "78": 5, "780": 11, "780n": 11, "784": 6, "785": 6, "786": 6, "787": 6, "788": 6, "79": 5, "791": 6, "794": 6, "795": 6, "8": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14], "80": [5, 7], "8000": 2, "8008": 2, "801": [5, 6], "8080": 2, "80x80": 7, "80x80x1": 7, "81": [4, 5], "817": 8, "83": 5, "83205029": 11, "835": 8, "84": 5, "840": 9, "85": 13, "86": 5, "87": [5, 13], "88": 5, "884736743": 6, "89": 13, "898": 6, "8z": 10, "9": [4, 5, 6, 7, 8, 9, 10, 14], "90": [5, 14], "900000000000000000e": 4, "9074": 8, "91": 5, "92": 5, "94": [5, 13], "95": [5, 13], "9528": 5, "96": 5, "96862745": 6, "97": [5, 6, 13], "971000000000000000e": 2, "972000000000000000e": 2, "973000000000000000e": 2, "98": [2, 5], "99": 7, "999": [6, 9], "999999": 8, "A": [0, 1, 2, 3, 5, 8, 9, 10, 11, 12, 13, 16], "And": [6, 7], "As": [6, 8, 10, 11, 12, 13, 14], "At": [7, 12], "BE": 11, "BY": 12, "Be": [2, 12, 13], "But": [1, 12], "By": [2, 5], "For": [5, 6, 7, 8, 9, 10, 13, 14, 15], "If": [2, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "In": [2, 3, 4, 6, 7, 9, 11, 13, 14, 15], "It": [5, 6, 7, 8, 9, 10, 11, 13, 14], "Its": 3, "NO": 5, "Not": [8, 12], "Of": [7, 10, 13], "One": [6, 7, 8, 10], "That": [2, 8], "The": [2, 3, 4, 6, 7, 8, 9, 10, 11, 13, 15, 17], "Their": 7, "Then": [2, 3, 5, 6, 7, 9, 11, 14], "There": [4, 5, 7, 8, 9, 11], "These": [2, 3, 6, 7, 9, 11, 13, 15], "To": [3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 17], "With": [3, 5, 6, 7, 10], "_": 2, "__init__": 4, "_data": 6, "_i": 2, "_static": 2, "a2": 9, "a_m": 2, "ab": [9, 10, 11], "abbeel": 7, "abbrevi": 9, "abil": [6, 9], "abl": [7, 8, 10, 12, 13], "about": [4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15], "abov": [2, 5, 6, 7, 9, 10, 11, 12, 13, 17], "absenc": 9, "absolut": 10, "abstract": 12, "abus": 9, "ac": [9, 11], "acceler": [7, 11], "accept": [5, 9, 15], "access": [2, 4, 8, 10, 13, 15], "accid": 10, "accident": 10, "accord": [5, 7, 13], "accordingli": 6, "account": [7, 8, 9, 14], "accumul": [9, 13], "accur": [6, 9], "accuraci": [6, 9], "achiev": 5, "acquir": 9, "across": [5, 9, 13], "act": [9, 11], "action": 7, "action_spac": 7, "activ": [5, 6, 7, 9], "activist": 9, "actor": 7, "actual": [2, 6, 7, 8, 9, 13], "ad": [2, 7, 8, 10, 17], "adam": 9, "adapt": [6, 7, 13], "add": [2, 6, 7, 9, 10, 11, 13, 15], "add_subplot": [9, 11], "addit": [6, 7, 9, 12, 14], "address": 9, "adjust": [6, 7, 10], "adopt": [5, 9], "advanc": [7, 10], "advantag": [5, 7, 10], "advis": 6, "affect": [5, 6, 9, 14], "aforement": 9, "after": [5, 6, 7, 8, 9, 10, 13, 14], "after_lock": 5, "after_sampl": 5, "afterward": [6, 9], "ag": 9, "again": [2, 4, 6, 7, 9, 10, 13, 15], "against": [2, 6, 7, 9], "agent": 1, "agg_sent": 9, "aggreg": 9, "agre": 8, "ahead": [9, 13], "ai": [6, 7, 9], "air": [0, 2, 17], "al": [6, 7], "alexnet": 7, "algebra": [6, 7, 9, 11, 16, 17], "algorithm": [7, 9, 14], "all": [2, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15], "allclos": 13, "allow": [3, 9, 10, 15], "allow_pickl": 9, "almost": 3, "along": [9, 12, 14], "alpha": [2, 5, 10], "alphago": 7, "alphastar": 7, "alphazero": 7, "alreadi": [6, 9, 10], "also": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17], "alt": 7, "alter": [6, 9], "altern": [5, 12, 13], "although": [10, 13], "alwai": [7, 9, 13], "am": 9, "amaz": 2, "ammonia": 5, "amount": [7, 10, 14], "amplifi": [9, 12], "an": [1, 4, 5, 6, 7, 8, 10, 11, 12], "analysi": [0, 1, 2, 5, 8, 14, 17], "analyz": [0, 8, 11, 14, 17], "andrej": 7, "andrew": [6, 7, 9], "angl": 12, "ani": [3, 4, 5, 7, 8, 9, 11, 12], "anim": 14, "anonym": 9, "anoth": [2, 7, 10, 12, 14], "answer": [10, 12], "antenna": 10, "anymor": 2, "anyth": [7, 12], "api": [6, 7, 9, 10], "appear": [2, 7, 10, 12, 17], "append": [2, 4, 6, 7, 9], "append_ax": 10, "appendix": 1, "appli": [6, 7, 8, 9, 10, 11], "applic": [6, 7, 8, 9, 13, 15, 17], "appreci": 10, "approach": [2, 7, 9], "appropri": [7, 8, 10, 13, 15], "approx": 13, "approx_img": 13, "approxim": [5, 7, 8, 10], "aprob": 7, "apt": 7, "aqi_arrai": 5, "ar": [2, 3, 4, 5, 6, 7, 9, 10, 11, 13, 14, 15], "arab": 6, "arang": [4, 6, 8], "arcad": 7, "architectur": [1, 13], "archiv": 9, "area": [2, 10], "aren": 12, "argmax": 6, "argument": [5, 8], "aris": [9, 10], "around": [7, 8, 9, 10, 14], "arrai": [5, 6, 7, 9, 10, 11, 12, 16, 17], "arrang": [2, 4], "array_lik": 14, "array_out": 4, "art": [7, 9], "articl": [2, 6, 7, 9], "artifici": [6, 7, 9], "artist": 12, "artwork": 15, "asarrai": 6, "ascent": 7, "ascii": [4, 7], "ask": [3, 9], "assess": 2, "assign": [2, 4, 6, 7, 12, 13], "assist": 7, "associ": 8, "assum": [2, 5, 10, 11, 12, 14], "assur": 12, "astyp": [6, 7, 14], "atari": 7, "attach": 11, "attempt": [8, 9], "attent": 9, "attribut": 8, "audienc": 12, "author": [6, 9], "autodiff": 7, "autograd": 7, "automat": [3, 6, 7, 8, 9], "autoplai": 7, "avail": [5, 7, 8, 15], "averag": [2, 9, 14], "avoid": [6, 8], "awai": 11, "awar": [9, 13], "ax": [2, 6, 9, 10, 13, 14], "axes_grid1": 10, "axi": [2, 5, 6, 8, 9, 10, 14], "b": [2, 7, 9, 11, 13], "b2": 9, "b64encod": 7, "b_m": 2, "back": [2, 5, 6, 7, 9, 10, 13], "backgammon": 7, "background": [2, 6, 7], "backprop": 9, "backpropag": [1, 6], "backquot": 12, "backward": [6, 7, 9], "bad": 12, "bake": 12, "ball": 7, "baltimor": 13, "bandwidth": 14, "bar": 9, "bare": 12, "barnard": 9, "barrier": 15, "barton": 7, "base": [2, 6, 7, 8, 9, 11], "base64": 7, "base_degre": 10, "base_url": [6, 9], "basic": [5, 6, 8, 9, 10, 13, 14], "batch": [6, 7, 9, 14], "batch_siz": 7, "battlefield": 7, "bbe761e74a70": 12, "bbox_to_anchor": [2, 9], "bcm": 9, "bd": 11, "beam": 11, "beauti": 10, "becaus": [2, 3, 6, 7, 9, 11, 12, 13, 14], "becom": [1, 10], "been": [2, 7, 8, 9, 14], "beer": 11, "befor": [2, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15], "before_lock": 5, "before_sampl": 5, "began": 10, "begin": [8, 9, 10, 11, 12, 14], "behav": 9, "behavior": [2, 9, 10], "behaviour": 10, "behind": [9, 10], "being": [7, 9, 11, 12, 17], "belong": [7, 9, 14], "below": [2, 5, 6, 7, 8, 9, 12, 13, 14, 15], "benefit": [2, 3, 6], "bengio": [6, 7], "beno\u00eet": 10, "benzen": 5, "berkelei": 7, "best": [2, 7, 8, 9, 13, 15], "beta1": 9, "beta2": 9, "better": [2, 4, 6, 8, 9, 10, 11, 13], "between": [2, 3, 4, 5, 6, 7, 9, 11, 13, 14], "beyond": [7, 10], "bf": 9, "bh": 5, "bi": [9, 10], "bia": [6, 9], "bias": 9, "bidirect": 9, "billion": 9, "bin": 14, "binari": [4, 9, 10], "binder": [3, 7, 15, 17], "biomed": 14, "bit": [2, 6, 7, 9, 10, 13, 14], "bl": 5, "black": 6, "blob": 6, "block": [2, 4, 9], "blog": [6, 7, 9, 17], "blow": 9, "blue": [2, 7, 10, 13], "blue_arrai": 13, "blundel": 7, "bo": 9, "board": 5, "bog": 12, "book": [7, 9], "bool": [9, 14], "boolean": [2, 8, 10, 14], "bootcamp": 7, "border": 10, "boston": 9, "both": [3, 4, 5, 6, 8, 9, 10, 11, 14, 15, 17], "bottom": [10, 12], "botvinick": 7, "bound": [5, 10], "boundari": 10, "box": [7, 14], "bp": 5, "bp_fc_layer": 9, "bp_forget_g": 9, "bp_input_g": 9, "bp_output_g": 9, "bphi": 5, "bplo": 5, "bracket": [9, 12], "branch": 15, "break": [9, 11], "breakpoint": 5, "breakthrough": 7, "brief": 9, "broadcast": 13, "broader": 9, "broken": 11, "browser": 3, "buffer": 7, "bug": 8, "build": [1, 3, 7, 13, 14, 17], "built": [3, 6, 7, 9, 10, 13, 16], "bullet": 12, "button": 17, "c": [3, 9, 10, 11, 13], "c_": 9, "cabl": 11, "cach": [7, 9, 13], "cake": 12, "calcul": [3, 7, 8, 9, 10, 11, 14], "calculu": 9, "call": [5, 6, 7, 8, 9, 10, 12, 14], "can": [2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17], "candid": 9, "cannot": [4, 8, 9], "capabl": [6, 9], "capit": [6, 12], "captur": 2, "carbon": 5, "card": 6, "care": [9, 13], "carlo": 7, "carnegi": 14, "carpentri": 14, "carri": 9, "case": [2, 5, 8, 9, 10, 11, 12, 13], "categori": [5, 9], "cax": 10, "cc": 12, "cdf": 5, "cdot": [2, 5, 10], "ceil": 9, "cell": [3, 6, 7, 9, 12, 13, 14, 15], "cell_typ": 3, "center": [2, 11], "central": 5, "centroid": 11, "centuri": 2, "certain": [6, 7, 9, 10, 11, 14], "cf": 11, "chain": [6, 9], "challeng": [6, 7, 14], "chang": [2, 3, 6, 8, 9, 10, 14], "channel": [7, 13, 14], "chaotic": 10, "charact": [4, 8, 9], "characterist": [5, 9], "charl": 7, "chart": 5, "charter": 9, "check": [2, 5, 6, 7, 8, 10, 13, 14, 17], "chess": 7, "chestx": 14, "china": 8, "china_mask": 8, "china_tot": 8, "chip": 2, "choic": [5, 6, 7, 9, 10, 12, 15], "choos": [3, 5, 6, 7, 8, 9, 10, 13], "chosen": [5, 6, 9, 12], "christina": 9, "chronic": 9, "chunk": 6, "chunk_siz": 6, "circleci": 13, "cite": 9, "citi": 5, "claim": 2, "clariti": 9, "class": [7, 9, 10, 17], "classic": 7, "classif": [7, 9], "classifi": [6, 9], "clean": 9, "clean_": 9, "cleantext": 9, "clear": [4, 8, 12, 15], "clearli": 5, "click": [3, 17], "climat": 9, "clip": 13, "clone": [2, 17], "close": [2, 7, 8, 9, 10, 12, 13], "closer": 2, "closest": 10, "cloud": [6, 7, 10], "cluster": 9, "cmap": [6, 7, 10, 13, 14], "cmrmap": 14, "cmt": 9, "cnt": 2, "co": [5, 9, 10], "coastlin": 10, "code": [3, 6, 7, 8, 9, 10, 13, 17], "codemirror_mod": 3, "coeffici": 2, "colaboratori": 7, "collabor": 4, "colleagu": 7, "collect": [0, 1, 5, 7, 15, 16], "colleg": 9, "color": [6, 7, 8, 10, 11, 14], "colorbar": 10, "colorimetri": 13, "colormap": [13, 14], "colour": 10, "column": [2, 4, 5, 8, 9, 13], "com": [2, 6, 9, 13], "comand": 11, "combin": [2, 6, 7, 8, 10], "combined_xray_images_1": 14, "come": [2, 7, 8, 9, 10, 11, 12, 15], "comma": [4, 12], "command": [2, 4, 7, 8, 13], "commenc": [5, 9], "comment": [12, 15], "commerci": 9, "common": [3, 7, 9, 13, 15], "commonmark": 15, "commun": [15, 17], "compact": 8, "compar": [2, 3, 4, 5, 6, 13], "comparison": 7, "compat": [13, 14], "compel": 10, "competit": [7, 14], "complet": [5, 6, 7, 10, 12], "complex": [4, 7, 9, 10], "complex128": 10, "complic": [10, 11], "compon": [9, 11, 13, 14], "compos": [4, 10], "compress": [4, 13], "compromis": 9, "comput": [2, 5, 6, 7, 8, 9, 10, 11, 13, 14], "computation": 6, "compute_indic": 5, "con": 5, "concat": 9, "concaten": [5, 9], "concentr": 5, "concept": [5, 6, 7, 9, 11], "concern": [5, 9], "concis": 7, "conclus": [2, 4, 9, 11], "conda": [3, 6, 7, 9, 14], "condens": 5, "condit": [2, 7, 8, 14], "condition": 10, "conduct": 17, "confer": [9, 14], "confid": 5, "configur": 7, "confirm": 6, "confus": 10, "connect": 9, "consent": 9, "consid": [1, 2, 3, 4, 6, 8, 9, 10, 11, 12, 13, 14, 17], "consider": [9, 10], "consist": [2, 10, 11, 13, 15], "constant": [2, 10], "construct": [6, 9], "consum": 9, "contain": [2, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14], "content": [1, 3], "context": [9, 14], "contextu": 9, "continu": 3, "contribut": [1, 17], "control": [5, 6, 7, 9], "conv_mask": 10, "convei": [9, 10, 11], "conveni": [7, 9, 10, 14], "converg": [9, 10], "convers": 6, "convert": [2, 3, 7, 9, 11, 13], "convolut": [6, 7, 14], "cool": 10, "coordin": 11, "copi": [8, 10, 17], "copper": 10, "cord": 11, "cordbas": 11, "cordconnect": 11, "corddirect": 11, "cordtens": 11, "cordunit": 11, "core": 7, "cornel": 14, "corner": 17, "corpu": 9, "correct": [2, 5, 7, 9], "correctli": 8, "correspond": [5, 6, 8, 9, 10, 11, 13, 14], "could": [2, 7, 9, 10, 13], "count": [2, 6, 7, 8, 10], "counteract": 11, "countri": [8, 9], "coupl": [4, 10], "cours": [7, 10, 12, 13], "courtland": 2, "cover": [6, 7, 8, 15], "covid": 5, "cp": 5, "cpu": 7, "craft": 12, "crash": 13, "creat": [1, 3, 5, 6, 8, 9, 11, 14], "creation": 10, "credit": [6, 12], "creep": 9, "critic": [5, 7, 9], "crop": 7, "cross": [6, 7, 11, 12], "crossrefer": 12, "crucial": [9, 11], "cs224n": 9, "cs6670": 14, "csv": [5, 8, 9], "cubic": 8, "cumsum": 5, "cumul": [7, 8], "cur_x": 7, "curat": [9, 15], "current": [4, 7, 8, 9, 10], "curv": [8, 9], "custom": 9, "cvpr": 14, "cw": 9, "cycl": [6, 9, 10], "d": [7, 9, 11, 15], "d2l": 9, "d3": 11, "d_sin_sum": 10, "d_tan": 10, "da2": 9, "dai": 8, "daili": [5, 9], "daniel": 12, "dare": 9, "dash": 8, "dashboard": 8, "dat": 13, "data": [0, 1, 5, 7, 10, 12, 13, 14, 15, 17], "data_dir": 6, "data_sourc": 6, "data_without_stopword": 9, "databas": 14, "datacamp": 14, "datafram": 9, "dataset": [1, 4, 8, 13, 14], "datasheet": 6, "datatyp": 8, "date": [2, 8], "datetim": 5, "datetime64": 5, "david": 7, "db2": 9, "dbcm": 9, "dbf": 9, "dbi": 9, "dbo": 9, "dc_prev": 9, "dcmt": 9, "ddof": 5, "de": [9, 14], "deal": [8, 9], "debug": 7, "decad": [1, 2, 17], "decai": [7, 9], "decay_r": 7, "decid": [8, 9], "decis": [5, 9, 10], "decod": 7, "decomposit": 13, "decompress": 6, "decor": 12, "decreas": 6, "dedic": 9, "deem": 7, "deep": [0, 1, 2, 14, 17], "deeper": [6, 9], "deepmind": 7, "def": [5, 6, 7, 9, 10], "default": [2, 4, 6, 7, 9, 13], "default_rng": [5, 6, 7, 9], "defin": [1, 2, 4, 6, 9, 10, 11, 13], "definit": [2, 8, 10], "deg": [2, 8, 10], "degre": [2, 5, 10], "del": 4, "delet": [4, 8], "delhi": [0, 17], "delimet": 2, "delimit": [2, 4, 5, 8, 12], "demand": 9, "demi": 7, "demo": 7, "demograph": 9, "demonstr": [6, 7, 9, 11, 12], "denois": 9, "denom": 5, "denot": [5, 10, 11], "densiti": 10, "depend": [2, 6, 7, 9, 13, 15], "deriv": [6, 9, 10], "descent": [6, 7, 9], "describ": [2, 7, 8, 12], "descript": 5, "design": [2, 3, 6, 7, 9, 10], "desir": 2, "despit": [10, 11], "destin": 12, "detail": [7, 9, 10, 12, 13, 14, 15], "determin": [0, 6, 7, 8, 9, 17], "dev": 7, "develop": [6, 7, 9, 12, 17], "deviat": [5, 7, 14], "df": [9, 10], "dfrac": [2, 5, 10], "dft": 9, "dh": 7, "dh_cm": 9, "dh_f": 9, "dh_i": 9, "dh_last": 9, "dh_o": 9, "dh_prev": 9, "dhcm": 9, "dhi": 9, "dho": 9, "diagnos": 9, "diagon": 13, "dice": 7, "dicom": 14, "dict": 9, "dictat": 7, "dictionari": [2, 4, 6, 7, 9, 13], "did": [2, 4, 9, 10, 13], "diff": 5, "differ": [2, 3, 5, 6, 7, 8, 9, 10, 13, 14], "differenti": [6, 7, 9], "difficult": 9, "digest": 7, "digit": [2, 6], "dilut": 6, "dimens": [2, 6, 7, 9, 10, 11, 13, 14], "dimension": [2, 4, 6, 7, 9, 11, 14, 16, 17], "dioxid": 5, "dir": 14, "direct": [3, 7, 9, 11, 12], "directli": 8, "directori": [4, 7, 9, 15], "discount": 1, "discount_reward": 7, "discounted_epr": 7, "discounted_r": 7, "discoveri": 10, "discret": 7, "discrimin": 9, "discriminatori": 9, "discuss": [6, 7, 9], "diseas": 8, "disk": [3, 7], "displai": [6, 7, 13, 14], "display_nam": 3, "distanc": [10, 11, 14], "distil": 7, "distinct": [10, 12], "distinguish": [12, 13], "distribut": [5, 6, 7, 14], "dit": 9, "dive": 9, "diverg": 10, "diverge_len": 10, "divergence_r": 10, "divid": [5, 6, 10, 13], "divis": [9, 12], "divmod": 9, "di\u00e1taxi": 12, "dl": 9, "dlogp": 7, "do": [1, 7, 13, 14, 15], "docker": 7, "document": [6, 7, 8, 12, 13, 15, 17], "doe": [3, 5, 6, 8, 9, 10, 11, 13], "doesn": [7, 8, 9, 12], "dof": 5, "doi": [8, 9], "domain": 2, "don": [2, 5, 6, 7, 8, 9, 10, 12, 13, 15], "done": [7, 9, 10, 11, 12, 13], "dong": 8, "doom": 10, "dot": [6, 7, 9, 13], "dota": 7, "doubl": [2, 6, 12], "down": [7, 8, 9, 12], "download": [6, 8, 9, 13, 14, 17], "downsampl": 7, "dp": 10, "dqn": 7, "dr": 7, "draft": 15, "drawback": 3, "drawn": [5, 6, 9], "dream": 9, "drill": 9, "drop": 9, "dropout": 6, "dropout_mask": 6, "dtype": [4, 5, 6, 8, 10, 13, 14], "du": 8, "due": [5, 7, 9, 11, 13], "durat": 14, "dure": [5, 6, 7, 9, 12], "dw1": 7, "dw2": [7, 9], "dwcm": 9, "dwf": 9, "dwi": 9, "dwo": 9, "dz": 10, "dz2": 9, "e": [2, 4, 5, 10, 11], "each": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 17], "earli": [6, 9], "earlier": [7, 9], "earth": 9, "eas": 9, "easi": [9, 12], "easier": [2, 3, 4, 10], "easili": 11, "echo": 7, "econom": 13, "ed": 7, "edit": 15, "editor": [3, 4], "edu": 9, "educ": [7, 9, 17], "effect": 5, "effici": 10, "effort": 15, "effortlessli": 10, "either": [3, 8, 9, 17], "elabor": 8, "electron": 7, "eleg": 10, "element": [2, 5, 8, 10, 13], "elementari": 10, "elif": 5, "elimin": [6, 8, 13], "ellen": 9, "ellipsi": 13, "els": [5, 7, 11], "emac": 3, "eman": 11, "emb": 6, "emb_matrix": 9, "emb_path": 9, "embed": 9, "emerg": 10, "emot": 9, "emphas": 14, "empir": 2, "empti": [7, 11], "enabl": [2, 7], "encod": [7, 8], "encourag": [9, 10, 13], "end": [6, 7, 9, 11, 12, 14], "endless": 10, "endpoint": 12, "engag": [12, 15], "engin": [0, 2, 7, 11], "english": [12, 15], "enhanc": [6, 7, 9], "enough": [5, 10, 12], "ensheng": 8, "ensur": [5, 6, 8, 9], "enthusiasm": 12, "entir": [2, 10], "entri": [8, 11, 13, 15], "entropi": [6, 7], "enumer": [9, 10], "env": 7, "environ": [5, 6, 7, 9, 14, 15], "epdlogp": 7, "eph": 7, "episod": [1, 9], "episode_numb": 7, "epoch": [6, 9], "epoch_rang": 6, "epr": 7, "epsilon": 9, "epx": 7, "equal": 5, "equat": [2, 10, 11], "equilibrium": [0, 17], "equival": 10, "eras": 7, "error": [2, 6, 7, 9, 10, 13], "especi": [9, 14], "essenti": 9, "establish": [6, 9], "estim": [7, 8, 14], "et": [6, 7], "etc": [5, 10], "ethic": [1, 6], "ethnic": 9, "evalu": [5, 6, 9], "even": [2, 5, 7, 9, 10, 12, 13, 15], "ever": 10, "everi": [2, 5, 7, 9, 13], "everydai": 9, "everyth": 7, "evid": 5, "evolut": 8, "exact": 6, "examin": [6, 8], "exampl": [3, 6, 7, 8, 9, 10, 13, 14], "exceed": 14, "except": [12, 13], "excis": 13, "excit": 10, "exclud": 8, "execut": [1, 3, 6, 9, 13], "execution_count": 3, "exercis": 12, "exhibit": 9, "exist": [6, 11, 13, 15, 17], "exist_ok": 6, "exot": 10, "exp": [2, 7, 9], "expect": [1, 2, 6, 9, 10, 13], "experi": [6, 7, 9, 10, 11, 13], "experienc": 11, "expert": 12, "explain": [3, 7, 10, 12], "explan": 13, "explicit": 7, "explod": [9, 10], "exploit": 7, "explor": [7, 10], "expon": 10, "exponenti": [7, 9], "export": 2, "express": [9, 10, 12], "extend": 8, "extens": [3, 9], "extent": 10, "extern": 6, "extra": [2, 9], "extract": [8, 9, 13, 14], "extrem": [2, 9, 10], "ey": 10, "f": [2, 6, 9, 10, 11, 13, 14], "f_": 11, "f_tan": 10, "f_x": 11, "f_y": 11, "f_z": 11, "face": [5, 13], "fact": 13, "factor": [2, 6, 7, 9], "fail": 5, "fair": 9, "fairli": 13, "fall": 12, "fals": [5, 6, 7, 8, 9, 14], "famili": [7, 9], "familiar": [6, 7, 8, 9, 10, 12], "famou": 10, "far": [8, 14], "fascin": 10, "fast": [7, 8], "faster": [6, 9, 10], "fc_cach": 9, "fc_valu": 9, "featur": [4, 6, 9, 10, 13, 14, 17], "feb": 8, "februari": 8, "fed": 7, "feed": [5, 6, 7], "feedback": 7, "feedforward": [6, 7], "feel": 12, "femal": 9, "femin": 9, "fern": 10, "fetch": [5, 9], "few": [5, 6, 7, 8, 9], "ffmpeg": 7, "fh": [6, 9], "fiddl": 10, "field": [6, 7], "fig": [6, 9, 10, 11, 14], "figsiz": [6, 10, 14], "figur": [2, 9, 10, 11, 12], "file": [6, 7, 8, 9, 12, 13, 14, 15, 17], "file_extens": 3, "filenam": 8, "filepath": 8, "filetyp": 4, "fill": [10, 12], "fill_diagon": 13, "fill_valu": 8, "filter": [6, 8], "final": [2, 6, 7, 8, 9, 10, 14], "final_layer_output": 6, "financi": 9, "find": [2, 5, 6, 7, 8, 14], "fine": [6, 7, 8, 9, 12], "fingerprint": 9, "finish": [4, 6, 7, 9], "finit": 7, "fire": 7, "first": [2, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15], "firstli": 9, "fit": [2, 6, 9], "five": [2, 6, 7, 11], "fivethirtyeight": 2, "fix": [7, 15], "flag": 8, "flatten": 7, "float": [2, 4, 5, 7, 9, 13, 14], "float16": 14, "float32": 14, "float64": [4, 6, 13, 14], "floor": 11, "flow": 9, "fmin": 9, "fmt": 4, "fname": 6, "focu": [9, 10, 14], "focus": [8, 9, 14], "folder": [8, 9, 14], "follow": [2, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "footnot": 12, "footprint": 7, "forc": [4, 7, 9, 11], "forcea": 11, "forceb": 11, "forcec": 11, "forcecord": 11, "forg": 3, "forget": [6, 9], "forgotten": 9, "fork": 15, "form": [2, 5, 6, 7, 9, 10, 13, 15], "format": [2, 3, 4, 5, 7, 9, 12, 14, 15], "format_nam": 3, "format_vers": 3, "former": 9, "formula": [2, 5, 9, 13, 14], "forth": 13, "fortun": 13, "forward": [1, 6], "forward_prop": 9, "found": [8, 10, 13, 17], "four": [2, 8, 9], "fourier": 14, "fourier_gaussian": 14, "fourth": [2, 8], "fp_fc_layer": 9, "fp_forget_g": 9, "fp_input_g": 9, "fp_output_g": 9, "fpath": 6, "frac": [2, 5, 9, 10, 11], "fractal": [0, 2, 17], "frame": [1, 14], "frame_preprocess": 7, "framework": [6, 7, 9, 12], "free": [7, 12], "freedom": 5, "freeglut3": 7, "frequenc": 14, "from": [1, 2, 4, 5, 8, 10, 11, 12, 13, 14, 17], "frombuff": 6, "ft": 9, "full": [7, 13], "fulli": [1, 9, 17], "fun": 10, "function": [1, 4, 5, 6, 8, 9, 10, 11, 13, 16], "further": [6, 7, 9], "furthermor": 13, "futur": 4, "g": [2, 4, 7, 10, 11, 13], "gain": [7, 10], "game": 7, "gameplai": 7, "gamma": 7, "gammon": 7, "gardner": 8, "gate": 9, "gather": 8, "gaussian_gradient_magnitud": 14, "gaussian_laplac": 14, "gbowe": 9, "gebru": 6, "gender": 9, "gener": [4, 5, 6, 7, 8, 9, 11, 12, 13], "general_julia": 10, "genfromtext": 4, "genfromtxt": 8, "gentl": 5, "geoffrei": [6, 7], "geograph": 8, "gerald": 7, "get": [2, 5, 6, 7, 8, 9, 10, 12, 13], "get_action_mean": 7, "getcwd": 8, "gif": [9, 14], "gif_path": 14, "gigabyt": 14, "gist": 9, "gist_stern": 10, "github": [6, 7, 9, 15], "githubusercont": 13, "give": [2, 7, 10, 11, 12, 13, 14, 15], "given": [2, 5, 7, 9, 10, 11, 13], "glanc": 10, "glimps": 5, "glob": 7, "global": 9, "globe": 9, "glossari": 1, "glove": 9, "glovemodel": 9, "go": [7, 8, 9, 10, 12, 13, 15], "goal": [3, 6, 7, 10, 11, 17], "goe": [7, 13], "golub": 13, "good": [2, 6, 8, 9, 12], "googl": [6, 7], "gordon": 2, "got": [10, 13], "govern": 9, "gpu": [6, 7, 9], "grab": 2, "grad": [7, 9], "grad_buff": 7, "grade": 12, "gradient": [6, 7, 9], "grai": [6, 7, 13, 14], "graph": [8, 11, 13], "graphic": [10, 12], "grayscal": [6, 7, 13, 14], "great": [2, 6, 7, 9], "greater": [5, 9, 14], "greatli": 10, "green": [2, 7, 13], "green_arrai": 13, "greenfield": 9, "greenish": 10, "greens_r": 10, "greta": 9, "grokk": 6, "ground": 11, "group": [8, 9], "grow": [9, 10], "gt": 12, "guardian": 9, "guid": [2, 3, 7, 8], "gym": 7, "gz": 6, "gzip": 6, "h": [5, 7, 10, 13], "h_": [5, 9], "ha": [2, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15], "had": [7, 9, 13], "half": 2, "hand": [6, 10, 12], "handl": [3, 6, 8, 9], "handwritten": 6, "happen": [7, 9, 10, 13], "happi": 9, "hard": [3, 10], "hardmask": 8, "hardwar": [7, 13], "harvei": 9, "hash": 9, "hasn": 6, "hassabi": 7, "hausdorff": 10, "have": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15], "haven": 15, "he": 9, "head": [2, 4, 5], "header": [2, 4, 8], "health": 14, "healthcar": [9, 14], "height": 7, "helicopt": 7, "help": [5, 6, 7, 9, 10, 11, 12, 13, 14, 15], "helper": [7, 9], "henc": [7, 9], "her": 9, "here": [2, 3, 4, 6, 8, 9, 10, 12, 13, 15], "herself": 9, "hi": [2, 7, 9], "hidden": [6, 7, 9], "hidden_dim": 9, "hidden_s": 6, "high": [6, 7, 9, 14, 17], "higher": [2, 4, 6, 7, 9, 10, 12], "highest": 6, "highlight": 0, "him": 9, "himself": 9, "hinton": [6, 7], "histogram": 14, "histor": 9, "histori": 2, "hit": 7, "ho": 4, "hold": [2, 11], "home": 13, "hong": 8, "hongru": 8, "hood": 13, "hope": 9, "hopefulli": 9, "hopkin": 13, "horizon": 7, "horizont": 14, "host": [5, 14, 15], "hot": [10, 14], "hour": [5, 7], "hourli": 5, "hous": 9, "how": [1, 2, 3, 5, 6, 8, 10, 11, 13, 14, 15], "howev": [6, 7, 8, 9, 11, 13], "hsjeong5": 6, "html": [7, 9], "http": [2, 6, 7, 8, 9, 13], "hubei": 8, "huffpost": 9, "human": [5, 7, 9], "humor": 9, "hundr": [2, 7], "hyperparamet": [6, 9], "hypot": 14, "hypothesi": 10, "i": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "ibm": 7, "icon": 17, "idea": [2, 8, 10, 13, 15], "ideal": 12, "identifi": [6, 8, 9, 14], "idl": 13, "idx1": 6, "idx3": 6, "ieee": 2, "ignor": [4, 9], "ih": 5, "ihi": 5, "il": 5, "ill": 9, "ilo": 5, "im": 10, "im6100": 2, "imag": [0, 2, 7, 9, 10, 12, 13, 15, 17], "image_label": 6, "imageio": 13, "imagin": 12, "imaginari": 10, "imbalanc": 9, "imdb": 1, "imdb_test": 9, "imdb_train": 9, "img": [13, 14], "img_arrai": 13, "img_array_transpos": 13, "img_as_float": 13, "img_grai": 13, "imit": 7, "immedi": 5, "impact": [0, 6, 17], "impair": 9, "implement": [7, 8, 9, 14], "impli": 9, "implic": 7, "import": [2, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14], "importerror": 13, "impos": 5, "impress": 10, "improv": [5, 7, 9], "imread": [13, 14], "imshow": [6, 7, 10, 13, 14], "in_fil": 9, "inc": 5, "includ": [2, 3, 4, 7, 8, 9, 12, 13, 15], "incom": 9, "incomplet": 12, "increas": [2, 6, 7, 9, 10], "incred": 2, "increment": 6, "independ": 2, "index": [2, 6, 7, 8, 9, 10, 13], "india": [0, 17], "indic": [6, 7, 8, 9, 13], "indistinguish": 13, "individu": [2, 6, 9, 10, 11, 13, 17], "induct": 9, "industri": [2, 14], "ineffici": 7, "infecti": 8, "infinit": 10, "influenc": [7, 9, 10], "info": [4, 7, 8], "inform": [2, 6, 7, 8, 9, 10, 12, 13, 15], "ingest": 6, "ingredi": 12, "inher": [2, 9], "initi": [2, 6, 7, 8, 9], "initialis": 9, "initialise_mav": 9, "initialise_param": 9, "initialize_grad": 9, "inlin": 13, "input": [3, 5, 6, 7, 9, 10, 12, 13], "input_channel": 14, "input_dim": 9, "inquir": 13, "insid": [7, 8, 9, 10, 12], "insight": [2, 10], "inspect": [2, 6], "inspir": 12, "instal": [3, 5, 7, 13], "instanc": [6, 7, 9], "instanti": [7, 9], "instead": [7, 8, 9, 11, 13, 14, 15], "instinct": 13, "institut": [9, 14], "instruct": [7, 10], "instrument": 2, "int": [4, 6, 9], "int64": [8, 10], "int_": 8, "intact": 13, "integ": [4, 6, 7, 8, 10, 13, 14], "intel": 2, "intellig": 9, "intend": 12, "intens": [6, 13, 14], "interact": [7, 8, 9, 11, 15], "interchang": 13, "interest": [2, 7, 8, 10, 13, 14, 15, 17], "interfac": [3, 7], "interfer": 8, "intermedi": [7, 9], "interpol": 8, "interpret": [5, 14], "intersil": 2, "interv": 6, "introduc": [2, 6, 7, 9], "introduct": [1, 2, 5, 8], "introductori": 7, "intuit": [5, 10], "invalid": 8, "invit": 12, "involv": [10, 11], "io": [4, 7, 8, 9], "ip": 5, "ipynb": [15, 17], "ipython": [3, 4, 7, 12, 13], "ipython3": 3, "ipythondisplai": 7, "ironi": 9, "isfil": 9, "isfinit": 5, "isol": [6, 7, 9, 11, 14], "issn": 8, "issu": [6, 7, 8, 9, 17], "item": [6, 7, 9], "iter": [6, 9, 10, 12], "iter_cont": 6, "its": [2, 6, 7, 8, 9, 10, 13, 14, 15], "itself": [9, 10], "j": [6, 10, 13], "jan": 8, "jane": 7, "januari": 8, "jax": [6, 7, 9], "jet": 10, "ji": 7, "john": [7, 13], "johnston": 11, "join": [5, 6, 8, 9, 14], "json": 3, "jump": 10, "june": 5, "jupyt": [1, 4, 6, 9, 14, 17], "jupyterlab": [6, 7, 9, 14], "jupytext": 15, "jupytext_vers": 3, "just": [6, 8, 9, 10, 11, 12, 13, 14], "k": [7, 9, 13], "kage": 4, "kaggl": [8, 14], "kalluri": [6, 9], "karpathi": 7, "keep": [2, 3, 8, 9, 10, 11, 12, 13], "keepdim": 9, "kei": [3, 4, 5, 6, 9], "kernel": 14, "kernelspec": 3, "kind": [7, 8, 9, 12, 13, 15], "kinet": 11, "king": 9, "knew": 12, "know": [8, 9, 12, 13], "knowledg": [6, 7, 10, 14], "known": [7, 10, 14], "kong": 8, "kouridi": 9, "kurth": 7, "kwarg": 10, "l": [2, 9, 11], "lab": 3, "label": [2, 4, 7, 9, 10, 11, 17], "lack": [5, 9], "lambda": [2, 9, 10], "lancet": 8, "languag": [3, 7, 9, 15], "language_info": 3, "larg": [7, 9, 10], "larger": [2, 6, 10, 11], "largest": 13, "last": [1, 2, 6, 7, 10, 12, 13, 17], "last_h": 9, "late": 8, "later": [5, 6, 8, 9], "latter": 9, "launch": [3, 15, 17], "lauren": 8, "law": [0, 17], "layer": [6, 7, 9], "layer_0": 6, "layer_1": 6, "layer_1_delta": 6, "layer_2": 6, "layer_2_delta": 6, "lead": [7, 10], "learn": [0, 1, 14, 15, 17], "learner": 12, "learning_r": [6, 7, 9], "least": [2, 9, 14], "leav": 2, "lectur": [7, 13, 14], "lecun": [6, 7], "led": 9, "left": [2, 5, 6, 7, 9, 11], "leftfir": 7, "legend": [2, 6, 8, 9, 11], "len": [5, 6, 7, 8, 9], "length": [5, 9, 11], "lengthi": 9, "less": [5, 10, 11, 13, 14], "let": [4, 5, 6, 7, 8, 9, 10, 11, 13, 14], "level": [5, 6, 7, 9, 10, 12, 13], "leymah": 9, "lgbtqa": 9, "librari": [3, 4, 5, 6, 7, 11, 13], "licens": [7, 12, 15], "lie": 2, "life": [5, 9, 15], "lightgrai": 10, "lightweight": 3, "like": [2, 3, 5, 6, 7, 8, 9, 10, 12, 13, 15], "likeli": 12, "likelihood": 9, "likewis": 10, "limit": [2, 6, 7, 9], "lin": 7, "linalg": [11, 13], "linda": 9, "line": [2, 4, 7, 8, 9, 13], "line2d": 8, "linear": [2, 5, 6, 7, 9, 11, 16, 17], "link": [7, 10, 12], "linspac": [2, 10], "linux": 7, "list": [6, 7, 9, 10, 12], "literatur": 7, "littl": [2, 10], "live": [5, 9, 10, 17], "ll": [6, 7, 9, 13, 14, 15], "load": [1, 14], "load_xi": 4, "loadglovemodel": 9, "loadtxt": [2, 4, 5], "loan": 13, "loc": [2, 9], "local": [3, 6, 7, 9, 14, 17], "locat": [2, 8, 9, 10, 11], "lockdown": [0, 17], "log": [2, 7, 9], "log_": 2, "logic": 8, "logit": 7, "long": [1, 6, 7, 10, 12], "longer": [6, 7, 9], "look": [1, 2, 3, 5, 6, 8, 10, 11, 13], "loop": [5, 6, 7, 9, 10, 13], "lose": 10, "loss": [6, 7, 9], "loss_f": 9, "lot": [7, 10], "low": [6, 14], "lower": [5, 6, 9], "lowercas": 9, "lowermost": 8, "lowest": 6, "lstm": 1, "lstm_cach": 9, "lstm_valu": 9, "lt": 12, "luther": 9, "m": [9, 11, 13], "m8": 5, "m_": 11, "ma": [2, 8], "maa": 9, "macau": 8, "machin": [6, 7, 9, 12, 14], "maco": 7, "made": [2, 3, 9, 10, 14], "magic": 4, "magnitud": [6, 7, 11], "mai": [4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 17], "main": [6, 7, 12, 13, 15, 17], "mainland": 8, "maintain": [2, 15], "major": 7, "make": [1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 17], "make_axes_locat": 10, "make_axis_locat": 10, "makedir": 6, "maker": 14, "malala": 9, "male": 9, "man": 2, "manag": [2, 9], "mani": [6, 7, 8, 9, 10, 12, 13, 14], "manipul": [6, 7, 9, 11, 13, 14], "manner": 6, "manual": 7, "map": [6, 7, 9, 10, 14], "mapsto": [2, 10], "mar": 2, "march": 5, "margaret": 6, "mark": [3, 9], "markdown": [3, 12, 15], "markers": 2, "markup": 3, "marshal": 9, "martin": 9, "mask": [16, 17], "masked_arrai": 8, "masked_valu": 8, "maskedarrai": 8, "mass": 11, "master": 7, "match": [2, 10, 14], "materi": [7, 14, 15, 17], "math": [2, 7, 9], "mathbf": 2, "mathemat": [5, 9, 10], "matlab": 13, "matmul": 13, "matplotlib": [2, 6, 7, 8, 9, 10, 11, 13, 14], "matric": [6, 11, 13, 14], "matrix": [2, 6, 7, 9, 11, 13], "matter": 5, "matthew": 7, "max": [2, 5, 13, 14], "max_episod": 7, "max_row": 8, "max_valu": 14, "maxim": [6, 7], "maximum": [2, 5, 6, 7, 13, 14], "mayb": 8, "mazurek": 11, "md": [2, 13, 15, 17], "me": 9, "mean": [2, 3, 7, 8, 9, 10, 11, 13, 14], "mean_test_cost": 9, "mean_train_cost": 9, "meaning": 6, "meant": 11, "measur": [2, 5, 6, 7, 9, 11, 12, 14], "mechan": [7, 9, 11], "media": 9, "median": 14, "medic": [9, 14], "meet": [10, 17], "mellon": 14, "memori": [1, 6, 7, 8, 13, 14], "mention": [8, 10], "mesh": 10, "meshgrid": 10, "messag": 13, "metadata": 3, "meter": 11, "method": [2, 5, 6, 7, 8, 9, 11, 13], "metric": 6, "mew": 2, "microprocessor": 2, "middl": 6, "might": [5, 8, 13, 15], "milk": 9, "million": 7, "mimetyp": 3, "mimwrit": 14, "min": [2, 9, 13, 14], "min_valu": 14, "mind": [8, 9, 13], "mini": 6, "minim": [2, 6, 7], "minimum": [13, 14], "minut": [6, 9], "mirror": 6, "misc": 13, "mischaracter": 8, "miss": [4, 5, 7], "mission": 9, "mistak": 10, "mitchel": 6, "mitig": [6, 9], "mixtur": [6, 9], "ml_1971": 2, "ml_1973": 2, "mlp": 9, "mm\u00b2": 2, "mnih": 7, "mnist": [0, 2, 9, 17], "mnist_dataset": 6, "mnist_fil": 6, "mnist_imag": 6, "mo": 2, "mode": [6, 7], "model": [1, 2, 7, 8, 11], "modifi": [6, 8, 9], "modul": [4, 5, 6, 7, 8, 9, 12, 13, 14], "modulu": 10, "momentcord": 11, "monitor": 7, "monoxid": 5, "mont": 7, "month": 7, "moor": [0, 17], "moore_model2017": 2, "moores_law": 2, "mooreslaw": 2, "mooreslaw_regress": 2, "more": [2, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15], "moreov": 9, "mosprocess": 2, "most": [4, 5, 6, 7, 8, 9, 12, 13], "mostli": 8, "motion": 7, "motorola": 2, "move": [7, 9, 11], "movement": 11, "movi": 9, "moving_mean": 5, "mp4": 7, "mp4list": 7, "mp4video": 7, "mpl_toolkit": 10, "mu_": 5, "much": [2, 3, 4, 5, 6, 7, 9, 10, 13, 15], "multi": [6, 9, 14], "multidimension": [6, 7], "multilay": 9, "multipl": [4, 5, 6, 7, 9, 10, 13], "multipli": [6, 7, 11, 13], "mundan": 10, "museum": 9, "must": [3, 11, 13], "mxn": 13, "mxnet": [6, 7], "my": 9, "myself": 9, "myst": 15, "mystifi": 10, "n": [2, 3, 5, 6, 7, 8, 9, 10, 14, 16, 17], "name": [2, 3, 4, 6, 8, 9], "nan": [5, 8], "nation": [9, 14], "nativ": [4, 12], "natur": [2, 9, 10], "nb": 15, "nbc": 9, "nbcase": 8, "nbcases_ma": 8, "nbconvert_export": 3, "nbformat": 3, "nbformat_minor": 3, "ncol": [6, 14], "ncubic": 8, "ndarrai": [6, 8, 13, 14], "ndim": 13, "ndimag": 14, "nearest": 9, "nearli": [2, 10], "neat": 10, "neatli": 9, "nec": 2, "necess": 9, "necessari": [4, 5, 7, 9, 10], "need": [6, 7, 9, 13, 14], "needless": 10, "neg": [6, 7, 8, 9, 13], "neg_indic": 9, "neg_para": 9, "negat": 8, "neighbor": 9, "nelson": 7, "nep": 17, "network": 1, "neural": 1, "neuron": 7, "neurosci": 7, "never": [9, 12], "new": [2, 4, 6, 7, 8, 9, 12, 14, 15], "newaxi": [2, 4], "newli": 10, "newspap": 9, "newton_fract": 10, "next": [1, 2, 4, 5, 8, 10, 11, 12], "next_c": 9, "next_h": 9, "nh3": 5, "nice": 4, "nih": 14, "nipy_spectr": 14, "nitric": 5, "nitrogen": 5, "nlp": [2, 9], "nm": 2, "no2": 5, "no_neg_para": 9, "no_para": 9, "no_pos_para": 9, "node": [7, 9], "nois": [9, 14], "noisi": 14, "nomask": 8, "non": [5, 6, 7, 9, 13], "none": [6, 7, 9], "nonetheless": 9, "nonzero": 8, "noop": 7, "nor": 9, "norm": [11, 13], "normal": [5, 6, 7, 9, 10, 11, 13, 14], "notabl": [1, 7, 10, 17], "notat": [4, 6, 10], "note": [1, 2, 3, 5, 6, 8, 10, 11, 12, 13, 14, 17], "notebook": [1, 6, 9, 14, 16, 17], "notic": [4, 7, 13, 15], "now": [2, 3, 4, 5, 8, 9, 10, 11, 12, 13, 14], "nowadai": 9, "nox": 5, "np": [2, 4, 5, 6, 7, 8, 9, 10, 11, 13], "nper": 2, "npy": [4, 9], "npz": [2, 4], "nrow": [6, 14], "null": [5, 7], "nullifi": 11, "num": 5, "num_exampl": 6, "num_img": 14, "num_it": 10, "num_label": 6, "number": [1, 2, 4, 6, 8, 9, 10, 11, 13, 14], "number_of_header_lin": 4, "numer": [6, 7, 8, 9], "numpi": [3, 5, 7, 8, 9, 10, 13, 14, 15], "nvidia": 6, "nyear": 2, "o": [6, 8, 9, 12, 14], "o3": 5, "object": [7, 11, 14], "obscur": 12, "observ": [1, 2, 5, 8, 9, 11], "observation_fram": 7, "observation_spac": 7, "obtain": [1, 5, 7, 13, 14], "obvious": 8, "occup": 9, "occur": [6, 9], "occurr": 9, "oct": 2, "off": [7, 14], "offer": [5, 7, 12], "offici": [7, 8, 9], "offset": 6, "often": [7, 9, 10], "oftentim": 10, "old": 9, "omit": 6, "onc": [2, 3, 9, 10, 13], "one": [2, 4, 5, 7, 9, 10, 11, 12, 13, 14], "one_hot_encod": 6, "one_hot_label": 6, "ones": [2, 5, 7, 8, 9, 10, 11, 14], "onli": [3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "onto": [2, 14], "opaqu": 2, "open": [3, 4, 6, 7, 9, 12, 15, 17], "openai": 7, "openi": 14, "oper": [2, 6, 8, 9, 10, 11], "oppon": 7, "opportun": 5, "optim": [6, 7, 9, 11], "option": [2, 7, 9, 12, 15], "orang": [2, 8], "order": [8, 10, 11, 12, 13], "ordinari": 2, "ordinarili": 12, "org": 8, "organ": [2, 8, 13], "origin": [2, 5, 6, 7, 8, 9, 10, 11, 13, 14], "oriol": 7, "os_cach": 9, "ot": 9, "other": [2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "otherwis": [6, 7, 10, 11, 13, 14, 15], "ought": 9, "our": [1, 2, 5, 8, 10, 11, 13], "ourselv": [5, 8, 9, 10], "out": [2, 5, 6, 7, 9, 10, 12, 13, 14], "outbreak": 8, "outcom": 9, "outdir": 9, "outer": [6, 7], "outli": 11, "outlin": [7, 15], "output": [1, 2, 3, 4, 6, 7, 8, 10, 13, 15], "output_channel": 14, "output_fil": 9, "output_scrol": 7, "output_typ": 3, "outsid": 13, "oven": 12, "over": [2, 5, 6, 7, 8, 9, 10, 14], "overal": 7, "overcorrect": [6, 7], "overexplain": 12, "overfit": [6, 9], "overview": 1, "own": [8, 9, 13, 14, 17], "oxid": 5, "ozon": 5, "p": [7, 10], "p_valu": 5, "packag": [2, 7, 8, 9, 12, 14], "pad": 10, "page": [8, 9, 10, 12, 13], "pain": 9, "pair": [2, 10, 15], "panda": [5, 9], "pandem": 5, "paper": [6, 7, 14], "para": 9, "para_len": 9, "para_token": 9, "paragraph": 9, "parallel": 9, "param": 9, "paramet": [1, 2, 5, 6, 7, 8, 10, 14], "part": [2, 5, 7, 8, 9, 14, 17], "partial": 7, "particul": 5, "particular": [5, 8, 9, 10, 13, 14], "particularli": 14, "pass": [1, 5, 6, 9, 10], "past": [7, 9], "path": [6, 8, 9, 14], "patient": 14, "pattern": 10, "payment": 9, "payoff": 12, "pd": 9, "pdf": 9, "pdp": 2, "peform": 13, "peopl": [4, 9, 13, 15], "per": 2, "percentag": 9, "perceptron": [6, 9], "perform": [2, 5, 6, 7, 9, 10, 11, 13], "perhap": 12, "period": [5, 8], "permiss": 6, "permut": 13, "perpendicularli": 11, "person": 9, "perspect": 1, "pertain": [9, 16], "pi": [10, 14], "pick": 12, "pickl": [4, 6], "piec": 9, "pieter": 7, "pin": 2, "pioneer": [6, 7], "pip": [3, 7], "pipelin": 9, "pixel": [1, 2, 6, 13, 14, 17], "pixel_intensity_distribut": 14, "pixels_per_imag": 6, "place": [4, 6, 9, 10, 12], "placehold": 13, "plagu": 9, "plai": [7, 9, 10], "plain": 9, "plan": 15, "plane": 10, "plasma": 10, "plasma_r": 10, "platform": 9, "plausibl": 6, "playback": 1, "player": 7, "pleas": 15, "plot": [0, 2, 6, 7, 8, 9, 11, 13, 14, 17], "plot_fract": 10, "plt": [2, 6, 7, 8, 9, 10, 11, 13, 14], "plug": [2, 10], "pm": [2, 5], "pm10": 5, "pm2": 5, "pneumonia": 14, "png": 14, "podcast": [6, 9], "point": [2, 4, 7, 8, 9, 11, 12, 13, 14], "pointer": 9, "pol": 5, "pole": 11, "polebas": 11, "poledirect": 11, "polici": [1, 9], "policy_backward": 7, "policy_forward": 7, "polish": [12, 15], "pollutant_data": 5, "pollutants_a": 5, "pollutants_a_24hr_avg": 5, "pollutants_b": 5, "pollutants_b_8hr_avg": 5, "polynomi": [2, 8, 10], "pong": [1, 2, 17], "pooch": 9, "poorli": 9, "pop": 9, "popul": [5, 9], "popular": [7, 9], "portal": 14, "portion": [8, 13], "portrait": 12, "pos_indic": 9, "pos_para": 9, "pos_perc": 9, "pose": 10, "posit": [6, 7, 9, 10], "possess": 10, "possibl": [6, 7, 8, 13, 15], "possibli": 8, "post": [6, 7, 9, 17], "potenti": 6, "power": [2, 3, 6, 7, 9, 10, 15], "ppo": 7, "practic": [6, 7, 9, 13], "practition": 7, "prais": 9, "pratyusha": [6, 9], "precis": [2, 6], "pred": 9, "predefin": [7, 9], "predict": [2, 6, 9], "prefer": [2, 5, 7, 13], "prepar": [2, 6, 9, 14], "preprocess": 1, "preprocessed_random_fram": 7, "prerequisit": [1, 12], "present": [7, 9, 12, 14, 15], "preserv": [4, 8, 9], "press": 13, "pretti": 13, "prev": 9, "prev_c": 9, "prev_h": 9, "prev_x": 7, "prevent": [6, 7, 9], "previou": [6, 7, 9, 13], "previous": [6, 7, 10], "prewitt": 14, "primarili": 9, "prime": 10, "print": [2, 3, 4, 5, 6, 7, 9, 11, 12, 14], "prior": [11, 13], "priorit": 9, "prism": 14, "probabl": [7, 9], "problem": [7, 8, 9, 11], "problemat": 9, "proce": [7, 13], "procedur": [6, 10], "process": [0, 2, 4, 5, 6, 7, 8, 9, 11, 17], "processor": 2, "procida": 12, "produc": [2, 6, 11, 14, 15], "product": [7, 11, 12], "program": [4, 9, 10], "progress": 2, "project": [9, 10, 11, 17], "promin": 5, "promot": 6, "propag": [1, 6, 7], "properli": 15, "propos": 15, "protect": 9, "provid": [5, 6, 7, 8, 9, 12, 14, 17], "provinc": 8, "proxim": 7, "pseudocod": 7, "pseudonym": 9, "public": [6, 9, 14], "publish": [6, 7, 14], "pull": [3, 15], "punctuat": 9, "purpl": 10, "purpos": [5, 6, 7, 11], "put": [2, 9, 10, 12], "py": [2, 3, 4, 7], "pydicom": 14, "pygments_lex": 3, "pyopengl": 7, "pyplot": [2, 6, 7, 8, 9, 10, 11, 13, 14], "pythagorean": 14, "python": [2, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14], "python3": 3, "pytorch": [6, 7, 9], "pyvirtualdisplai": 7, "pz": 10, "q": 7, "qualiti": [0, 2, 6, 7, 17], "quantifi": 10, "quest": 14, "question": [9, 10, 12], "quick": [5, 7, 10], "quicker": 10, "quickli": 15, "quickstart": 14, "quit": [6, 7, 10], "quiver": 11, "r": [7, 8, 9, 10, 11, 13], "r_": 11, "r_x": 11, "r_y": 11, "r_z": 11, "rachel": [2, 6, 9], "racial": 9, "racism": 9, "racket": 7, "radb": 11, "radbd": 11, "radcf": 11, "radic": [6, 9], "radiologi": 14, "radiu": [10, 11], "rai": [0, 2, 17], "rainbow": 10, "rais": 10, "raise_for_statu": 6, "random": [5, 6, 7, 9], "random_fram": 7, "randomli": [6, 7, 9], "rang": [2, 5, 6, 7, 8, 9, 10, 13, 14], "rapid": 14, "rare": 5, "raspberri": 14, "rate": [2, 6, 7, 9], "rather": [7, 10, 12], "ratio": 10, "ravel": [7, 10], "raw": [3, 13, 14], "ray8": 14, "rb": [6, 9], "re": [4, 7, 8, 9, 12, 14, 17], "reach": [6, 7], "reaction": 11, "read": [2, 4, 6, 7, 9, 14], "read_csv": 9, "readabl": [3, 8], "reader": [6, 7, 9, 12, 14], "readi": [12, 13], "readm": 15, "real": [0, 5, 6, 7, 8, 9, 10, 13, 15, 17], "realiz": 10, "realli": 10, "reason": [7, 10, 13, 15], "reassembl": 13, "rebuild": [3, 13], "recal": [7, 13], "recap": 10, "receiv": 7, "recent": [9, 12], "recip": 12, "recogn": 6, "recognit": 7, "recommend": 9, "reconstruct": 13, "record": [8, 9], "recov": [2, 13], "rectangl": [9, 13], "rectifi": [6, 7], "recur": 12, "recurr": 9, "red": [2, 7, 13], "red_arrai": 13, "reduc": [6, 7, 10], "refer": [6, 7, 9, 12, 13, 14], "reflect": [6, 9, 12], "refrain": 9, "refresh": [6, 8, 9, 13, 14], "regard": [6, 7], "regardless": [9, 13], "regex": 9, "region": [8, 10, 14], "registri": 9, "regress": 2, "regression_cst": 2, "regressor": 2, "regul": 9, "regular": [6, 8, 9, 17], "reilli": 9, "reinforc": [1, 2, 9, 17], "reject": 5, "rel": [10, 14], "relat": [9, 10, 11, 13], "relationship": [5, 6, 7], "relev": [9, 11], "reli": 7, "relu": [6, 7], "relu2deriv": 6, "remain": [7, 10, 11], "remark": 9, "rememb": [9, 15], "remot": [7, 9], "remov": [7, 8, 9, 14], "remove_punc": 9, "remove_stopword": 9, "remove_tag": 9, "renam": 10, "render": [3, 7, 15], "reorder": 13, "repeat": [6, 7, 13], "replac": [5, 6, 8, 9, 12], "replai": 7, "replic": 2, "repo": 15, "report": [2, 6, 9], "repositori": [14, 15, 17], "repres": [2, 8, 9, 10, 11, 13], "represent": [6, 9], "reproduc": [1, 6, 7, 9, 17], "request": [3, 6, 15], "request_opt": 6, "requir": [5, 7, 10, 11, 12], "rescal": 14, "research": [6, 7, 9, 10, 14], "resembl": 6, "reset": [6, 7], "reset_index": 9, "reshap": [6, 7, 9], "resist": 11, "resolv": 7, "resort": 10, "resourc": [6, 9], "resp": 6, "respect": [2, 4, 6, 7, 9, 11], "respond": 15, "respons": [9, 11], "rest": 10, "restrict": 14, "restructur": [3, 17], "restructuredtext": 15, "result": [4, 5, 6, 9, 10, 11, 13], "ret": 5, "retain": [9, 13], "retriev": [9, 14], "return": [1, 5, 6, 8, 9, 10, 12, 14], "reus": 10, "revers": [6, 7, 9], "review": [1, 3, 7, 15], "revis": 2, "reward": 1, "reward_sum": 7, "rgb": 13, "rgb_arrai": 7, "richard": 7, "right": [3, 6, 7, 8, 9, 10, 11, 12, 13, 17], "rightarrow": 2, "rightfir": 7, "rightmost": 8, "ritter": 7, "rl": 1, "rm": 13, "rmsprop": 7, "rmsprop_cach": 7, "rng": [5, 6, 7, 9], "rnn": 9, "ro": 2, "robot": 7, "robust": 9, "rocket": 17, "ronald": 7, "rossbar": 6, "rotat": 11, "rough": [10, 15], "routin": 9, "row": [2, 4, 5, 8, 13], "rst": 15, "rule": [6, 7, 9, 13], "run": [6, 7, 8, 9, 12, 13, 14], "running_add": 7, "running_reward": 7, "runtim": 6, "s1473": 8, "sa": 12, "safe": 5, "safer": 7, "safeti": 9, "sai": [2, 10, 11, 13], "said": 8, "sam": 7, "same": [2, 3, 5, 6, 7, 8, 9, 10, 11, 13, 14], "sampl": [6, 7, 9, 14], "sarcasm": 9, "satisfi": 2, "save": [2, 3, 6, 7, 8, 9, 10, 14, 16, 17], "savetxt": 2, "savez": 2, "saw": [3, 10], "scalar": [13, 14], "scale": [2, 6, 10], "scan": 12, "scatter": [2, 10], "scatterplot": 10, "scenario": [4, 9], "school": 12, "schulman": 7, "scienc": [0, 14], "scientif": [4, 15], "scientist": 9, "scikit": [13, 14], "scipi": [5, 13, 14], "score": 6, "scratch": [2, 7, 9], "screen": [7, 14], "search": [7, 14], "seashel": 10, "sebleier": 9, "sec": 10, "second": [2, 7, 8, 13], "secret": 15, "section": [6, 7, 9, 10, 12, 17], "secur": 11, "see": [3, 4, 5, 6, 9, 10, 11, 13, 15, 17], "seed": [6, 7], "seem": [8, 9, 10], "seen": [6, 9, 11], "segment": 14, "select": [8, 10, 13, 15, 17], "selected_d": 8, "selected_valu": 10, "self": [7, 9, 17], "semiconduct": 2, "semiconductor": 2, "semilog": 2, "semilogi": 2, "send": 7, "sens": [8, 13], "sensit": [7, 9], "sent": 9, "sent_prob": 9, "sent_tokenis": 9, "sentenc": [9, 12], "sentences_clean": 9, "sentiment": [1, 17], "separ": [4, 7, 8, 13], "sequenc": [7, 9], "sequenti": 9, "seri": 5, "serv": [4, 14], "servic": 9, "session": [2, 3], "set": [1, 2, 3, 5, 6, 8, 9, 13, 14, 17], "set_titl": [6, 10, 14], "set_xlabel": [6, 9, 10], "set_xlim": 11, "set_ylabel": [9, 10], "set_ylim": 11, "set_zlabel": 10, "set_zlim": 11, "setup": [7, 13], "seventh": 8, "sever": [7, 9], "severn": 9, "shape": [2, 4, 5, 6, 7, 8, 9, 10, 14], "share": [9, 12, 16, 17], "sharp": 13, "she": 9, "sheet": 2, "shift": 9, "shogi": 7, "short": [1, 12], "shortcom": 9, "shorter": [3, 7], "shortli": 10, "shot": 7, "shoud": 4, "should": [2, 3, 4, 6, 7, 8, 9, 11, 12, 13, 14, 15], "show": [2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "show_any_video": 7, "shown": [5, 6, 9, 12], "shrink": 10, "shut": 7, "side": 3, "sig": 8, "sight": 12, "sigma": [5, 13, 14], "sigmoid": [7, 9], "sign": 7, "signal": [6, 7], "signifi": 11, "signific": [5, 7, 10], "silenc": 9, "silver": 7, "similar": [6, 7, 9, 10, 11, 14], "similarli": [9, 11, 13], "simpl": [3, 5, 6, 7, 8, 9, 10, 11, 14], "simpli": [5, 14], "simplic": [6, 7, 9, 14], "simplifi": [7, 11], "simul": 7, "sin": 10, "sin_sum": 10, "sinc": [2, 5, 6, 7, 8, 9, 10, 13, 14], "sine": 10, "singl": [2, 5, 7, 8, 11, 12], "singular": 13, "situat": 8, "six": [8, 11], "size": [5, 6, 7, 9, 10, 13], "skew": 9, "skill": [4, 12], "skip": [4, 8, 9, 13], "skip_head": 8, "skiprow": [2, 4, 5], "slice": [2, 5, 13], "slide": 14, "slightli": [5, 10, 11, 13], "slope": 2, "slow": [2, 7], "small": [2, 8, 9, 10, 13, 14], "small_mesh": 10, "smaller": [7, 10, 11], "smallest": 13, "smooth": 14, "smoothen": 14, "so": [1, 2, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "so2": 5, "social": 9, "societ": 9, "softmask": 8, "softmax": [6, 7], "solut": [6, 7, 8, 9], "solv": 7, "some": [6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "somebodi": 12, "somehow": 8, "someth": [8, 13], "sometim": [7, 8, 10], "somewhat": 6, "sourc": [3, 7, 9, 11, 15, 17], "space": [9, 11], "span": 7, "spatial": 14, "speaker": 9, "special": [6, 7, 9, 13], "specif": [8, 9, 10], "specifi": [2, 4, 9], "spectrum": 2, "speech": [1, 17], "speech_data_path": 9, "speech_df": 9, "speed": [6, 7], "sphinx": 3, "spin": 7, "split": [6, 9], "splitlin": 9, "spoiler": 12, "spreadsheet": 4, "sqrt": [5, 7, 9], "squar": [2, 4, 6, 9, 10, 13], "squeez": 9, "src": 7, "stabl": [6, 9, 11], "stack": [5, 9, 13, 14], "stage": [7, 9], "stai": 9, "standard": [4, 5, 6, 7, 8, 9, 12, 14], "standard_norm": [7, 9], "stanford": 9, "star": 7, "starcraft": 7, "start": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14], "stat": 5, "state": [2, 7, 9, 11], "static": [0, 3, 15, 17], "static_equilibrium": 2, "station": 5, "stationari": 11, "statist": [2, 7, 14], "std": 7, "stdout": 3, "step": [1, 2, 4, 5, 12, 13, 15], "stereotyp": 9, "stick": 10, "still": [2, 4, 7, 8, 13], "stochast": 9, "stop": [6, 7, 9, 10], "stopword": 9, "storag": 4, "store": [3, 5, 6, 7, 9], "store_test_accurate_pr": 6, "store_test_loss": 6, "store_training_accurate_pr": 6, "store_training_loss": 6, "str": 9, "str_": 8, "straight": 9, "straightforward": [9, 12, 14], "strang": 8, "stream": [3, 6], "strengthen": 12, "string": [8, 9], "strip": 9, "structur": [2, 8, 9, 11], "studi": 5, "stumbl": 10, "stun": 10, "style": [2, 4, 7, 8], "sub": 9, "sub_indic": 5, "subindic": 5, "submiss": 15, "submit": 3, "submodul": 13, "subplot": [6, 10, 14], "subset": [5, 6, 8, 10], "substitut": 8, "subtract": 10, "succes": 6, "success": [6, 7, 9], "successfulli": 5, "succinctli": 2, "suffici": 10, "suggest": [9, 12, 14], "suicid": 9, "suit": 14, "suitabl": 9, "sulfur": 5, "sum": [2, 6, 7, 8, 9], "sum_": 10, "summar": [5, 6, 8, 9], "summari": [8, 12], "supervis": [6, 7, 9], "suppli": 10, "support": [3, 5, 6, 7, 9, 13], "suppos": 8, "sure": [5, 7, 8, 9, 12, 13, 15], "surpass": 10, "surpris": 10, "sutton": 7, "suzuki": 9, "svd": [2, 13], "sy": 7, "symbol": 9, "sync": [3, 15], "syntax": 13, "system": [9, 10, 11, 12], "t": [2, 6, 7, 8, 9, 10, 11, 12, 13, 15], "t10k": 6, "t_": 11, "t_test": 5, "t_valu": 5, "tabl": [1, 2, 5], "tabular": 2, "tackl": 9, "tag": [7, 9], "tail": 5, "taiwan": 8, "take": [2, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "taken": [6, 9], "talk": [6, 9], "talli": 10, "tan": 10, "tanh": 9, "target": [6, 9], "task": [6, 7], "taught": 7, "td": 7, "teach": [6, 12, 17], "team": 17, "technic": 6, "techniqu": [6, 7, 9, 14], "technologi": 2, "tell": [4, 5, 7, 12], "templat": 12, "tempor": 7, "tend": [9, 10], "tenni": 7, "tension": 11, "tensor": [6, 7], "tensorflow": [6, 7, 9], "term": [1, 2, 5, 6, 7, 13], "termin": 7, "terrain": [10, 14], "tesauro": 7, "test": [7, 9, 13], "test_accurate_predict": 6, "test_df": 9, "test_imag": 6, "test_j": 9, "test_label": 6, "test_loss": 6, "test_metr": 6, "test_sampl": 6, "testing_loss": 9, "texa": 2, "text": [2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 15], "text_column": 9, "text_preprocess": 2, "text_represent": 3, "text_to_para": 9, "textpreprocess": 9, "textproc": 9, "than": [2, 5, 7, 8, 9, 10, 12, 13, 14], "thei": [1, 2, 3, 6, 7, 9, 10, 11, 12, 13, 14], "theirs": 9, "them": [2, 5, 6, 7, 8, 9, 10, 11, 14, 17], "themselv": [9, 10], "theorem": 14, "theori": [7, 10, 13], "therefor": [2, 6, 7, 9, 11], "thereof": 5, "thi": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "thing": [3, 4, 9, 10, 12], "think": [6, 8], "third": [2, 10], "thoma": [6, 9], "those": [6, 8, 9, 11, 13, 14], "though": [2, 5, 13], "thought": [2, 9], "thousand": 2, "three": [2, 3, 4, 8, 10, 11, 12, 13, 14], "threshold": [9, 10, 14], "thrive": 9, "through": [2, 7, 8, 9, 10, 11, 13, 14], "throughout": [9, 10], "throw": 7, "thu": [6, 12], "thunberg": 9, "tick": 8, "time": [2, 3, 5, 6, 7, 8, 9, 10, 11], "time_step": 9, "timnit": 6, "tini": 10, "tinker": 10, "tipoff": 12, "titl": [2, 6, 8, 9, 10, 14], "tm": 2, "to_extract": 9, "to_numpi": 9, "todai": [9, 10], "todo": 13, "togeth": [2, 4, 9, 10, 11], "token": 9, "toluen": 5, "too": 9, "took": [7, 9, 10], "tool": [7, 11], "toolset": 12, "topic": [8, 9], "total": [5, 6, 7, 8, 9, 10], "totals_row": 8, "touch": 7, "toward": [7, 9, 14], "towner": 12, "tpu": 7, "trace": 9, "traceback": 12, "track": [6, 8, 10], "train": 1, "train_df": 9, "train_j": 9, "train_label": 6, "traini": 7, "training_accurate_predict": 6, "training_imag": 6, "training_label": 6, "training_loss": [6, 9], "training_metr": 6, "training_sampl": 6, "trajectori": 7, "tran": 2, "transcrib": 9, "transcript": 1, "transfer": 9, "transform": [2, 6, 9, 13], "transistor_count": 2, "transistor_count2017": 2, "transistor_count_predict": 2, "transistor_data": 2, "transistor_moores_law": 2, "translat": 7, "transpar": [2, 9], "transpos": [8, 13], "trask": 6, "treat": 13, "treatment": 10, "tree": [7, 17], "trevisan": 9, "tri": 7, "trial": 7, "tripl": 12, "true": [5, 6, 7, 8, 9, 13, 14], "true_": 5, "truli": 10, "truncat": 5, "truth": [6, 9], "try": [7, 8, 9, 10, 13, 15], "ttest_rel": 5, "tune": [6, 7, 9], "tupl": 13, "ture": 9, "tutori": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14], "tweak": [9, 10], "two": [2, 3, 4, 5, 7, 8, 9, 10, 11, 13, 14, 15], "txt": [7, 9], "txt_to_df": 9, "type": [2, 5, 6, 7, 8, 10, 13, 14], "typic": [7, 12], "u": [5, 10, 11, 13, 14], "u7": 8, "ubyt": 6, "uc": 7, "ucl": 7, "ufunc": 8, "uint8": [6, 7, 13, 14], "uk": 9, "un": 9, "unavail": 8, "unbeat": 10, "unbias": [6, 9], "uncertain": 10, "uncom": 7, "uncorrupt": 9, "under": [7, 9, 11, 12, 13, 14], "underli": [7, 9], "understand": [2, 5, 8, 9, 10, 11, 13], "undertak": 9, "unfamiliar": 13, "unga": 9, "unhelp": 9, "uniform": [7, 9], "uniqu": 10, "unit": [6, 7, 9, 11], "unitb": 11, "unitbd": 11, "unitcf": 11, "univers": [8, 9, 10, 13, 14], "unknown": 11, "unkown": 11, "unlik": [6, 7, 9, 12], "unmask": 8, "unscal": 2, "unshift": 2, "unspecifi": 8, "unsupervis": 9, "until": [2, 7, 9], "unwant": 8, "unzip": 9, "unzipp": 9, "up": [1, 5, 6, 8, 9, 10, 14, 15], "updat": [1, 3, 6, 15], "update_input": 7, "update_paramet": 9, "upon": [2, 9, 10, 11], "upper": [5, 9, 17], "url": [6, 9], "urllib": 6, "us": [0, 2, 3, 5, 6, 7, 9, 10, 11, 13, 15], "usag": 9, "usecol": [2, 5, 8], "usemask": 8, "user": [2, 9, 12, 13, 15], "usual": [5, 6, 7, 12, 14, 15], "utf": 8, "util": [5, 6, 7, 9, 11, 13], "v": [7, 8, 9, 11, 13], "v0": 7, "v1": 13, "v3": 14, "valid": [6, 8, 9, 13], "valu": [4, 6, 7, 8, 9, 10, 13, 14], "valuabl": [1, 17], "valuat": 6, "valueerror": 13, "van": 13, "vanish": 9, "var": 5, "vari": [9, 10, 11], "variabl": [2, 4, 6, 7, 8, 9], "varianc": [5, 7], "variat": 10, "varieti": 3, "variou": [5, 6, 7, 9, 10, 14], "vcompute_indic": 5, "ve": [4, 9, 14], "vector": [2, 4, 5, 6, 7, 8, 9, 11, 13], "veloc": 11, "veri": [3, 6, 7, 8, 9, 10, 13, 14, 15], "verifi": 10, "version": [3, 5, 8, 10, 13, 17], "versu": 7, "vertic": 14, "via": [9, 14], "video": 1, "view": [2, 7, 9], "vim": 3, "vinyal": 7, "virtual": 7, "virtualenv": [6, 7, 9, 14], "visibl": 7, "vision": [7, 9, 14], "visit": [7, 9, 10], "visual": [6, 7, 9, 10, 11, 14], "viz": 5, "voic": 9, "volodymyr": 7, "volum": 8, "vstack": [7, 9], "vt": 13, "w": [9, 11], "w1": 7, "w2": [7, 9], "wa": [2, 5, 6, 7, 8, 9, 10, 11, 13], "wacki": 10, "wai": [2, 4, 6, 7, 9, 10, 12, 13, 17], "wait": [6, 15], "wang": 7, "want": [1, 2, 4, 5, 7, 8, 10, 11, 12, 13, 14, 15, 17], "warn": 13, "wb": 6, "wcm": 9, "we": [2, 3, 5, 6, 8, 9, 10, 13, 15], "web": [8, 9], "websit": [3, 6, 9, 12, 15], "weight": [6, 7, 9], "weights_1": 6, "weights_2": 6, "welcom": 15, "welfar": 9, "well": [6, 7, 9, 11, 12, 14], "were": [2, 4, 7, 9, 10], "wf": 9, "what": [7, 9, 13, 15], "when": [3, 4, 6, 7, 9, 10, 11, 13, 14], "where": [2, 4, 5, 6, 7, 8, 9, 10, 11, 13], "whether": [8, 9], "which": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "while": [7, 9, 10, 12, 13], "who": [4, 6, 7, 9, 12, 13, 15], "who_covid_19_sit_rep_time_seri": [2, 8], "whole": [8, 9], "whom": 9, "whose": [2, 9], "why": [7, 9, 17], "wi": 9, "wide": 7, "wider": 10, "wikipedia": [2, 10], "wilcoxon": 5, "wild": 10, "william": 7, "willing": 12, "win": [7, 12], "window": 5, "wire": 11, "wise": [5, 9], "wish": [8, 9, 13], "without": [6, 8, 9, 10, 11, 13], "wo": 9, "won": 12, "word": [5, 7, 9, 12], "word_tokenis": 9, "wordembed": 9, "work": [1, 3, 4, 6, 7, 8, 9, 10, 13, 14], "workflow": [14, 15], "workspac": 4, "workspaec": 4, "world": [5, 6, 7, 9, 13], "worri": [13, 15], "wors": 13, "worst": 5, "would": [2, 5, 6, 8, 9, 10, 11, 12, 13, 15], "wrap": [7, 10], "wrapper": 7, "write": [2, 4, 5, 6, 9, 10, 11, 14, 15], "writer": 12, "written": [4, 7, 10], "wrong": [7, 8], "www": 9, "x": [0, 2, 3, 5, 6, 7, 8, 9, 10, 11, 13, 17], "x1": 2, "x11": 7, "x2": 2, "x_axi": [4, 9], "x_pred": 9, "x_prewitt": 14, "x_ray_image_gaussian_gradi": 14, "x_sobel": 14, "x_test": [6, 9], "x_train": [6, 9], "x_vec": 9, "x_y": 4, "xavier": [7, 9], "xfactor": 2, "xlabel": 2, "xray_imag": 14, "xray_image_canni": 14, "xray_image_laplace_gaussian": 14, "xray_image_mask_less_noisi": 14, "xray_image_mask_noisi": 14, "xray_image_sobel": 14, "xt": 9, "xtick": 8, "xvfb": 7, "xylen": 5, "y": [2, 5, 6, 7, 9, 10, 11, 13, 14], "y_axi": 4, "y_i": 2, "y_pred": 9, "y_prewitt": 14, "y_sobel": 14, "y_squar": 4, "y_test": [6, 9], "y_train": [6, 9], "yann": [6, 7], "ye": 12, "year": [2, 7], "yellow": 10, "yet": 10, "yi": 2, "yield": [7, 10], "ylabel": 2, "yml": [7, 15], "yoshua": [6, 7], "you": [1, 6, 7, 13, 14, 15, 17], "your": [1, 5, 6, 8, 9, 11, 13, 14, 16, 17], "your_model2017": 2, "yourself": [6, 9, 12], "yourselv": 9, "yousafzai": 9, "youth": 9, "ytick": 8, "z": [2, 9, 10, 11], "z2": 9, "z_1": 10, "z_2": 10, "z_3": 10, "zeb": 7, "zenodo": 9, "zero": [6, 7, 9, 10, 11, 12, 13], "zerodivisionerror": 12, "zeros_lik": 7, "zip": [4, 6, 9, 10, 14], "zipfil": 9, "\u03bccom": 2}, "titles": ["NumPy Applications", "Articles", "Determining Moore\u2019s Law with real data in NumPy", "Pairing Jupyter notebooks and MyST-NB", "Saving and sharing your NumPy arrays", "Analyzing the impact of the lockdown on air quality in Delhi, India", "Deep learning on MNIST", "Deep reinforcement learning with Pong from pixels", "Masked Arrays", "Sentiment Analysis on notable speeches of the last decade", "Plotting Fractals", "Determining Static Equilibrium in NumPy", "Learn to write a NumPy tutorial", "Linear algebra on n-dimensional arrays", "X-ray image processing", "Contributing", "NumPy Features", "NumPy tutorials"], "titleterms": {"": [2, 4, 5, 9, 11, 12], "1": [3, 6, 9], "19": 8, "2": [3, 6, 9], "2d": 4, "3": [3, 6, 9], "A": 7, "But": 9, "In": [5, 8, 10, 12], "On": [10, 12], "The": [5, 12, 14], "ad": 15, "addit": 11, "after": 12, "agent": 7, "air": 5, "algebra": 13, "all": 13, "an": [2, 9, 13, 14, 15], "analysi": 9, "analyz": 5, "anoth": [4, 11], "appendix": 7, "appli": [13, 14], "applic": [0, 11], "approxim": 13, "aqi": 5, "ar": [8, 12], "architectur": [6, 9], "arrai": [2, 4, 8, 13, 14], "articl": [1, 17], "asid": 12, "averag": 5, "avoid": 12, "axi": 13, "back": 4, "background": 3, "backpropag": [7, 9], "begin": 6, "block": 6, "build": [2, 5, 6, 9], "calcul": [2, 5], "can": 8, "canni": 14, "categor": 6, "check": 15, "classic": 3, "collect": 9, "color": 13, "combin": 14, "comma": 2, "command": 3, "compar": 14, "compos": 6, "conclus": 10, "content": [6, 7, 9, 13, 14, 15, 17], "contribut": 15, "convert": 6, "covid": 8, "creat": [2, 4, 7, 10, 15], "csv": [2, 4], "curv": 2, "data": [2, 4, 6, 8, 9], "dataset": [5, 6, 9, 12], "decad": 9, "deep": [6, 7, 9], "defin": [5, 7], "delhi": 5, "demonstr": 14, "deriv": 14, "detect": 14, "determin": [2, 11], "differ": 12, "dimension": 13, "discount": 7, "do": [2, 3, 4, 5, 8, 9, 10, 11, 12], "doc": 12, "edg": 14, "encod": 6, "episod": 7, "equilibrium": 11, "ethic": 9, "examin": 14, "exampl": 11, "execut": [12, 17], "expect": 7, "explor": 8, "exponenti": 2, "featur": 16, "feldman": 14, "file": [2, 3, 4], "filter": 14, "final": 13, "find": 11, "fit": 8, "float": 6, "format": 6, "forward": [7, 9], "fractal": 10, "frame": 7, "from": [6, 7, 9], "fulli": 12, "function": [2, 7], "further": [5, 8, 10, 12, 13], "gaussian": 14, "gener": 10, "glossari": 7, "googl": 12, "gradient": 14, "growth": 2, "guid": 12, "have": 12, "head": 12, "help": [1, 17], "histor": 2, "horizont": 12, "hot": 6, "how": [7, 9, 12], "human": 4, "hypothesi": 5, "illustr": 12, "imag": [6, 14], "imageio": 14, "imdb": 9, "impact": 5, "improv": [1, 17], "index": 5, "india": 5, "indic": 5, "introduct": 9, "ipynb": 3, "issu": 15, "julia": 10, "jupyt": [3, 7, 15], "jupyterlab": 3, "jupytext": 3, "label": 6, "laplac": 14, "laplacian": 14, "last": 9, "law": [2, 11], "learn": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "learner": 13, "line": 3, "linear": 13, "link": 17, "ll": [2, 3, 4, 5, 8, 10, 11, 12], "load": [2, 4, 6, 9], "lockdown": 5, "long": 9, "look": 9, "lowercas": 12, "lstm": 9, "magnitud": 14, "make": 12, "mandelbrot": 10, "manufactur": 2, "mask": [8, 14], "md": 3, "mean": 5, "memori": 9, "method": 14, "miss": 8, "mnist": 6, "model": [6, 9], "moment": 11, "moor": 2, "move": 5, "multidimension": 14, "must": 12, "myst": 3, "n": 13, "nb": 3, "need": [2, 3, 4, 5, 8, 10, 11, 12], "network": [6, 7, 9], "neural": [6, 7, 9], "newton": [10, 11], "next": [6, 7, 9, 14], "non": 17, "notabl": 9, "note": [7, 15], "notebook": [3, 7, 12, 15], "np": 14, "npzfile": 4, "number": 7, "numpi": [0, 2, 4, 6, 11, 12, 16, 17], "object": 13, "observ": 7, "obtain": 9, "one": 6, "oper": [13, 14], "option": 4, "our": [4, 9, 15], "out": 15, "output": 9, "overview": 9, "own": [2, 10, 12, 15], "p": 5, "pair": [3, 5], "paramet": 9, "pass": 7, "perspect": 9, "physic": 11, "pixel": 7, "playback": 7, "plot": [10, 12], "point": 6, "polici": 7, "pollut": 5, "pong": 7, "possibl": 12, "practic": [5, 8, 12], "preprocess": [6, 7, 9], "prerequisit": [6, 7, 9, 13, 14], "problem": 5, "process": 14, "product": 13, "profil": 13, "progress": 14, "propag": 9, "properti": [11, 13], "qualiti": 5, "rai": 14, "read": [5, 8, 10, 12, 13], "readabl": 4, "real": [2, 12], "rearrang": 4, "reassign": 4, "refer": [2, 8, 11], "reinforc": 7, "rememb": 4, "remov": 4, "resourc": 17, "result": [2, 14], "return": 7, "review": 9, "reward": 7, "rl": 7, "rule": 12, "sai": 12, "sampl": 5, "save": 4, "savetxt": 4, "savez": 4, "scratch": 6, "second": [11, 14], "see": 8, "sentiment": 9, "separ": 2, "set": [7, 10], "shape": 13, "share": [2, 4], "short": 9, "similar": 12, "singl": 4, "skill": 2, "small": 6, "sobel": 14, "solv": 11, "speech": 9, "start": 12, "static": 11, "statist": 5, "step": [6, 7, 9, 14], "student": 5, "style": 12, "sub": 5, "success": 4, "suggest": 15, "sum": 11, "summari": 6, "t": 5, "tabl": [6, 7, 9, 14], "templat": 15, "term": 9, "test": [5, 6], "thei": 8, "them": 4, "through": 6, "titl": 12, "train": [6, 7, 9], "transcript": 9, "transistor": 2, "tutori": [1, 12, 15, 17], "type": 4, "up": [2, 3, 4, 7, 11], "updat": [7, 9], "upload": 15, "us": [4, 8, 12, 14, 17], "valu": [2, 5, 11], "verb": 12, "video": 7, "warmup": 10, "what": [2, 3, 4, 5, 8, 10, 11, 12], "when": [8, 12], "where": 14, "why": [12, 15], "word": 13, "workspac": 2, "wrap": [2, 3, 4, 11], "write": 12, "x": [4, 14], "y": 4, "you": [2, 3, 4, 5, 8, 9, 10, 11, 12], "your": [2, 3, 4, 7, 10, 12, 15], "zip": 2}}) \ No newline at end of file +Search.setIndex({"alltitles": {"1. Classic Jupyter Jupytext pairing": [[3, null]], "1. Data Collection": [[9, "data-collection"]], "1. Load the MNIST dataset": [[6, "load-the-mnist-dataset"]], "2. JupyterLab Jupytext pairing": [[3, null]], "2. Preprocess the data": [[6, "preprocess-the-data"]], "2. Preprocess the datasets": [[9, "preprocess-the-datasets"]], "3. Build and train a small neural network from scratch": [[6, "build-and-train-a-small-neural-network-from-scratch"]], "3. Build the Deep Learning Model": [[9, "build-the-deep-learning-model"]], "3. Command line Jupytext pairing": [[3, null]], "A note on RL and deep RL": [[7, "a-note-on-rl-and-deep-rl"]], "Adding your own tutorials": [[15, "adding-your-own-tutorials"]], "Additional Applications": [[11, "additional-applications"]], "After a horizontal rule, start your own headings": [[12, "after-a-horizontal-rule-start-your-own-headings"]], "Air quality indices": [[5, "air-quality-indices"]], "Analyzing the impact of the lockdown on air quality in Delhi, India": [[5, null]], "Another Example": [[11, "another-example"]], "Another option: saving to human-readable csv": [[4, "another-option-saving-to-human-readable-csv"]], "Appendix": [[7, "appendix"]], "Apply masks to X-rays with np.where()": [[14, "apply-masks-to-x-rays-with-np-where"]], "Applying to all colors": [[13, "applying-to-all-colors"]], "Approximation": [[13, "approximation"]], "Articles": [[1, null]], "Avoid asides": [[12, "avoid-asides"]], "Background": [[3, "background"]], "Backpropagation": [[9, "backpropagation"]], "Building Moore\u2019s law as an exponential function": [[2, "building-moore-s-law-as-an-exponential-function"]], "Building the dataset": [[5, "building-the-dataset"]], "But how do you obtain sentiment from the LSTM\u2019s output?": [[9, "but-how-do-you-obtain-sentiment-from-the-lstm-s-output"]], "Calculating the Air Quality Index": [[5, "calculating-the-air-quality-index"]], "Calculating the historical growth curve for transistors": [[2, "calculating-the-historical-growth-curve-for-transistors"]], "Calculating the test statistics": [[5, "calculating-the-test-statistics"]], "Check out our suggested template": [[15, "check-out-our-suggested-template"]], "Collecting and loading the speech transcripts": [[9, "collecting-and-loading-the-speech-transcripts"]], "Collecting the IMDb reviews dataset": [[9, "collecting-the-imdb-reviews-dataset"]], "Combine images into a multidimensional array to demonstrate progression": [[14, "combine-images-into-a-multidimensional-array-to-demonstrate-progression"]], "Compare the results": [[14, "compare-the-results"]], "Compose the model and begin training and testing it": [[6, "compose-the-model-and-begin-training-and-testing-it"]], "Content": [[13, "content"], [17, "content"]], "Contributing": [[15, null]], "Convert the image data to the floating-point format": [[6, "convert-the-image-data-to-the-floating-point-format"]], "Convert the labels to floating point through categorical/one-hot encoding": [[6, "convert-the-labels-to-floating-point-through-categorical-one-hot-encoding"]], "Create an issue": [[15, "create-an-issue"]], "Create the policy (the neural network) and the forward pass": [[7, "create-the-policy-the-neural-network-and-the-forward-pass"]], "Create your arrays": [[4, "create-your-arrays"]], "Creating your own comma separated value file": [[2, "creating-your-own-comma-separated-value-file"]], "Creating your own fractals": [[10, "creating-your-own-fractals"]], "Deep RL glossary": [[7, "deep-rl-glossary"]], "Deep learning on MNIST": [[6, null]], "Deep reinforcement learning with Pong from pixels": [[7, null]], "Define the discounted rewards (expected return) function": [[7, "define-the-discounted-rewards-expected-return-function"]], "Defining the hypothesis": [[5, "defining-the-hypothesis"]], "Determining Moore\u2019s Law with real data in NumPy": [[2, null]], "Determining Static Equilibrium in NumPy": [[11, null]], "Edge detection using the Laplacian-Gaussian, Gaussian gradient, Sobel, and Canny filters": [[14, "edge-detection-using-the-laplacian-gaussian-gaussian-gradient-sobel-and-canny-filters"]], "Examine an X-ray with imageio": [[14, "examine-an-x-ray-with-imageio"]], "Exploring the data": [[8, "exploring-the-data"]], "Final words": [[13, "final-words"]], "Finding values with physical properties": [[11, "finding-values-with-physical-properties"]], "Fitting Data": [[8, "fitting-data"]], "Forward Propagation": [[9, "forward-propagation"]], "Further reading": [[5, "further-reading"], [8, "further-reading"], [10, "further-reading"], [12, "further-reading"], [13, "further-reading"]], "Generalizing the Julia set": [[10, "generalizing-the-julia-set"]], "Help improve the tutorials!": [[1, null], [17, null]], "How to set up video playback in your Jupyter notebook": [[7, "how-to-set-up-video-playback-in-your-jupyter-notebook"]], "In conclusion": [[10, "in-conclusion"]], "In practice": [[8, "in-practice"]], "In practice\u2026": [[5, "in-practice"], [12, "in-practice"]], "Introduction to a Long Short Term Memory Network": [[9, "introduction-to-a-long-short-term-memory-network"]], "Julia set": [[10, "julia-set"]], "Learn to write a NumPy tutorial": [[12, null]], "Learner profile": [[13, "learner-profile"]], "Learning Objectives": [[13, "learning-objectives"]], "Linear algebra on n-dimensional arrays": [[13, null]], "Loading historical manufacturing data to your workspace": [[2, "loading-historical-manufacturing-data-to-your-workspace"]], "Looking at our Neural Network from an ethical perspective": [[9, "looking-at-our-neural-network-from-an-ethical-perspective"]], "Make use of the Google doc style guide": [[12, "make-use-of-the-google-doc-style-guide"]], "Mandelbrot set": [[10, "mandelbrot-set"]], "Masked Arrays": [[8, null]], "Missing data": [[8, "missing-data"]], "Model architecture and training summary": [[6, "model-architecture-and-training-summary"]], "Moving averages": [[5, "moving-averages"]], "Neural network building blocks with NumPy": [[6, "neural-network-building-blocks-with-numpy"]], "Newton Fractals": [[10, "newton-fractals"]], "Next Steps": [[9, "next-steps"]], "Next steps": [[6, "next-steps"], [7, "next-steps"], [14, "next-steps"]], "Non-executable articles": [[17, "non-executable-articles"]], "Note": [[15, "note"]], "Notes on RL and deep RL": [[7, "notes-on-rl-and-deep-rl"]], "NumPy Applications": [[0, null]], "NumPy Features": [[16, null]], "NumPy tutorials": [[17, null]], "On your own": [[10, "on-your-own"], [12, "on-your-own"]], "Operations on an axis": [[13, "operations-on-an-axis"]], "Our arrays as a csv file": [[4, "our-arrays-as-a-csv-file"]], "Overview of the Model Architecture": [[9, "overview-of-the-model-architecture"]], "Pair your notebook files .ipynb and .md": [[3, "pair-your-notebook-files-ipynb-and-md"]], "Paired Student\u2019s t-test on the AQIs": [[5, "paired-student-s-t-test-on-the-aqis"]], "Pairing Jupyter notebooks and MyST-NB": [[3, null]], "Plotting Fractals": [[10, null]], "Preprocess frames (the observation)": [[7, "preprocess-frames-the-observation"]], "Prerequisites": [[6, "prerequisites"], [7, "prerequisites"], [9, "prerequisites"], [13, "prerequisites"], [14, "prerequisites"]], "Products with n-dimensional arrays": [[13, "products-with-n-dimensional-arrays"]], "Rearrange the data into a single 2D array": [[4, "rearrange-the-data-into-a-single-2d-array"]], "Reassign the NpzFile arrays to x and y": [[4, "reassign-the-npzfile-arrays-to-x-and-y"]], "Reference": [[8, "reference"]], "References": [[2, "references"], [11, "references"]], "Remove the saved arrays and load them back with NumPy\u2019s load": [[4, "remove-the-saved-arrays-and-load-them-back-with-numpy-s-load"]], "Sampling": [[5, "sampling"]], "Save the data to csv file using savetxt": [[4, "save-the-data-to-csv-file-using-savetxt"]], "Save your arrays with NumPy\u2019s savez": [[4, "save-your-arrays-with-numpy-s-savez"]], "Saving and sharing your NumPy arrays": [[4, null]], "Sentiment Analysis on notable speeches of the last decade": [[9, null]], "Sentiment Analysis on the Speech Data": [[9, "sentiment-analysis-on-the-speech-data"]], "Set up Pong": [[7, "set-up-pong"]], "Set up the update step (backpropagation)": [[7, "set-up-the-update-step-backpropagation"]], "Shape, axis and array properties": [[13, "shape-axis-and-array-properties"]], "Sharing your results as zipped arrays and a csv": [[2, "sharing-your-results-as-zipped-arrays-and-a-csv"]], "Skills you\u2019ll learn": [[2, "skills-you-ll-learn"]], "Solving Equilibrium as a sum of moments": [[11, "solving-equilibrium-as-a-sum-of-moments"]], "Solving equilibrium with Newton\u2019s second law": [[11, "solving-equilibrium-with-newton-s-second-law"]], "Sub-indices": [[5, "sub-indices"]], "Success": [[4, "success"]], "Success, but remember your types": [[4, "success-but-remember-your-types"]], "Table of contents": [[6, "table-of-contents"], [7, "table-of-contents"], [9, "table-of-contents"], [14, "table-of-contents"]], "The Canny filter": [[14, "the-canny-filter"]], "The Gaussian gradient magnitude method": [[14, "the-gaussian-gradient-magnitude-method"]], "The Laplace filter with Gaussian second derivatives": [[14, "the-laplace-filter-with-gaussian-second-derivatives"]], "The Sobel-Feldman operator (the Sobel filter)": [[14, "the-sobel-feldman-operator-the-sobel-filter"]], "The notebook must be fully executable": [[12, "the-notebook-must-be-fully-executable"]], "The problem of air pollution": [[5, "the-problem-of-air-pollution"]], "Titles are lowercase": [[12, "titles-are-lowercase"]], "Titles have verbs": [[12, "titles-have-verbs"]], "Train the agent for a number of episodes": [[7, "train-the-agent-for-a-number-of-episodes"]], "Training the Network": [[9, "training-the-network"]], "Tutorials and how-to\u2019s \u2013 similar but different": [[12, "tutorials-and-how-to-s-similar-but-different"]], "Updating the Parameters": [[9, "updating-the-parameters"]], "Upload your content": [[15, "upload-your-content"]], "Use plots and illustrations": [[12, "use-plots-and-illustrations"]], "Use real datasets when possible": [[12, "use-real-datasets-when-possible"]], "Useful links and resources": [[17, "useful-links-and-resources"]], "Using masked arrays to see COVID-19 data": [[8, "using-masked-arrays-to-see-covid-19-data"]], "Warmup": [[10, "warmup"]], "What are masked arrays?": [[8, "what-are-masked-arrays"]], "What do the t and p values mean?": [[5, "what-do-the-t-and-p-values-mean"]], "What to say in \u201cWhat you\u2019ll learn\u201d": [[12, "what-to-say-in-what-you-ll-learn"]], "What you\u2019ll do": [[2, "what-you-ll-do"], [3, "what-you-ll-do"], [4, "what-you-ll-do"], [5, "what-you-ll-do"], [8, "what-you-ll-do"], [10, "what-you-ll-do"], [12, "what-you-ll-do"]], "What you\u2019ll do:": [[11, "what-you-ll-do"]], "What you\u2019ll learn": [[3, "what-you-ll-learn"], [4, "what-you-ll-learn"], [5, "what-you-ll-learn"], [8, "what-you-ll-learn"], [10, "what-you-ll-learn"], [12, "what-you-ll-learn"]], "What you\u2019ll learn:": [[11, "what-you-ll-learn"]], "What you\u2019ll need": [[2, "what-you-ll-need"], [3, "what-you-ll-need"], [4, "what-you-ll-need"], [5, "what-you-ll-need"], [8, "what-you-ll-need"], [10, "what-you-ll-need"], [12, "what-you-ll-need"]], "What you\u2019ll need:": [[11, "what-you-ll-need"]], "When can they be useful?": [[8, "when-can-they-be-useful"]], "Why Jupyter Notebooks?": [[15, "why-jupyter-notebooks"]], "Why are \u201cWhat you\u2019ll do\u201d and \u201cWhat you\u2019ll learn\u201d different?": [[12, "why-are-what-you-ll-do-and-what-you-ll-learn-different"]], "Wrapping up": [[2, "wrapping-up"], [3, "wrapping-up"], [4, "wrapping-up"], [11, "wrapping-up"]], "X-ray image processing": [[14, null]], "Zipping the arrays into a file": [[2, "zipping-the-arrays-into-a-file"]]}, "docnames": ["applications", "articles", "content/mooreslaw-tutorial", "content/pairing", "content/save-load-arrays", "content/tutorial-air-quality-analysis", "content/tutorial-deep-learning-on-mnist", "content/tutorial-deep-reinforcement-learning-with-pong-from-pixels", "content/tutorial-ma", "content/tutorial-nlp-from-scratch", "content/tutorial-plotting-fractals", "content/tutorial-static_equilibrium", "content/tutorial-style-guide", "content/tutorial-svd", "content/tutorial-x-ray-image-processing", "contributing", "features", "index"], "envversion": {"sphinx": 64, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2}, "filenames": ["applications.md", "articles.md", "content/mooreslaw-tutorial.md", "content/pairing.md", "content/save-load-arrays.md", "content/tutorial-air-quality-analysis.md", "content/tutorial-deep-learning-on-mnist.md", "content/tutorial-deep-reinforcement-learning-with-pong-from-pixels.md", "content/tutorial-ma.md", "content/tutorial-nlp-from-scratch.md", "content/tutorial-plotting-fractals.md", "content/tutorial-static_equilibrium.md", "content/tutorial-style-guide.md", "content/tutorial-svd.md", "content/tutorial-x-ray-image-processing.md", "contributing.md", "features.md", "index.md"], "indexentries": {}, "objects": {}, "objnames": {}, "objtypes": {}, "terms": {"": [0, 1, 3, 6, 7, 8, 10, 13, 14, 17], "0": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "00": [2, 4, 5], "000": [2, 6, 7, 9, 14], "000000000000000000e": 4, "0000000000000053": 13, "00000011_00": 14, "00000011_001": 14, "000th": 6, "001": 9, "005": 6, "008": 14, "01": [2, 4, 5, 7, 9], "01176471": 6, "02": 5, "03": [2, 5], "04": [5, 10], "05": [5, 14], "06": 5, "07": 5, "07058824": 6, "0722": 13, "079453607915587": 13, "08": 5, "0f": 2, "0i": 10, "0x7f0396d92530": 8, "0x7f57a13d8c40": 2, "1": [1, 2, 4, 5, 7, 8, 10, 11, 12, 13, 14], "10": [2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "100": [6, 7, 9, 10, 12, 14], "1000": [2, 6, 9, 14], "10000": [6, 8], "101": 5, "1016": 8, "10196078": 6, "1024": [13, 14], "1024x1024": [13, 14], "103": 5, "104": 5, "106": [5, 11], "107": 13, "109": 7, "11": [2, 5, 6, 7, 8], "110": 13, "111": [9, 13], "11177": 8, "112": 13, "115": 13, "117": 13, "1170": 11, "1170n": 11, "11791": 8, "118": 13, "11820": 8, "11821": 8, "1184": 9, "119": 13, "12": [2, 3, 5, 6, 7, 8, 13], "120": 13, "1201": 5, "121": [5, 13], "12288743": 7, "128": 6, "13": [5, 6, 7, 8], "130": [11, 13], "130514785642591505e": 2, "130n": 11, "131": 13, "133": 13, "134": 13, "135671314724608": 13, "138": 13, "139": 13, "14": [2, 5, 6, 7, 8], "14380": 8, "144": [7, 13], "14410": 8, "14411": 8, "146": 13, "147197952744": 6, "1473": 8, "15": [5, 6, 7, 8, 10, 13, 14], "150": 14, "150th": 13, "152": 5, "153": 13, "15z": 10, "16": [2, 4, 5, 6, 7, 8, 10, 14], "1601": 5, "16025147": 11, "169": 5, "17": [5, 6, 7, 8], "172": 14, "17205": 8, "17237": 8, "17238": 8, "17500": 8, "178": 5, "179": 2, "18": [2, 5, 6, 7, 8], "1801": 5, "181": 5, "181980515339620069e": 2, "19": [5, 6, 7], "19200000000": 2, "195": [7, 11, 14], "195n": 11, "1965": 2, "1970": 10, "1971": 2, "1972": [2, 7], "1973": 2, "1974": 2, "1975": 2, "198": 6, "1985": 13, "1986": 7, "1990": 7, "1992": 7, "1993": 7, "1995": 7, "1d": [2, 4, 6, 7, 13], "1e": [7, 9], "1i": 10, "1j": 10, "1st": 8, "2": [1, 2, 4, 5, 7, 8, 10, 11, 13, 14], "20": [2, 5, 6, 7, 8, 10, 14], "200": [7, 14], "2000": [7, 9], "2006": 7, "201": 5, "2013": 7, "2015": [2, 6, 7], "2016": [2, 7], "2017": [2, 7, 14], "2018": 7, "2019": [2, 5, 7], "2020": [2, 5, 7, 8], "2025": 2, "209": 5, "21": [2, 5, 7, 8], "210x160": 7, "212": 6, "2126": 13, "21t00": 5, "22": [5, 6, 8], "2250": 2, "23": [5, 8], "2376": 5, "238793840142739100e": 2, "24": [5, 8], "240": 14, "243": 6, "247": 8, "249999999999916326e": 2, "24t00": 5, "24th": [5, 8], "25": [4, 5, 8, 9], "2500": 2, "250000000": 2, "250000000000000000e": 2, "251": 5, "254": 6, "255": [6, 13, 14], "256": 14, "258": 8, "26": [5, 8], "27": [5, 6, 8], "270": 8, "278": 8, "28": [2, 5, 6, 8], "281": 5, "288": 8, "28th": 8, "28x28": 6, "29": [5, 8], "2a": 2, "2a_m": 2, "2d": [2, 7, 13, 14], "2f": 2, "2j": 10, "2m": 11, "2t_": 11, "3": [1, 2, 4, 5, 7, 8, 10, 11, 13, 14], "30": [2, 5, 14], "300": 7, "3000": 2, "300d": 9, "301": 5, "30120": 8, "305": 5, "308": 8, "309": [5, 8], "3099": 8, "31": [5, 8], "314": 5, "31st": 5, "32": [5, 14], "32050294": 11, "32640635": 2, "3264063536233": 2, "33": [2, 5, 8], "34": [2, 5], "34163208": 2, "3466": 2, "35": [2, 5, 7, 8], "3500": 2, "351": 5, "356": 5, "36": 4, "361": 5, "37": 5, "371": 5, "372": 5, "375": 8, "377": 5, "38": [2, 6], "381": 5, "385": 14, "389": 5, "39": 5, "390": 11, "390n": 11, "397": 6, "3d": [10, 11], "3f": 6, "3m": 11, "3rd": 13, "3x3": 14, "4": [2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 14], "40": 2, "400": [7, 10], "4000": 2, "400000000000000000e": 4, "4004": 2, "400px": 7, "400x300": 7, "401": 5, "4040": 2, "41": [5, 10], "4100": 2, "4117827": 9, "41j": 10, "42": [2, 5, 7], "422": 8, "429": 6, "43": 5, "431": 5, "433": 6, "436": 6, "437": 6, "43712046073728e": 13, "438": 6, "44": [5, 17], "440": 8, "441": 6, "443": 6, "446": [6, 8], "448": 6, "449": 6, "45": 5, "450": 6, "4500": 2, "452": 6, "4528": 2, "453": 6, "455": 6, "456": 6, "46": 5, "460": 6, "462": 6, "465": 6, "47": 5, "473": 6, "48": [5, 6], "483": 6, "486": 6, "487": 6, "49": [4, 5], "493": 8, "49411765": 6, "495": 6, "49803922": 6, "4i": 10, "4j": 10, "5": [2, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14], "50": [9, 10, 13], "500": [2, 6, 7], "5000": 2, "500000000000000000e": [2, 4], "500000000000097316e": 2, "501": 5, "50d": 9, "51": 5, "515": 6, "520": 8, "52233219146729": 14, "526": 6, "5281": 9, "53": [2, 5], "533": 8, "53333333": 6, "534": [6, 8], "54": 5, "541": 6, "554280": 9, "5547002": 11, "556": [6, 8], "558487697898684e": 13, "56": [5, 10], "566": 8, "567913589313939e": 5, "569": 6, "574": 8, "582": 6, "59": [5, 6], "590908400344571419e": 2, "592": 6, "59999": 6, "5n": 11, "6": [2, 3, 4, 5, 6, 7, 8, 10, 11, 14], "60": [6, 10], "6000": 2, "60000": 6, "600000000000000000e": 4, "604": 8, "607": 6, "60z": 10, "61": 5, "617afb2fe6cbd085c235baf7a465b96f4112bd7f7ccb2b2cbd649fed9cbcf2fb": 9, "62": [5, 6], "63": 5, "633": 6, "64": [4, 5, 9], "641": 6, "65": 5, "6502": 2, "65098039": 6, "656": 6, "66": 5, "666": 2, "675": 2, "679": 6, "68": [5, 6], "680": 6, "6800": 2, "683": 8, "6835575": 9, "68627451": 6, "69": 5, "699": 5, "6a38ea6ab5e1902cc03f6b9294ceea5e8ab985af991f35bcabd301a08ea5b3f0": 9, "6b": 9, "7": [2, 4, 6, 7, 8, 10, 14], "7050000000": 2, "708": 6, "71": 5, "715": 6, "7152": 13, "7153": 8, "729": 6, "73": [5, 13], "732": 6, "7363ef08ad996bf4233b115008d6d7f9814b7cc0f4d13ab570b938701eadefeb": 9, "739": 6, "74": 5, "747": 6, "748": 6, "749": 5, "75": 10, "752": 6, "753": 6, "76": 5, "762": 6, "767": 6, "768": 13, "768x1024": 13, "768x768": 13, "769": 6, "77": 5, "772": 6, "77350098": 11, "774": 6, "775": 6, "776": 6, "778": 6, "779": 6, "78": 5, "780": 11, "780n": 11, "781672673581932": 5, "784": 6, "785": 6, "786": 6, "787": 6, "788": 6, "79": 5, "791": 6, "794": 6, "795": 6, "8": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14], "80": [5, 7], "8000": 2, "8008": 2, "801": [5, 6], "8080": 2, "80x80": 7, "80x80x1": 7, "81": [4, 5], "817": 8, "83": 5, "83205029": 11, "835": 8, "84": 5, "840": 9, "85": 13, "86": 5, "87": [5, 13], "88": 5, "884736743": 6, "89": 13, "898": 6, "8z": 10, "9": [4, 5, 6, 7, 8, 9, 10, 14], "90": [5, 14], "900000000000000000e": 4, "9074": 8, "91": 5, "92": 5, "94": [5, 13], "95": [5, 13], "9528": 5, "96": 5, "96862745": 6, "97": [5, 6, 13], "971000000000000000e": 2, "972000000000000000e": 2, "973000000000000000e": 2, "98": [2, 5], "99": 7, "999": [6, 9], "999999": 8, "A": [0, 1, 2, 3, 5, 8, 9, 10, 11, 12, 13, 16], "And": [6, 7], "As": [6, 8, 10, 11, 12, 13, 14], "At": [7, 12], "BE": 11, "BY": 12, "Be": [2, 12, 13], "But": [1, 12], "By": [2, 5], "For": [5, 6, 7, 8, 9, 10, 13, 14, 15], "If": [2, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "In": [2, 3, 4, 6, 7, 9, 11, 13, 14, 15], "It": [5, 6, 7, 8, 9, 10, 11, 13, 14], "Its": 3, "NO": 5, "Not": [8, 12], "Of": [7, 10, 13], "One": [6, 7, 8, 10], "That": [2, 8], "The": [2, 3, 4, 6, 7, 8, 9, 10, 11, 13, 15, 17], "Their": 7, "Then": [2, 3, 5, 6, 7, 9, 11, 14], "There": [4, 5, 7, 8, 9, 11], "These": [2, 3, 6, 7, 9, 11, 13, 15], "To": [3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 17], "With": [3, 5, 6, 7, 10], "_": 2, "__init__": 4, "_data": 6, "_i": 2, "_static": 2, "a2": 9, "a_m": 2, "ab": [9, 10, 11], "abbeel": 7, "abbrevi": 9, "abil": [6, 9], "abl": [7, 8, 10, 12, 13], "about": [4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15], "abov": [2, 5, 6, 7, 9, 10, 11, 12, 13, 17], "absenc": 9, "absolut": 10, "abstract": 12, "abus": 9, "ac": [9, 11], "acceler": [7, 11], "accept": [5, 9, 15], "access": [2, 4, 8, 10, 13, 15], "accid": 10, "accident": 10, "accord": [5, 7, 13], "accordingli": 6, "account": [7, 8, 9, 14], "accumul": [9, 13], "accur": [6, 9], "accuraci": [6, 9], "achiev": 5, "acquir": 9, "across": [5, 9, 13], "act": [9, 11], "action": 7, "action_spac": 7, "activ": [5, 6, 7, 9], "activist": 9, "actor": 7, "actual": [2, 6, 7, 8, 9, 13], "ad": [2, 7, 8, 10, 17], "adam": 9, "adapt": [6, 7, 13], "add": [2, 6, 7, 9, 10, 11, 13, 15], "add_subplot": [9, 11], "addit": [6, 7, 9, 12, 14], "address": 9, "adjust": [6, 7, 10], "adopt": [5, 9], "advanc": [7, 10], "advantag": [5, 7, 10], "advis": 6, "affect": [5, 6, 9, 14], "aforement": 9, "after": [5, 6, 7, 8, 9, 10, 13, 14], "after_lock": 5, "after_sampl": 5, "afterward": [6, 9], "ag": 9, "again": [2, 4, 6, 7, 9, 10, 13, 15], "against": [2, 6, 7, 9], "agent": 1, "agg_sent": 9, "aggreg": 9, "agre": 8, "ahead": [9, 13], "ai": [6, 7, 9], "air": [0, 2, 17], "al": [6, 7], "alexnet": 7, "algebra": [6, 7, 9, 11, 16, 17], "algorithm": [7, 9, 14], "all": [2, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15], "allclos": 13, "allow": [3, 9, 10, 15], "allow_pickl": 9, "almost": 3, "along": [9, 12, 14], "alpha": [2, 5, 10], "alphago": 7, "alphastar": 7, "alphazero": 7, "alreadi": [6, 9, 10], "also": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17], "alt": 7, "alter": [6, 9], "altern": [5, 12, 13], "although": [10, 13], "alwai": [7, 9, 13], "am": 9, "amaz": 2, "ammonia": 5, "amount": [7, 10, 14], "amplifi": [9, 12], "an": [1, 4, 5, 6, 7, 8, 10, 11, 12], "analysi": [0, 1, 2, 5, 8, 14, 17], "analyz": [0, 8, 11, 14, 17], "andrej": 7, "andrew": [6, 7, 9], "angl": 12, "ani": [3, 4, 5, 7, 8, 9, 11, 12], "anim": 14, "anonym": 9, "anoth": [2, 7, 10, 12, 14], "answer": [10, 12], "antenna": 10, "anymor": 2, "anyth": [7, 12], "api": [6, 7, 9, 10], "appear": [2, 7, 10, 12, 17], "append": [2, 4, 6, 7, 9], "append_ax": 10, "appendix": 1, "appli": [6, 7, 8, 9, 10, 11], "applic": [6, 7, 8, 9, 13, 15, 17], "appreci": 10, "approach": [2, 7, 9], "appropri": [7, 8, 10, 13, 15], "approx": 13, "approx_img": 13, "approxim": [5, 7, 8, 10], "aprob": 7, "apt": 7, "aqi_arrai": 5, "ar": [2, 3, 4, 5, 6, 7, 9, 10, 11, 13, 14, 15], "arab": 6, "arang": [4, 6, 8], "arcad": 7, "architectur": [1, 13], "archiv": 9, "area": [2, 10], "aren": 12, "argmax": 6, "argument": [5, 8], "aris": [9, 10], "around": [7, 8, 9, 10, 14], "arrai": [5, 6, 7, 9, 10, 11, 12, 16, 17], "arrang": [2, 4], "array_lik": 14, "array_out": 4, "art": [7, 9], "articl": [2, 6, 7, 9], "artifici": [6, 7, 9], "artist": 12, "artwork": 15, "asarrai": 6, "ascent": 7, "ascii": [4, 7], "ask": [3, 9], "assess": 2, "assign": [2, 4, 6, 7, 12, 13], "assist": 7, "associ": 8, "assum": [2, 5, 10, 11, 12, 14], "assur": 12, "astyp": [6, 7, 14], "atari": 7, "attach": 11, "attempt": [8, 9], "attent": 9, "attribut": 8, "audienc": 12, "author": [6, 9], "autodiff": 7, "autograd": 7, "automat": [3, 6, 7, 8, 9], "autoplai": 7, "avail": [5, 7, 8, 15], "averag": [2, 9, 14], "avoid": [6, 8], "awai": 11, "awar": [9, 13], "ax": [2, 6, 9, 10, 13, 14], "axes_grid1": 10, "axi": [2, 5, 6, 8, 9, 10, 14], "b": [2, 7, 9, 11, 13], "b2": 9, "b64encod": 7, "b_m": 2, "back": [2, 5, 6, 7, 9, 10, 13], "backgammon": 7, "background": [2, 6, 7], "backprop": 9, "backpropag": [1, 6], "backquot": 12, "backward": [6, 7, 9], "bad": 12, "bake": 12, "ball": 7, "baltimor": 13, "bandwidth": 14, "bar": 9, "bare": 12, "barnard": 9, "barrier": 15, "barton": 7, "base": [2, 6, 7, 8, 9, 11], "base64": 7, "base_degre": 10, "base_url": [6, 9], "basic": [5, 6, 8, 9, 10, 13, 14], "batch": [6, 7, 9, 14], "batch_siz": 7, "battlefield": 7, "bbe761e74a70": 12, "bbox_to_anchor": [2, 9], "bcm": 9, "bd": 11, "beam": 11, "beauti": 10, "becaus": [2, 3, 6, 7, 9, 11, 12, 13, 14], "becom": [1, 10], "been": [2, 7, 8, 9, 14], "beer": 11, "befor": [2, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15], "before_lock": 5, "before_sampl": 5, "began": 10, "begin": [8, 9, 10, 11, 12, 14], "behav": 9, "behavior": [2, 9, 10], "behaviour": 10, "behind": [9, 10], "being": [7, 9, 11, 12, 17], "belong": [7, 9, 14], "below": [2, 5, 6, 7, 8, 9, 12, 13, 14, 15], "benefit": [2, 3, 6], "bengio": [6, 7], "beno\u00eet": 10, "benzen": 5, "berkelei": 7, "best": [2, 7, 8, 9, 13, 15], "beta1": 9, "beta2": 9, "better": [2, 4, 6, 8, 9, 10, 11, 13], "between": [2, 3, 4, 5, 6, 7, 9, 11, 13, 14], "beyond": [7, 10], "bf": 9, "bh": 5, "bi": [9, 10], "bia": [6, 9], "bias": 9, "bidirect": 9, "billion": 9, "bin": 14, "binari": [4, 9, 10], "binder": [3, 7, 15, 17], "biomed": 14, "bit": [2, 6, 7, 9, 10, 13, 14], "bl": 5, "black": 6, "blob": 6, "block": [2, 4, 9], "blog": [6, 7, 9, 17], "blow": 9, "blue": [2, 7, 10, 13], "blue_arrai": 13, "blundel": 7, "bo": 9, "board": 5, "bog": 12, "book": [7, 9], "bool": [9, 14], "boolean": [2, 8, 10, 14], "bootcamp": 7, "border": 10, "boston": 9, "both": [3, 4, 5, 6, 8, 9, 10, 11, 14, 15, 17], "bottom": [10, 12], "botvinick": 7, "bound": [5, 10], "boundari": 10, "box": [7, 14], "bp": 5, "bp_fc_layer": 9, "bp_forget_g": 9, "bp_input_g": 9, "bp_output_g": 9, "bphi": 5, "bplo": 5, "bracket": [9, 12], "branch": 15, "break": [9, 11], "breakpoint": 5, "breakthrough": 7, "brief": 9, "broadcast": 13, "broader": 9, "broken": 11, "browser": 3, "buffer": 7, "bug": 8, "build": [1, 3, 7, 13, 14, 17], "built": [3, 6, 7, 9, 10, 13, 16], "bullet": 12, "button": 17, "c": [3, 9, 10, 11, 13], "c_": 9, "cabl": 11, "cach": [7, 9, 13], "cake": 12, "calcul": [3, 7, 8, 9, 10, 11, 14], "calculu": 9, "call": [5, 6, 7, 8, 9, 10, 12, 14], "can": [2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17], "candid": 9, "cannot": [4, 8, 9], "capabl": [6, 9], "capit": [6, 12], "captur": 2, "carbon": 5, "card": 6, "care": [9, 13], "carlo": 7, "carnegi": 14, "carpentri": 14, "carri": 9, "case": [2, 5, 8, 9, 10, 11, 12, 13], "categori": [5, 9], "cax": 10, "cc": 12, "cdf": 5, "cdot": [2, 5, 10], "ceil": 9, "cell": [3, 6, 7, 9, 12, 13, 14, 15], "cell_typ": 3, "center": [2, 11], "central": 5, "centroid": 11, "centuri": 2, "certain": [6, 7, 9, 10, 11, 14], "cf": 11, "chain": [6, 9], "challeng": [6, 7, 14], "chang": [2, 3, 6, 8, 9, 10, 14], "channel": [7, 13, 14], "chaotic": 10, "charact": [4, 8, 9], "characterist": [5, 9], "charl": 7, "chart": 5, "charter": 9, "check": [2, 5, 6, 7, 8, 10, 13, 14, 17], "chess": 7, "chestx": 14, "china": 8, "china_mask": 8, "china_tot": 8, "chip": 2, "choic": [5, 6, 7, 9, 10, 12, 15], "choos": [3, 5, 6, 7, 8, 9, 10, 13], "chosen": [5, 6, 9, 12], "christina": 9, "chronic": 9, "chunk": 6, "chunk_siz": 6, "circleci": 13, "cite": 9, "citi": 5, "claim": 2, "clariti": 9, "class": [7, 9, 10, 17], "classic": 7, "classif": [7, 9], "classifi": [6, 9], "clean": 9, "clean_": 9, "cleantext": 9, "clear": [4, 8, 12, 15], "clearli": 5, "click": [3, 17], "climat": 9, "clip": 13, "clone": [2, 17], "close": [2, 7, 8, 9, 10, 12, 13], "closer": 2, "closest": 10, "cloud": [6, 7, 10], "cluster": 9, "cmap": [6, 7, 10, 13, 14], "cmrmap": 14, "cmt": 9, "cnt": 2, "co": [5, 9, 10], "coastlin": 10, "code": [3, 6, 7, 8, 9, 10, 13, 17], "codemirror_mod": 3, "coeffici": 2, "colaboratori": 7, "collabor": 4, "colleagu": 7, "collect": [0, 1, 5, 7, 15, 16], "colleg": 9, "color": [6, 7, 8, 10, 11, 14], "colorbar": 10, "colorimetri": 13, "colormap": [13, 14], "colour": 10, "column": [2, 4, 5, 8, 9, 13], "com": [2, 6, 9, 13], "comand": 11, "combin": [2, 6, 7, 8, 10], "combined_xray_images_1": 14, "come": [2, 7, 8, 9, 10, 11, 12, 15], "comma": [4, 12], "command": [2, 4, 7, 8, 13], "commenc": [5, 9], "comment": [12, 15], "commerci": 9, "common": [3, 7, 9, 13, 15], "commonmark": 15, "commun": [15, 17], "compact": 8, "compar": [2, 3, 4, 5, 6, 13], "comparison": 7, "compat": [13, 14], "compel": 10, "competit": [7, 14], "complet": [5, 6, 7, 10, 12], "complex": [4, 7, 9, 10], "complex128": 10, "complic": [10, 11], "compon": [9, 11, 13, 14], "compos": [4, 10], "compress": [4, 13], "compromis": 9, "comput": [2, 5, 6, 7, 8, 9, 10, 11, 13, 14], "computation": 6, "compute_indic": 5, "con": 5, "concat": 9, "concaten": [5, 9], "concentr": 5, "concept": [5, 6, 7, 9, 11], "concern": [5, 9], "concis": 7, "conclus": [2, 4, 9, 11], "conda": [3, 6, 7, 9, 14], "condens": 5, "condit": [2, 7, 8, 14], "condition": 10, "conduct": 17, "confer": [9, 14], "confid": 5, "configur": 7, "confirm": 6, "confus": 10, "connect": 9, "consent": 9, "consid": [1, 2, 3, 4, 6, 8, 9, 10, 11, 12, 13, 14, 17], "consider": [9, 10], "consist": [2, 10, 11, 13, 15], "constant": [2, 10], "construct": [6, 9], "consum": 9, "contain": [2, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14], "content": [1, 3], "context": [9, 14], "contextu": 9, "continu": 3, "contribut": [1, 17], "control": [5, 6, 7, 9], "conv_mask": 10, "convei": [9, 10, 11], "conveni": [7, 9, 10, 14], "converg": [9, 10], "convers": 6, "convert": [2, 3, 7, 9, 11, 13], "convolut": [6, 7, 14], "cool": 10, "coordin": 11, "copi": [8, 10, 17], "copper": 10, "cord": 11, "cordbas": 11, "cordconnect": 11, "corddirect": 11, "cordtens": 11, "cordunit": 11, "core": 7, "cornel": 14, "corner": 17, "corpu": 9, "correct": [2, 5, 7, 9], "correctli": 8, "correspond": [5, 6, 8, 9, 10, 11, 13, 14], "could": [2, 7, 9, 10, 13], "count": [2, 6, 7, 8, 10], "counteract": 11, "countri": [8, 9], "coupl": [4, 10], "cours": [7, 10, 12, 13], "courtland": 2, "cover": [6, 7, 8, 15], "covid": 5, "cp": 5, "cpu": 7, "craft": 12, "crash": 13, "creat": [1, 3, 5, 6, 8, 9, 11, 14], "creation": 10, "credit": [6, 12], "creep": 9, "critic": [5, 7, 9], "crop": 7, "cross": [6, 7, 11, 12], "crossrefer": 12, "crucial": [9, 11], "cs224n": 9, "cs6670": 14, "csv": [5, 8, 9], "cubic": 8, "cumsum": 5, "cumul": [7, 8], "cur_x": 7, "curat": [9, 15], "current": [4, 7, 8, 9, 10], "curv": [8, 9], "custom": 9, "cvpr": 14, "cw": 9, "cycl": [6, 9, 10], "d": [7, 9, 11, 15], "d2l": 9, "d3": 11, "d_sin_sum": 10, "d_tan": 10, "da2": 9, "dai": 8, "daili": [5, 9], "daniel": 12, "dare": 9, "dash": 8, "dashboard": 8, "dat": 13, "data": [0, 1, 5, 7, 10, 12, 13, 14, 15, 17], "data_dir": 6, "data_sourc": 6, "data_without_stopword": 9, "databas": 14, "datacamp": 14, "datafram": 9, "dataset": [1, 4, 8, 13, 14], "datasheet": 6, "datatyp": 8, "date": [2, 8], "datetim": 5, "datetime64": 5, "david": 7, "db2": 9, "dbcm": 9, "dbf": 9, "dbi": 9, "dbo": 9, "dc_prev": 9, "dcmt": 9, "ddof": 5, "de": [9, 14], "deal": [8, 9], "debug": 7, "decad": [1, 2, 17], "decai": [7, 9], "decay_r": 7, "decid": [8, 9], "decis": [5, 9, 10], "decod": 7, "decomposit": 13, "decompress": 6, "decor": 12, "decreas": 6, "dedic": 9, "deem": 7, "deep": [0, 1, 2, 14, 17], "deeper": [6, 9], "deepmind": 7, "def": [5, 6, 7, 9, 10], "default": [2, 4, 6, 7, 9, 13], "default_rng": [5, 6, 7, 9], "defin": [1, 2, 4, 6, 9, 10, 11, 13], "definit": [2, 8, 10], "deg": [2, 8, 10], "degre": [2, 5, 10], "del": 4, "delet": [4, 8], "delhi": [0, 17], "delimet": 2, "delimit": [2, 4, 5, 8, 12], "demand": 9, "demi": 7, "demo": 7, "demograph": 9, "demonstr": [6, 7, 9, 11, 12], "denois": 9, "denom": 5, "denot": [5, 10, 11], "densiti": 10, "depend": [2, 6, 7, 9, 13, 15], "deriv": [6, 9, 10], "descent": [6, 7, 9], "describ": [2, 7, 8, 12], "descript": 5, "design": [2, 3, 6, 7, 9, 10], "desir": 2, "despit": [10, 11], "destin": 12, "detail": [7, 9, 10, 12, 13, 14, 15], "determin": [0, 6, 7, 8, 9, 17], "dev": 7, "develop": [6, 7, 9, 12, 17], "deviat": [5, 7, 14], "df": [9, 10], "dfrac": [2, 5, 10], "dft": 9, "dh": 7, "dh_cm": 9, "dh_f": 9, "dh_i": 9, "dh_last": 9, "dh_o": 9, "dh_prev": 9, "dhcm": 9, "dhi": 9, "dho": 9, "diagnos": 9, "diagon": 13, "dice": 7, "dicom": 14, "dict": 9, "dictat": 7, "dictionari": [2, 4, 6, 7, 9, 13], "did": [2, 4, 9, 10, 13], "diff": 5, "differ": [2, 3, 5, 6, 7, 8, 9, 10, 13, 14], "differenti": [6, 7, 9], "difficult": 9, "digest": 7, "digit": [2, 6], "dilut": 6, "dimens": [2, 6, 7, 9, 10, 11, 13, 14], "dimension": [2, 4, 6, 7, 9, 11, 14, 16, 17], "dioxid": 5, "dir": 14, "direct": [3, 7, 9, 11, 12], "directli": 8, "directori": [4, 7, 9, 15], "discount": 1, "discount_reward": 7, "discounted_epr": 7, "discounted_r": 7, "discoveri": 10, "discret": 7, "discrimin": 9, "discriminatori": 9, "discuss": [6, 7, 9], "diseas": 8, "disk": [3, 7], "displai": [6, 7, 13, 14], "display_nam": 3, "distanc": [10, 11, 14], "distil": 7, "distinct": [10, 12], "distinguish": [12, 13], "distribut": [5, 6, 7, 14], "dit": 9, "dive": 9, "diverg": 10, "diverge_len": 10, "divergence_r": 10, "divid": [5, 6, 10, 13], "divis": [9, 12], "divmod": 9, "di\u00e1taxi": 12, "dl": 9, "dlogp": 7, "do": [1, 7, 13, 14, 15], "docker": 7, "document": [6, 7, 8, 12, 13, 15, 17], "doe": [3, 5, 6, 8, 9, 10, 11, 13], "doesn": [7, 8, 9, 12], "dof": 5, "doi": [8, 9], "domain": 2, "don": [2, 5, 6, 7, 8, 9, 10, 12, 13, 15], "done": [7, 9, 10, 11, 12, 13], "dong": 8, "doom": 10, "dot": [6, 7, 9, 13], "dota": 7, "doubl": [2, 6, 12], "down": [7, 8, 9, 12], "download": [6, 8, 9, 13, 14, 17], "downsampl": 7, "dp": 10, "dqn": 7, "dr": 7, "draft": 15, "drawback": 3, "drawn": [5, 6, 9], "dream": 9, "drill": 9, "drop": 9, "dropout": 6, "dropout_mask": 6, "dtype": [4, 5, 6, 8, 10, 13, 14], "du": 8, "due": [5, 7, 9, 11, 13], "durat": 14, "dure": [5, 6, 7, 9, 12], "dw1": 7, "dw2": [7, 9], "dwcm": 9, "dwf": 9, "dwi": 9, "dwo": 9, "dz": 10, "dz2": 9, "e": [2, 4, 5, 10, 11], "each": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 17], "earli": [6, 9], "earlier": [7, 9], "earth": 9, "eas": 9, "easi": [9, 12], "easier": [2, 3, 4, 10], "easili": 11, "echo": 7, "econom": 13, "ed": 7, "edit": 15, "editor": [3, 4], "edu": 9, "educ": [7, 9, 17], "effect": 5, "effici": 10, "effort": 15, "effortlessli": 10, "either": [3, 8, 9, 17], "elabor": 8, "electron": 7, "eleg": 10, "element": [2, 5, 8, 10, 13], "elementari": 10, "elif": 5, "elimin": [6, 8, 13], "ellen": 9, "ellipsi": 13, "els": [5, 7, 11], "emac": 3, "eman": 11, "emb": 6, "emb_matrix": 9, "emb_path": 9, "embed": 9, "emerg": 10, "emot": 9, "emphas": 14, "empir": 2, "empti": [7, 11], "enabl": [2, 7], "encod": [7, 8], "encourag": [9, 10, 13], "end": [6, 7, 9, 11, 12, 14], "endless": 10, "endpoint": 12, "engag": [12, 15], "engin": [0, 2, 7, 11], "english": [12, 15], "enhanc": [6, 7, 9], "enough": [5, 10, 12], "ensheng": 8, "ensur": [5, 6, 8, 9], "enthusiasm": 12, "entir": [2, 10], "entri": [8, 11, 13, 15], "entropi": [6, 7], "enumer": [9, 10], "env": 7, "environ": [5, 6, 7, 9, 14, 15], "epdlogp": 7, "eph": 7, "episod": [1, 9], "episode_numb": 7, "epoch": [6, 9], "epoch_rang": 6, "epr": 7, "epsilon": 9, "epx": 7, "equal": 5, "equat": [2, 10, 11], "equilibrium": [0, 17], "equival": 10, "eras": 7, "error": [2, 6, 7, 9, 10, 13], "especi": [9, 14], "essenti": 9, "establish": [6, 9], "estim": [7, 8, 14], "et": [6, 7], "etc": [5, 10], "ethic": [1, 6], "ethnic": 9, "evalu": [5, 6, 9], "even": [2, 5, 7, 9, 10, 12, 13, 15], "ever": 10, "everi": [2, 5, 7, 9, 13], "everydai": 9, "everyth": 7, "evid": 5, "evolut": 8, "exact": 6, "examin": [6, 8], "exampl": [3, 6, 7, 8, 9, 10, 13, 14], "exceed": 14, "except": [12, 13], "excis": 13, "excit": 10, "exclud": 8, "execut": [1, 3, 6, 9, 13], "execution_count": 3, "exercis": 12, "exhibit": 9, "exist": [6, 11, 13, 15, 17], "exist_ok": 6, "exot": 10, "exp": [2, 7, 9], "expect": [1, 2, 6, 9, 10, 13], "experi": [6, 7, 9, 10, 11, 13], "experienc": 11, "expert": 12, "explain": [3, 7, 10, 12], "explan": 13, "explicit": 7, "explod": [9, 10], "exploit": 7, "explor": [7, 10], "expon": 10, "exponenti": [7, 9], "export": 2, "express": [9, 10, 12], "extend": 8, "extens": [3, 9], "extent": 10, "extern": 6, "extra": [2, 9], "extract": [8, 9, 13, 14], "extrem": [2, 9, 10], "ey": 10, "f": [2, 6, 9, 10, 11, 13, 14], "f_": 11, "f_tan": 10, "f_x": 11, "f_y": 11, "f_z": 11, "face": [5, 13], "fact": 13, "factor": [2, 6, 7, 9], "fail": 5, "fair": 9, "fairli": 13, "fall": 12, "fals": [5, 6, 7, 8, 9, 14], "famili": [7, 9], "familiar": [6, 7, 8, 9, 10, 12], "famou": 10, "far": [8, 14], "fascin": 10, "fast": [7, 8], "faster": [6, 9, 10], "fc_cach": 9, "fc_valu": 9, "featur": [4, 6, 9, 10, 13, 14, 17], "feb": 8, "februari": 8, "fed": 7, "feed": [5, 6, 7], "feedback": 7, "feedforward": [6, 7], "feel": 12, "femal": 9, "femin": 9, "fern": 10, "fetch": [5, 9], "few": [5, 6, 7, 8, 9], "ffmpeg": 7, "fh": [6, 9], "fiddl": 10, "field": [6, 7], "fig": [6, 9, 10, 11, 14], "figsiz": [6, 10, 14], "figur": [2, 9, 10, 11, 12], "file": [6, 7, 8, 9, 12, 13, 14, 15, 17], "file_extens": 3, "filenam": 8, "filepath": 8, "filetyp": 4, "fill": [10, 12], "fill_diagon": 13, "fill_valu": 8, "filter": [6, 8], "final": [2, 6, 7, 8, 9, 10, 14], "final_layer_output": 6, "financi": 9, "find": [2, 5, 6, 7, 8, 14], "fine": [6, 7, 8, 9, 12], "fingerprint": 9, "finish": [4, 6, 7, 9], "finit": 7, "fire": 7, "first": [2, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15], "firstli": 9, "fit": [2, 6, 9], "five": [2, 6, 7, 11], "fivethirtyeight": 2, "fix": [7, 15], "flag": 8, "flatten": 7, "float": [2, 4, 5, 7, 9, 13, 14], "float16": 14, "float32": 14, "float64": [4, 6, 13, 14], "floor": 11, "flow": 9, "fmin": 9, "fmt": 4, "fname": 6, "focu": [9, 10, 14], "focus": [8, 9, 14], "folder": [8, 9, 14], "follow": [2, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "footnot": 12, "footprint": 7, "forc": [4, 7, 9, 11], "forcea": 11, "forceb": 11, "forcec": 11, "forcecord": 11, "forg": 3, "forget": [6, 9], "forgotten": 9, "fork": 15, "form": [2, 5, 6, 7, 9, 10, 13, 15], "format": [2, 3, 4, 5, 7, 9, 12, 14, 15], "format_nam": 3, "format_vers": 3, "former": 9, "formula": [2, 5, 9, 13, 14], "forth": 13, "fortun": 13, "forward": [1, 6], "forward_prop": 9, "found": [8, 10, 13, 17], "four": [2, 8, 9], "fourier": 14, "fourier_gaussian": 14, "fourth": [2, 8], "fp_fc_layer": 9, "fp_forget_g": 9, "fp_input_g": 9, "fp_output_g": 9, "fpath": 6, "frac": [2, 5, 9, 10, 11], "fractal": [0, 2, 17], "frame": [1, 14], "frame_preprocess": 7, "framework": [6, 7, 9, 12], "free": [7, 12], "freedom": 5, "freeglut3": 7, "frequenc": 14, "from": [1, 2, 4, 5, 8, 10, 11, 12, 13, 14, 17], "frombuff": 6, "ft": 9, "full": [7, 13], "fulli": [1, 9, 17], "fun": 10, "function": [1, 4, 5, 6, 8, 9, 10, 11, 13, 16], "further": [6, 7, 9], "furthermor": 13, "futur": 4, "g": [2, 4, 7, 10, 11, 13], "gain": [7, 10], "game": 7, "gameplai": 7, "gamma": 7, "gammon": 7, "gardner": 8, "gate": 9, "gather": 8, "gaussian_gradient_magnitud": 14, "gaussian_laplac": 14, "gbowe": 9, "gebru": 6, "gender": 9, "gener": [4, 5, 6, 7, 8, 9, 11, 12, 13], "general_julia": 10, "genfromtext": 4, "genfromtxt": 8, "gentl": 5, "geoffrei": [6, 7], "geograph": 8, "gerald": 7, "get": [2, 5, 6, 7, 8, 9, 10, 12, 13], "get_action_mean": 7, "getcwd": 8, "gif": [9, 14], "gif_path": 14, "gigabyt": 14, "gist": 9, "gist_stern": 10, "github": [6, 7, 9, 15], "githubusercont": 13, "give": [2, 7, 10, 11, 12, 13, 14, 15], "given": [2, 5, 7, 9, 10, 11, 13], "glanc": 10, "glimps": 5, "glob": 7, "global": 9, "globe": 9, "glossari": 1, "glove": 9, "glovemodel": 9, "go": [7, 8, 9, 10, 12, 13, 15], "goal": [3, 6, 7, 10, 11, 17], "goe": [7, 13], "golub": 13, "good": [2, 6, 8, 9, 12], "googl": [6, 7], "gordon": 2, "got": [10, 13], "govern": 9, "gpu": [6, 7, 9], "grab": 2, "grad": [7, 9], "grad_buff": 7, "grade": 12, "gradient": [6, 7, 9], "grai": [6, 7, 13, 14], "graph": [8, 11, 13], "graphic": [10, 12], "grayscal": [6, 7, 13, 14], "great": [2, 6, 7, 9], "greater": [5, 9, 14], "greatli": 10, "green": [2, 7, 13], "green_arrai": 13, "greenfield": 9, "greenish": 10, "greens_r": 10, "greta": 9, "grokk": 6, "ground": 11, "group": [8, 9], "grow": [9, 10], "gt": 12, "guardian": 9, "guid": [2, 3, 7, 8], "gym": 7, "gz": 6, "gzip": 6, "h": [5, 7, 10, 13], "h_": [5, 9], "ha": [2, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15], "had": [7, 9, 13], "half": 2, "hand": [6, 10, 12], "handl": [3, 6, 8, 9], "handwritten": 6, "happen": [7, 9, 10, 13], "happi": 9, "hard": [3, 10], "hardmask": 8, "hardwar": [7, 13], "harvei": 9, "hash": 9, "hasn": 6, "hassabi": 7, "hausdorff": 10, "have": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15], "haven": 15, "he": 9, "head": [2, 4, 5], "header": [2, 4, 8], "health": 14, "healthcar": [9, 14], "height": 7, "helicopt": 7, "help": [5, 6, 7, 9, 10, 11, 12, 13, 14, 15], "helper": [7, 9], "henc": [7, 9], "her": 9, "here": [2, 3, 4, 6, 8, 9, 10, 12, 13, 15], "herself": 9, "hi": [2, 7, 9], "hidden": [6, 7, 9], "hidden_dim": 9, "hidden_s": 6, "high": [6, 7, 9, 14, 17], "higher": [2, 4, 6, 7, 9, 10, 12], "highest": 6, "highlight": 0, "him": 9, "himself": 9, "hinton": [6, 7], "histogram": 14, "histor": 9, "histori": 2, "hit": 7, "ho": 4, "hold": [2, 11], "home": 13, "hong": 8, "hongru": 8, "hood": 13, "hope": 9, "hopefulli": 9, "hopkin": 13, "horizon": 7, "horizont": 14, "host": [5, 14, 15], "hot": [10, 14], "hour": [5, 7], "hourli": 5, "hous": 9, "how": [1, 2, 3, 5, 6, 8, 10, 11, 13, 14, 15], "howev": [6, 7, 8, 9, 11, 13], "hsjeong5": 6, "html": [7, 9], "http": [2, 6, 7, 8, 9, 13], "hubei": 8, "huffpost": 9, "human": [5, 7, 9], "humor": 9, "hundr": [2, 7], "hyperparamet": [6, 9], "hypot": 14, "hypothesi": 10, "i": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "ibm": 7, "icon": 17, "idea": [2, 8, 10, 13, 15], "ideal": 12, "identifi": [6, 8, 9, 14], "idl": 13, "idx1": 6, "idx3": 6, "ieee": 2, "ignor": [4, 9], "ih": 5, "ihi": 5, "il": 5, "ill": 9, "ilo": 5, "im": 10, "im6100": 2, "imag": [0, 2, 7, 9, 10, 12, 13, 15, 17], "image_label": 6, "imageio": 13, "imagin": 12, "imaginari": 10, "imbalanc": 9, "imdb": 1, "imdb_test": 9, "imdb_train": 9, "img": [13, 14], "img_arrai": 13, "img_array_transpos": 13, "img_as_float": 13, "img_grai": 13, "imit": 7, "immedi": 5, "impact": [0, 6, 17], "impair": 9, "implement": [7, 8, 9, 14], "impli": 9, "implic": 7, "import": [2, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14], "importerror": 13, "impos": 5, "impress": 10, "improv": [5, 7, 9], "imread": [13, 14], "imshow": [6, 7, 10, 13, 14], "in_fil": 9, "inc": 5, "includ": [2, 3, 4, 7, 8, 9, 12, 13, 15], "incom": 9, "incomplet": 12, "increas": [2, 6, 7, 9, 10], "incred": 2, "increment": 6, "independ": 2, "index": [2, 6, 7, 8, 9, 10, 13], "india": [0, 17], "indic": [6, 7, 8, 9, 13], "indistinguish": 13, "individu": [2, 6, 9, 10, 11, 13, 17], "induct": 9, "industri": [2, 14], "ineffici": 7, "infecti": 8, "infinit": 10, "influenc": [7, 9, 10], "info": [4, 7, 8], "inform": [2, 6, 7, 8, 9, 10, 12, 13, 15], "ingest": 6, "ingredi": 12, "inher": [2, 9], "initi": [2, 6, 7, 8, 9], "initialis": 9, "initialise_mav": 9, "initialise_param": 9, "initialize_grad": 9, "inlin": 13, "input": [3, 5, 6, 7, 9, 10, 12, 13], "input_channel": 14, "input_dim": 9, "inquir": 13, "insid": [7, 8, 9, 10, 12], "insight": [2, 10], "inspect": [2, 6], "inspir": 12, "instal": [3, 5, 7, 13], "instanc": [6, 7, 9], "instanti": [7, 9], "instead": [7, 8, 9, 11, 13, 14, 15], "instinct": 13, "institut": [9, 14], "instruct": [7, 10], "instrument": 2, "int": [4, 6, 9], "int64": [8, 10], "int_": 8, "intact": 13, "integ": [4, 6, 7, 8, 10, 13, 14], "intel": 2, "intellig": 9, "intend": 12, "intens": [6, 13, 14], "interact": [7, 8, 9, 11, 15], "interchang": 13, "interest": [2, 7, 8, 10, 13, 14, 15, 17], "interfac": [3, 7], "interfer": 8, "intermedi": [7, 9], "interpol": 8, "interpret": [5, 14], "intersil": 2, "interv": 6, "introduc": [2, 6, 7, 9], "introduct": [1, 2, 5, 8], "introductori": 7, "intuit": [5, 10], "invalid": 8, "invit": 12, "involv": [10, 11], "io": [4, 7, 8, 9], "ip": 5, "ipynb": [15, 17], "ipython": [3, 4, 7, 12, 13], "ipython3": 3, "ipythondisplai": 7, "ironi": 9, "isfil": 9, "isfinit": 5, "isol": [6, 7, 9, 11, 14], "issn": 8, "issu": [6, 7, 8, 9, 17], "item": [6, 7, 9], "iter": [6, 9, 10, 12], "iter_cont": 6, "its": [2, 6, 7, 8, 9, 10, 13, 14, 15], "itself": [9, 10], "j": [6, 10, 13], "jan": 8, "jane": 7, "januari": 8, "jax": [6, 7, 9], "jet": 10, "ji": 7, "john": [7, 13], "johnston": 11, "join": [5, 6, 8, 9, 14], "json": 3, "jump": 10, "june": 5, "jupyt": [1, 4, 6, 9, 14, 17], "jupyterlab": [6, 7, 9, 14], "jupytext": 15, "jupytext_vers": 3, "just": [6, 8, 9, 10, 11, 12, 13, 14], "k": [7, 9, 13], "kage": 4, "kaggl": [8, 14], "kalluri": [6, 9], "karpathi": 7, "keep": [2, 3, 8, 9, 10, 11, 12, 13], "keepdim": 9, "kei": [3, 4, 5, 6, 9], "kernel": 14, "kernelspec": 3, "kind": [7, 8, 9, 12, 13, 15], "kinet": 11, "king": 9, "knew": 12, "know": [8, 9, 12, 13], "knowledg": [6, 7, 10, 14], "known": [7, 10, 14], "kong": 8, "kouridi": 9, "kurth": 7, "kwarg": 10, "l": [2, 9, 11], "lab": 3, "label": [2, 4, 7, 9, 10, 11, 17], "lack": [5, 9], "lambda": [2, 9, 10], "lancet": 8, "languag": [3, 7, 9, 15], "language_info": 3, "larg": [7, 9, 10], "larger": [2, 6, 10, 11], "largest": 13, "last": [1, 2, 6, 7, 10, 12, 13, 17], "last_h": 9, "late": 8, "later": [5, 6, 8, 9], "latter": 9, "launch": [3, 15, 17], "lauren": 8, "law": [0, 17], "layer": [6, 7, 9], "layer_0": 6, "layer_1": 6, "layer_1_delta": 6, "layer_2": 6, "layer_2_delta": 6, "lead": [7, 10], "learn": [0, 1, 14, 15, 17], "learner": 12, "learning_r": [6, 7, 9], "least": [2, 9, 14], "leav": 2, "lectur": [7, 13, 14], "lecun": [6, 7], "led": 9, "left": [2, 5, 6, 7, 9, 11], "leftfir": 7, "legend": [2, 6, 8, 9, 11], "len": [5, 6, 7, 8, 9], "length": [5, 9, 11], "lengthi": 9, "less": [5, 10, 11, 13, 14], "let": [4, 5, 6, 7, 8, 9, 10, 11, 13, 14], "level": [5, 6, 7, 9, 10, 12, 13], "leymah": 9, "lgbtqa": 9, "librari": [3, 4, 5, 6, 7, 11, 13], "licens": [7, 12, 15], "lie": 2, "life": [5, 9, 15], "lightgrai": 10, "lightweight": 3, "like": [2, 3, 5, 6, 7, 8, 9, 10, 12, 13, 15], "likeli": 12, "likelihood": 9, "likewis": 10, "limit": [2, 6, 7, 9], "lin": 7, "linalg": [11, 13], "linda": 9, "line": [2, 4, 7, 8, 9, 13], "line2d": 8, "linear": [2, 5, 6, 7, 9, 11, 16, 17], "link": [7, 10, 12], "linspac": [2, 10], "linux": 7, "list": [6, 7, 9, 10, 12], "literatur": 7, "littl": [2, 10], "live": [5, 9, 10, 17], "ll": [6, 7, 9, 13, 14, 15], "load": [1, 14], "load_xi": 4, "loadglovemodel": 9, "loadtxt": [2, 4, 5], "loan": 13, "loc": [2, 9], "local": [3, 6, 7, 9, 14, 17], "locat": [2, 8, 9, 10, 11], "lockdown": [0, 17], "log": [2, 7, 9], "log_": 2, "logic": 8, "logit": 7, "long": [1, 6, 7, 10, 12], "longer": [6, 7, 9], "look": [1, 2, 3, 5, 6, 8, 10, 11, 13], "loop": [5, 6, 7, 9, 10, 13], "lose": 10, "loss": [6, 7, 9], "loss_f": 9, "lot": [7, 10], "low": [6, 14], "lower": [5, 6, 9], "lowercas": 9, "lowermost": 8, "lowest": 6, "lstm": 1, "lstm_cach": 9, "lstm_valu": 9, "lt": 12, "luther": 9, "m": [9, 11, 13], "m8": 5, "m_": 11, "ma": [2, 8], "maa": 9, "macau": 8, "machin": [6, 7, 9, 12, 14], "maco": 7, "made": [2, 3, 9, 10, 14], "magic": 4, "magnitud": [6, 7, 11], "mai": [4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 17], "main": [6, 7, 12, 13, 15, 17], "mainland": 8, "maintain": [2, 15], "major": 7, "make": [1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 17], "make_axes_locat": 10, "make_axis_locat": 10, "makedir": 6, "maker": 14, "malala": 9, "male": 9, "man": 2, "manag": [2, 9], "mani": [6, 7, 8, 9, 10, 12, 13, 14], "manipul": [6, 7, 9, 11, 13, 14], "manner": 6, "manual": 7, "map": [6, 7, 9, 10, 14], "mapsto": [2, 10], "mar": 2, "march": 5, "margaret": 6, "mark": [3, 9], "markdown": [3, 12, 15], "markers": 2, "markup": 3, "marshal": 9, "martin": 9, "mask": [16, 17], "masked_arrai": 8, "masked_valu": 8, "maskedarrai": 8, "mass": 11, "master": 7, "match": [2, 10, 14], "materi": [7, 14, 15, 17], "math": [2, 7, 9], "mathbf": 2, "mathemat": [5, 9, 10], "matlab": 13, "matmul": 13, "matplotlib": [2, 6, 7, 8, 9, 10, 11, 13, 14], "matric": [6, 11, 13, 14], "matrix": [2, 6, 7, 9, 11, 13], "matter": 5, "matthew": 7, "max": [2, 5, 13, 14], "max_episod": 7, "max_row": 8, "max_valu": 14, "maxim": [6, 7], "maximum": [2, 5, 6, 7, 13, 14], "mayb": 8, "mazurek": 11, "md": [2, 13, 15, 17], "me": 9, "mean": [2, 3, 7, 8, 9, 10, 11, 13, 14], "mean_test_cost": 9, "mean_train_cost": 9, "meaning": 6, "meant": 11, "measur": [2, 5, 6, 7, 9, 11, 12, 14], "mechan": [7, 9, 11], "media": 9, "median": 14, "medic": [9, 14], "meet": [10, 17], "mellon": 14, "memori": [1, 6, 7, 8, 13, 14], "mention": [8, 10], "mesh": 10, "meshgrid": 10, "messag": 13, "metadata": 3, "meter": 11, "method": [2, 5, 6, 7, 8, 9, 11, 13], "metric": 6, "mew": 2, "microprocessor": 2, "middl": 6, "might": [5, 8, 13, 15], "milk": 9, "million": 7, "mimetyp": 3, "mimwrit": 14, "min": [2, 9, 13, 14], "min_valu": 14, "mind": [8, 9, 13], "mini": 6, "minim": [2, 6, 7], "minimum": [13, 14], "minut": [6, 9], "mirror": 6, "misc": 13, "mischaracter": 8, "miss": [4, 5, 7], "mission": 9, "mistak": 10, "mitchel": 6, "mitig": [6, 9], "mixtur": [6, 9], "ml_1971": 2, "ml_1973": 2, "mlp": 9, "mm\u00b2": 2, "mnih": 7, "mnist": [0, 2, 9, 17], "mnist_dataset": 6, "mnist_fil": 6, "mnist_imag": 6, "mo": 2, "mode": [6, 7], "model": [1, 2, 7, 8, 11], "modifi": [6, 8, 9], "modul": [4, 5, 6, 7, 8, 9, 12, 13, 14], "modulu": 10, "momentcord": 11, "monitor": 7, "monoxid": 5, "mont": 7, "month": 7, "moor": [0, 17], "moore_model2017": 2, "moores_law": 2, "mooreslaw": 2, "mooreslaw_regress": 2, "more": [2, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15], "moreov": 9, "mosprocess": 2, "most": [4, 5, 6, 7, 8, 9, 12, 13], "mostli": 8, "motion": 7, "motorola": 2, "move": [7, 9, 11], "movement": 11, "movi": 9, "moving_mean": 5, "mp4": 7, "mp4list": 7, "mp4video": 7, "mpl_toolkit": 10, "mu_": 5, "much": [2, 3, 4, 5, 6, 7, 9, 10, 13, 15], "multi": [6, 9, 14], "multidimension": [6, 7], "multilay": 9, "multipl": [4, 5, 6, 7, 9, 10, 13], "multipli": [6, 7, 11, 13], "mundan": 10, "museum": 9, "must": [3, 11, 13], "mxn": 13, "mxnet": [6, 7], "my": 9, "myself": 9, "myst": 15, "mystifi": 10, "n": [2, 3, 5, 6, 7, 8, 9, 10, 14, 16, 17], "name": [2, 3, 4, 6, 8, 9], "nan": [5, 8], "nation": [9, 14], "nativ": [4, 12], "natur": [2, 9, 10], "nb": 15, "nbc": 9, "nbcase": 8, "nbcases_ma": 8, "nbconvert_export": 3, "nbformat": 3, "nbformat_minor": 3, "ncol": [6, 14], "ncubic": 8, "ndarrai": [6, 8, 13, 14], "ndim": 13, "ndimag": 14, "nearest": 9, "nearli": [2, 10], "neat": 10, "neatli": 9, "nec": 2, "necess": 9, "necessari": [4, 5, 7, 9, 10], "need": [6, 7, 9, 13, 14], "needless": 10, "neg": [6, 7, 8, 9, 13], "neg_indic": 9, "neg_para": 9, "negat": 8, "neighbor": 9, "nelson": 7, "nep": 17, "network": 1, "neural": 1, "neuron": 7, "neurosci": 7, "never": [9, 12], "new": [2, 4, 6, 7, 8, 9, 12, 14, 15], "newaxi": [2, 4], "newli": 10, "newspap": 9, "newton_fract": 10, "next": [1, 2, 4, 5, 8, 10, 11, 12], "next_c": 9, "next_h": 9, "nh3": 5, "nice": 4, "nih": 14, "nipy_spectr": 14, "nitric": 5, "nitrogen": 5, "nlp": [2, 9], "nm": 2, "no2": 5, "no_neg_para": 9, "no_para": 9, "no_pos_para": 9, "node": [7, 9], "nois": [9, 14], "noisi": 14, "nomask": 8, "non": [5, 6, 7, 9, 13], "none": [6, 7, 9], "nonetheless": 9, "nonzero": 8, "noop": 7, "nor": 9, "norm": [11, 13], "normal": [5, 6, 7, 9, 10, 11, 13, 14], "notabl": [1, 7, 10, 17], "notat": [4, 6, 10], "note": [1, 2, 3, 5, 6, 8, 10, 11, 12, 13, 14, 17], "notebook": [1, 6, 9, 14, 16, 17], "notic": [4, 7, 13, 15], "now": [2, 3, 4, 5, 8, 9, 10, 11, 12, 13, 14], "nowadai": 9, "nox": 5, "np": [2, 4, 5, 6, 7, 8, 9, 10, 11, 13], "nper": 2, "npy": [4, 9], "npz": [2, 4], "nrow": [6, 14], "null": [5, 7], "nullifi": 11, "num": 5, "num_exampl": 6, "num_img": 14, "num_it": 10, "num_label": 6, "number": [1, 2, 4, 6, 8, 9, 10, 11, 13, 14], "number_of_header_lin": 4, "numer": [6, 7, 8, 9], "numpi": [3, 5, 7, 8, 9, 10, 13, 14, 15], "nvidia": 6, "nyear": 2, "o": [6, 8, 9, 12, 14], "o3": 5, "object": [7, 11, 14], "obscur": 12, "observ": [1, 2, 5, 8, 9, 11], "observation_fram": 7, "observation_spac": 7, "obtain": [1, 5, 7, 13, 14], "obvious": 8, "occup": 9, "occur": [6, 9], "occurr": 9, "oct": 2, "off": [7, 14], "offer": [5, 7, 12], "offici": [7, 8, 9], "offset": 6, "often": [7, 9, 10], "oftentim": 10, "old": 9, "omit": 6, "onc": [2, 3, 9, 10, 13], "one": [2, 4, 5, 7, 9, 10, 11, 12, 13, 14], "one_hot_encod": 6, "one_hot_label": 6, "ones": [2, 5, 7, 8, 9, 10, 11, 14], "onli": [3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "onto": [2, 14], "opaqu": 2, "open": [3, 4, 6, 7, 9, 12, 15, 17], "openai": 7, "openi": 14, "oper": [2, 6, 8, 9, 10, 11], "oppon": 7, "opportun": 5, "optim": [6, 7, 9, 11], "option": [2, 7, 9, 12, 15], "orang": [2, 8], "order": [8, 10, 11, 12, 13], "ordinari": 2, "ordinarili": 12, "org": 8, "organ": [2, 8, 13], "origin": [2, 5, 6, 7, 8, 9, 10, 11, 13, 14], "oriol": 7, "os_cach": 9, "ot": 9, "other": [2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "otherwis": [6, 7, 10, 11, 13, 14, 15], "ought": 9, "our": [1, 2, 5, 8, 10, 11, 13], "ourselv": [5, 8, 9, 10], "out": [2, 5, 6, 7, 9, 10, 12, 13, 14], "outbreak": 8, "outcom": 9, "outdir": 9, "outer": [6, 7], "outli": 11, "outlin": [7, 15], "output": [1, 2, 3, 4, 6, 7, 8, 10, 13, 15], "output_channel": 14, "output_fil": 9, "output_scrol": 7, "output_typ": 3, "outsid": 13, "oven": 12, "over": [2, 5, 6, 7, 8, 9, 10, 14], "overal": 7, "overcorrect": [6, 7], "overexplain": 12, "overfit": [6, 9], "overview": 1, "own": [8, 9, 13, 14, 17], "oxid": 5, "ozon": 5, "p": [7, 10], "p_valu": 5, "packag": [2, 7, 8, 9, 12, 14], "pad": 10, "page": [8, 9, 10, 12, 13], "pain": 9, "pair": [2, 10, 15], "panda": [5, 9], "pandem": 5, "paper": [6, 7, 14], "para": 9, "para_len": 9, "para_token": 9, "paragraph": 9, "parallel": 9, "param": 9, "paramet": [1, 2, 5, 6, 7, 8, 10, 14], "part": [2, 5, 7, 8, 9, 14, 17], "partial": 7, "particul": 5, "particular": [5, 8, 9, 10, 13, 14], "particularli": 14, "pass": [1, 5, 6, 9, 10], "past": [7, 9], "path": [6, 8, 9, 14], "patient": 14, "pattern": 10, "payment": 9, "payoff": 12, "pd": 9, "pdf": 9, "pdp": 2, "peform": 13, "peopl": [4, 9, 13, 15], "per": 2, "percentag": 9, "perceptron": [6, 9], "perform": [2, 5, 6, 7, 9, 10, 11, 13], "perhap": 12, "period": [5, 8], "permiss": 6, "permut": 13, "perpendicularli": 11, "person": 9, "perspect": 1, "pertain": [9, 16], "pi": [10, 14], "pick": 12, "pickl": [4, 6], "piec": 9, "pieter": 7, "pin": 2, "pioneer": [6, 7], "pip": [3, 7], "pipelin": 9, "pixel": [1, 2, 6, 13, 14, 17], "pixel_intensity_distribut": 14, "pixels_per_imag": 6, "place": [4, 6, 9, 10, 12], "placehold": 13, "plagu": 9, "plai": [7, 9, 10], "plain": 9, "plan": 15, "plane": 10, "plasma": 10, "plasma_r": 10, "platform": 9, "plausibl": 6, "playback": 1, "player": 7, "pleas": 15, "plot": [0, 2, 6, 7, 8, 9, 11, 13, 14, 17], "plot_fract": 10, "plt": [2, 6, 7, 8, 9, 10, 11, 13, 14], "plug": [2, 10], "pm": [2, 5], "pm10": 5, "pm2": 5, "pneumonia": 14, "png": 14, "podcast": [6, 9], "point": [2, 4, 7, 8, 9, 11, 12, 13, 14], "pointer": 9, "pol": 5, "pole": 11, "polebas": 11, "poledirect": 11, "polici": [1, 9], "policy_backward": 7, "policy_forward": 7, "polish": [12, 15], "pollutant_data": 5, "pollutants_a": 5, "pollutants_a_24hr_avg": 5, "pollutants_b": 5, "pollutants_b_8hr_avg": 5, "polynomi": [2, 8, 10], "pong": [1, 2, 17], "pooch": 9, "poorli": 9, "pop": 9, "popul": [5, 9], "popular": [7, 9], "portal": 14, "portion": [8, 13], "portrait": 12, "pos_indic": 9, "pos_para": 9, "pos_perc": 9, "pose": 10, "posit": [6, 7, 9, 10], "possess": 10, "possibl": [6, 7, 8, 13, 15], "possibli": 8, "post": [6, 7, 9, 17], "potenti": 6, "power": [2, 3, 6, 7, 9, 10, 15], "ppo": 7, "practic": [6, 7, 9, 13], "practition": 7, "prais": 9, "pratyusha": [6, 9], "precis": [2, 6], "pred": 9, "predefin": [7, 9], "predict": [2, 6, 9], "prefer": [2, 5, 7, 13], "prepar": [2, 6, 9, 14], "preprocess": 1, "preprocessed_random_fram": 7, "prerequisit": [1, 12], "present": [7, 9, 12, 14, 15], "preserv": [4, 8, 9], "press": 13, "pretti": 13, "prev": 9, "prev_c": 9, "prev_h": 9, "prev_x": 7, "prevent": [6, 7, 9], "previou": [6, 7, 9, 13], "previous": [6, 7, 10], "prewitt": 14, "primarili": 9, "prime": 10, "print": [2, 3, 4, 5, 6, 7, 9, 11, 12, 14], "prior": [11, 13], "priorit": 9, "prism": 14, "probabl": [7, 9], "problem": [7, 8, 9, 11], "problemat": 9, "proce": [7, 13], "procedur": [6, 10], "process": [0, 2, 4, 5, 6, 7, 8, 9, 11, 17], "processor": 2, "procida": 12, "produc": [2, 6, 11, 14, 15], "product": [7, 11, 12], "program": [4, 9, 10], "progress": 2, "project": [9, 10, 11, 17], "promin": 5, "promot": 6, "propag": [1, 6, 7], "properli": 15, "propos": 15, "protect": 9, "provid": [5, 6, 7, 8, 9, 12, 14, 17], "provinc": 8, "proxim": 7, "pseudocod": 7, "pseudonym": 9, "public": [6, 9, 14], "publish": [6, 7, 14], "pull": [3, 15], "punctuat": 9, "purpl": 10, "purpos": [5, 6, 7, 11], "put": [2, 9, 10, 12], "py": [2, 3, 4, 7], "pydicom": 14, "pygments_lex": 3, "pyopengl": 7, "pyplot": [2, 6, 7, 8, 9, 10, 11, 13, 14], "pythagorean": 14, "python": [2, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14], "python3": 3, "pytorch": [6, 7, 9], "pyvirtualdisplai": 7, "pz": 10, "q": 7, "qualiti": [0, 2, 6, 7, 17], "quantifi": 10, "quest": 14, "question": [9, 10, 12], "quick": [5, 7, 10], "quicker": 10, "quickli": 15, "quickstart": 14, "quit": [6, 7, 10], "quiver": 11, "r": [7, 8, 9, 10, 11, 13], "r_": 11, "r_x": 11, "r_y": 11, "r_z": 11, "rachel": [2, 6, 9], "racial": 9, "racism": 9, "racket": 7, "radb": 11, "radbd": 11, "radcf": 11, "radic": [6, 9], "radiologi": 14, "radiu": [10, 11], "rai": [0, 2, 17], "rainbow": 10, "rais": 10, "raise_for_statu": 6, "random": [5, 6, 7, 9], "random_fram": 7, "randomli": [6, 7, 9], "rang": [2, 5, 6, 7, 8, 9, 10, 13, 14], "rapid": 14, "rare": 5, "raspberri": 14, "rate": [2, 6, 7, 9], "rather": [7, 10, 12], "ratio": 10, "ravel": [7, 10], "raw": [3, 13, 14], "ray8": 14, "rb": [6, 9], "re": [4, 7, 8, 9, 12, 14, 17], "reach": [6, 7], "reaction": 11, "read": [2, 4, 6, 7, 9, 14], "read_csv": 9, "readabl": [3, 8], "reader": [6, 7, 9, 12, 14], "readi": [12, 13], "readm": 15, "real": [0, 5, 6, 7, 8, 9, 10, 13, 15, 17], "realiz": 10, "realli": 10, "reason": [7, 10, 13, 15], "reassembl": 13, "rebuild": [3, 13], "recal": [7, 13], "recap": 10, "receiv": 7, "recent": [9, 12], "recip": 12, "recogn": 6, "recognit": 7, "recommend": 9, "reconstruct": 13, "record": [8, 9], "recov": [2, 13], "rectangl": [9, 13], "rectifi": [6, 7], "recur": 12, "recurr": 9, "red": [2, 7, 13], "red_arrai": 13, "reduc": [6, 7, 10], "refer": [6, 7, 9, 12, 13, 14], "reflect": [6, 9, 12], "refrain": 9, "refresh": [6, 8, 9, 13, 14], "regard": [6, 7], "regardless": [9, 13], "regex": 9, "region": [8, 10, 14], "registri": 9, "regress": 2, "regression_cst": 2, "regressor": 2, "regul": 9, "regular": [6, 8, 9, 17], "reilli": 9, "reinforc": [1, 2, 9, 17], "reject": 5, "rel": [10, 14], "relat": [9, 10, 11, 13], "relationship": [5, 6, 7], "relev": [9, 11], "reli": 7, "relu": [6, 7], "relu2deriv": 6, "remain": [7, 10, 11], "remark": 9, "rememb": [9, 15], "remot": [7, 9], "remov": [7, 8, 9, 14], "remove_punc": 9, "remove_stopword": 9, "remove_tag": 9, "renam": 10, "render": [3, 7, 15], "reorder": 13, "repeat": [6, 7, 13], "replac": [5, 6, 8, 9, 12], "replai": 7, "replic": 2, "repo": 15, "report": [2, 6, 9], "repositori": [14, 15, 17], "repres": [2, 8, 9, 10, 11, 13], "represent": [6, 9], "reproduc": [1, 6, 7, 9, 17], "request": [3, 6, 15], "request_opt": 6, "requir": [5, 7, 10, 11, 12], "rescal": 14, "research": [6, 7, 9, 10, 14], "resembl": 6, "reset": [6, 7], "reset_index": 9, "reshap": [6, 7, 9], "resist": 11, "resolv": 7, "resort": 10, "resourc": [6, 9], "resp": 6, "respect": [2, 4, 6, 7, 9, 11], "respond": 15, "respons": [9, 11], "rest": 10, "restrict": 14, "restructur": [3, 17], "restructuredtext": 15, "result": [4, 5, 6, 9, 10, 11, 13], "ret": 5, "retain": [9, 13], "retriev": [9, 14], "return": [1, 5, 6, 8, 9, 10, 12, 14], "reus": 10, "revers": [6, 7, 9], "review": [1, 3, 7, 15], "revis": 2, "reward": 1, "reward_sum": 7, "rgb": 13, "rgb_arrai": 7, "richard": 7, "right": [3, 6, 7, 8, 9, 10, 11, 12, 13, 17], "rightarrow": 2, "rightfir": 7, "rightmost": 8, "ritter": 7, "rl": 1, "rm": 13, "rmsprop": 7, "rmsprop_cach": 7, "rng": [5, 6, 7, 9], "rnn": 9, "ro": 2, "robot": 7, "robust": 9, "rocket": 17, "ronald": 7, "rossbar": 6, "rotat": 11, "rough": [10, 15], "routin": 9, "row": [2, 4, 5, 8, 13], "rst": 15, "rule": [6, 7, 9, 13], "run": [6, 7, 8, 9, 12, 13, 14], "running_add": 7, "running_reward": 7, "runtim": 6, "s1473": 8, "sa": 12, "safe": 5, "safer": 7, "safeti": 9, "sai": [2, 10, 11, 13], "said": 8, "sam": 7, "same": [2, 3, 5, 6, 7, 8, 9, 10, 11, 13, 14], "sampl": [6, 7, 9, 14], "sarcasm": 9, "satisfi": 2, "save": [2, 3, 6, 7, 8, 9, 10, 14, 16, 17], "savetxt": 2, "savez": 2, "saw": [3, 10], "scalar": [13, 14], "scale": [2, 6, 10], "scan": 12, "scatter": [2, 10], "scatterplot": 10, "scenario": [4, 9], "school": 12, "schulman": 7, "scienc": [0, 14], "scientif": [4, 15], "scientist": 9, "scikit": [13, 14], "scipi": [5, 13, 14], "score": 6, "scratch": [2, 7, 9], "screen": [7, 14], "search": [7, 14], "seashel": 10, "sebleier": 9, "sec": 10, "second": [2, 7, 8, 13], "secret": 15, "section": [6, 7, 9, 10, 12, 17], "secur": 11, "see": [3, 4, 5, 6, 9, 10, 11, 13, 15, 17], "seed": [6, 7], "seem": [8, 9, 10], "seen": [6, 9, 11], "segment": 14, "select": [8, 10, 13, 15, 17], "selected_d": 8, "selected_valu": 10, "self": [7, 9, 17], "semiconduct": 2, "semiconductor": 2, "semilog": 2, "semilogi": 2, "send": 7, "sens": [8, 13], "sensit": [7, 9], "sent": 9, "sent_prob": 9, "sent_tokenis": 9, "sentenc": [9, 12], "sentences_clean": 9, "sentiment": [1, 17], "separ": [4, 7, 8, 13], "sequenc": [7, 9], "sequenti": 9, "seri": 5, "serv": [4, 14], "servic": 9, "session": [2, 3], "set": [1, 2, 3, 5, 6, 8, 9, 13, 14, 17], "set_titl": [6, 10, 14], "set_xlabel": [6, 9, 10], "set_xlim": 11, "set_ylabel": [9, 10], "set_ylim": 11, "set_zlabel": 10, "set_zlim": 11, "setup": [7, 13], "seventh": 8, "sever": [7, 9], "severn": 9, "shape": [2, 4, 5, 6, 7, 8, 9, 10, 14], "share": [9, 12, 16, 17], "sharp": 13, "she": 9, "sheet": 2, "shift": 9, "shogi": 7, "short": [1, 12], "shortcom": 9, "shorter": [3, 7], "shortli": 10, "shot": 7, "shoud": 4, "should": [2, 3, 4, 6, 7, 8, 9, 11, 12, 13, 14, 15], "show": [2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "show_any_video": 7, "shown": [5, 6, 9, 12], "shrink": 10, "shut": 7, "side": 3, "sig": 8, "sight": 12, "sigma": [5, 13, 14], "sigmoid": [7, 9], "sign": 7, "signal": [6, 7], "signifi": 11, "signific": [5, 7, 10], "silenc": 9, "silver": 7, "similar": [6, 7, 9, 10, 11, 14], "similarli": [9, 11, 13], "simpl": [3, 5, 6, 7, 8, 9, 10, 11, 14], "simpli": [5, 14], "simplic": [6, 7, 9, 14], "simplifi": [7, 11], "simul": 7, "sin": 10, "sin_sum": 10, "sinc": [2, 5, 6, 7, 8, 9, 10, 13, 14], "sine": 10, "singl": [2, 5, 7, 8, 11, 12], "singular": 13, "situat": 8, "six": [8, 11], "size": [5, 6, 7, 9, 10, 13], "skew": 9, "skill": [4, 12], "skip": [4, 8, 9, 13], "skip_head": 8, "skiprow": [2, 4, 5], "slice": [2, 5, 13], "slide": 14, "slightli": [5, 10, 11, 13], "slope": 2, "slow": [2, 7], "small": [2, 8, 9, 10, 13, 14], "small_mesh": 10, "smaller": [7, 10, 11], "smallest": 13, "smooth": 14, "smoothen": 14, "so": [1, 2, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "so2": 5, "social": 9, "societ": 9, "softmask": 8, "softmax": [6, 7], "solut": [6, 7, 8, 9], "solv": 7, "some": [6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "somebodi": 12, "somehow": 8, "someth": [8, 13], "sometim": [7, 8, 10], "somewhat": 6, "sourc": [3, 7, 9, 11, 15, 17], "space": [9, 11], "span": 7, "spatial": 14, "speaker": 9, "special": [6, 7, 9, 13], "specif": [8, 9, 10], "specifi": [2, 4, 9], "spectrum": 2, "speech": [1, 17], "speech_data_path": 9, "speech_df": 9, "speed": [6, 7], "sphinx": 3, "spin": 7, "split": [6, 9], "splitlin": 9, "spoiler": 12, "spreadsheet": 4, "sqrt": [5, 7, 9], "squar": [2, 4, 6, 9, 10, 13], "squeez": 9, "src": 7, "stabl": [6, 9, 11], "stack": [5, 9, 13, 14], "stage": [7, 9], "stai": 9, "standard": [4, 5, 6, 7, 8, 9, 12, 14], "standard_norm": [7, 9], "stanford": 9, "star": 7, "starcraft": 7, "start": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14], "stat": 5, "state": [2, 7, 9, 11], "static": [0, 3, 15, 17], "static_equilibrium": 2, "station": 5, "stationari": 11, "statist": [2, 7, 14], "std": 7, "stdout": 3, "step": [1, 2, 4, 5, 12, 13, 15], "stereotyp": 9, "stick": 10, "still": [2, 4, 7, 8, 13], "stochast": 9, "stop": [6, 7, 9, 10], "stopword": 9, "storag": 4, "store": [3, 5, 6, 7, 9], "store_test_accurate_pr": 6, "store_test_loss": 6, "store_training_accurate_pr": 6, "store_training_loss": 6, "str": 9, "str_": 8, "straight": 9, "straightforward": [9, 12, 14], "strang": 8, "stream": [3, 6], "strengthen": 12, "string": [8, 9], "strip": 9, "structur": [2, 8, 9, 11], "studi": 5, "stumbl": 10, "stun": 10, "style": [2, 4, 7, 8], "sub": 9, "sub_indic": 5, "subindic": 5, "submiss": 15, "submit": 3, "submodul": 13, "subplot": [6, 10, 14], "subset": [5, 6, 8, 10], "substitut": 8, "subtract": 10, "succes": 6, "success": [6, 7, 9], "successfulli": 5, "succinctli": 2, "suffici": 10, "suggest": [9, 12, 14], "suicid": 9, "suit": 14, "suitabl": 9, "sulfur": 5, "sum": [2, 6, 7, 8, 9], "sum_": 10, "summar": [5, 6, 8, 9], "summari": [8, 12], "supervis": [6, 7, 9], "suppli": 10, "support": [3, 5, 6, 7, 9, 13], "suppos": 8, "sure": [5, 7, 8, 9, 12, 13, 15], "surpass": 10, "surpris": 10, "sutton": 7, "suzuki": 9, "svd": [2, 13], "sy": 7, "symbol": 9, "sync": [3, 15], "syntax": 13, "system": [9, 10, 11, 12], "t": [2, 6, 7, 8, 9, 10, 11, 12, 13, 15], "t10k": 6, "t_": 11, "t_test": 5, "t_valu": 5, "tabl": [1, 2, 5], "tabular": 2, "tackl": 9, "tag": [7, 9], "tail": 5, "taiwan": 8, "take": [2, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "taken": [6, 9], "talk": [6, 9], "talli": 10, "tan": 10, "tanh": 9, "target": [6, 9], "task": [6, 7], "taught": 7, "td": 7, "teach": [6, 12, 17], "team": 17, "technic": 6, "techniqu": [6, 7, 9, 14], "technologi": 2, "tell": [4, 5, 7, 12], "templat": 12, "tempor": 7, "tend": [9, 10], "tenni": 7, "tension": 11, "tensor": [6, 7], "tensorflow": [6, 7, 9], "term": [1, 2, 5, 6, 7, 13], "termin": 7, "terrain": [10, 14], "tesauro": 7, "test": [7, 9, 13], "test_accurate_predict": 6, "test_df": 9, "test_imag": 6, "test_j": 9, "test_label": 6, "test_loss": 6, "test_metr": 6, "test_sampl": 6, "testing_loss": 9, "texa": 2, "text": [2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 15], "text_column": 9, "text_preprocess": 2, "text_represent": 3, "text_to_para": 9, "textpreprocess": 9, "textproc": 9, "than": [2, 5, 7, 8, 9, 10, 12, 13, 14], "thei": [1, 2, 3, 6, 7, 9, 10, 11, 12, 13, 14], "theirs": 9, "them": [2, 5, 6, 7, 8, 9, 10, 11, 14, 17], "themselv": [9, 10], "theorem": 14, "theori": [7, 10, 13], "therefor": [2, 6, 7, 9, 11], "thereof": 5, "thi": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "thing": [3, 4, 9, 10, 12], "think": [6, 8], "third": [2, 10], "thoma": [6, 9], "those": [6, 8, 9, 11, 13, 14], "though": [2, 5, 13], "thought": [2, 9], "thousand": 2, "three": [2, 3, 4, 8, 10, 11, 12, 13, 14], "threshold": [9, 10, 14], "thrive": 9, "through": [2, 7, 8, 9, 10, 11, 13, 14], "throughout": [9, 10], "throw": 7, "thu": [6, 12], "thunberg": 9, "tick": 8, "time": [2, 3, 5, 6, 7, 8, 9, 10, 11], "time_step": 9, "timnit": 6, "tini": 10, "tinker": 10, "tipoff": 12, "titl": [2, 6, 8, 9, 10, 14], "tm": 2, "to_extract": 9, "to_numpi": 9, "todai": [9, 10], "todo": 13, "togeth": [2, 4, 9, 10, 11], "token": 9, "toluen": 5, "too": 9, "took": [7, 9, 10], "tool": [7, 11], "toolset": 12, "topic": [8, 9], "total": [5, 6, 7, 8, 9, 10], "totals_row": 8, "touch": 7, "toward": [7, 9, 14], "towner": 12, "tpu": 7, "trace": 9, "traceback": 12, "track": [6, 8, 10], "train": 1, "train_df": 9, "train_j": 9, "train_label": 6, "traini": 7, "training_accurate_predict": 6, "training_imag": 6, "training_label": 6, "training_loss": [6, 9], "training_metr": 6, "training_sampl": 6, "trajectori": 7, "tran": 2, "transcrib": 9, "transcript": 1, "transfer": 9, "transform": [2, 6, 9, 13], "transistor_count": 2, "transistor_count2017": 2, "transistor_count_predict": 2, "transistor_data": 2, "transistor_moores_law": 2, "translat": 7, "transpar": [2, 9], "transpos": [8, 13], "trask": 6, "treat": 13, "treatment": 10, "tree": [7, 17], "trevisan": 9, "tri": 7, "trial": 7, "tripl": 12, "true": [5, 6, 7, 8, 9, 13, 14], "true_": 5, "truli": 10, "truncat": 5, "truth": [6, 9], "try": [7, 8, 9, 10, 13, 15], "ttest_rel": 5, "tune": [6, 7, 9], "tupl": 13, "ture": 9, "tutori": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14], "tweak": [9, 10], "two": [2, 3, 4, 5, 7, 8, 9, 10, 11, 13, 14, 15], "txt": [7, 9], "txt_to_df": 9, "type": [2, 5, 6, 7, 8, 10, 13, 14], "typic": [7, 12], "u": [5, 10, 11, 13, 14], "u7": 8, "ubyt": 6, "uc": 7, "ucl": 7, "ufunc": 8, "uint8": [6, 7, 13, 14], "uk": 9, "un": 9, "unavail": 8, "unbeat": 10, "unbias": [6, 9], "uncertain": 10, "uncom": 7, "uncorrupt": 9, "under": [7, 9, 11, 12, 13, 14], "underli": [7, 9], "understand": [2, 5, 8, 9, 10, 11, 13], "undertak": 9, "unfamiliar": 13, "unga": 9, "unhelp": 9, "uniform": [7, 9], "uniqu": 10, "unit": [6, 7, 9, 11], "unitb": 11, "unitbd": 11, "unitcf": 11, "univers": [8, 9, 10, 13, 14], "unknown": 11, "unkown": 11, "unlik": [6, 7, 9, 12], "unmask": 8, "unscal": 2, "unshift": 2, "unspecifi": 8, "unsupervis": 9, "until": [2, 7, 9], "unwant": 8, "unzip": 9, "unzipp": 9, "up": [1, 5, 6, 8, 9, 10, 14, 15], "updat": [1, 3, 6, 15], "update_input": 7, "update_paramet": 9, "upon": [2, 9, 10, 11], "upper": [5, 9, 17], "url": [6, 9], "urllib": 6, "us": [0, 2, 3, 5, 6, 7, 9, 10, 11, 13, 15], "usag": 9, "usecol": [2, 5, 8], "usemask": 8, "user": [2, 9, 12, 13, 15], "usual": [5, 6, 7, 12, 14, 15], "utf": 8, "util": [5, 6, 7, 9, 11, 13], "v": [7, 8, 9, 11, 13], "v0": 7, "v1": 13, "v3": 14, "valid": [6, 8, 9, 13], "valu": [4, 6, 7, 8, 9, 10, 13, 14], "valuabl": [1, 17], "valuat": 6, "valueerror": 13, "van": 13, "vanish": 9, "var": 5, "vari": [9, 10, 11], "variabl": [2, 4, 6, 7, 8, 9], "varianc": [5, 7], "variat": 10, "varieti": 3, "variou": [5, 6, 7, 9, 10, 14], "vcompute_indic": 5, "ve": [4, 9, 14], "vector": [2, 4, 5, 6, 7, 8, 9, 11, 13], "veloc": 11, "veri": [3, 6, 7, 8, 9, 10, 13, 14, 15], "verifi": 10, "version": [3, 5, 8, 10, 13, 17], "versu": 7, "vertic": 14, "via": [9, 14], "video": 1, "view": [2, 7, 9], "vim": 3, "vinyal": 7, "virtual": 7, "virtualenv": [6, 7, 9, 14], "visibl": 7, "vision": [7, 9, 14], "visit": [7, 9, 10], "visual": [6, 7, 9, 10, 11, 14], "viz": 5, "voic": 9, "volodymyr": 7, "volum": 8, "vstack": [7, 9], "vt": 13, "w": [9, 11], "w1": 7, "w2": [7, 9], "wa": [2, 5, 6, 7, 8, 9, 10, 11, 13], "wacki": 10, "wai": [2, 4, 6, 7, 9, 10, 12, 13, 17], "wait": [6, 15], "wang": 7, "want": [1, 2, 4, 5, 7, 8, 10, 11, 12, 13, 14, 15, 17], "warn": 13, "wb": 6, "wcm": 9, "we": [2, 3, 5, 6, 8, 9, 10, 13, 15], "web": [8, 9], "websit": [3, 6, 9, 12, 15], "weight": [6, 7, 9], "weights_1": 6, "weights_2": 6, "welcom": 15, "welfar": 9, "well": [6, 7, 9, 11, 12, 14], "were": [2, 4, 7, 9, 10], "wf": 9, "what": [7, 9, 13, 15], "when": [3, 4, 6, 7, 9, 10, 11, 13, 14], "where": [2, 4, 5, 6, 7, 8, 9, 10, 11, 13], "whether": [8, 9], "which": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "while": [7, 9, 10, 12, 13], "who": [4, 6, 7, 9, 12, 13, 15], "who_covid_19_sit_rep_time_seri": [2, 8], "whole": [8, 9], "whom": 9, "whose": [2, 9], "why": [7, 9, 17], "wi": 9, "wide": 7, "wider": 10, "wikipedia": [2, 10], "wilcoxon": 5, "wild": 10, "william": 7, "willing": 12, "win": [7, 12], "window": 5, "wire": 11, "wise": [5, 9], "wish": [8, 9, 13], "without": [6, 8, 9, 10, 11, 13], "wo": 9, "won": 12, "word": [5, 7, 9, 12], "word_tokenis": 9, "wordembed": 9, "work": [1, 3, 4, 6, 7, 8, 9, 10, 13, 14], "workflow": [14, 15], "workspac": 4, "workspaec": 4, "world": [5, 6, 7, 9, 13], "worri": [13, 15], "wors": 13, "worst": 5, "would": [2, 5, 6, 8, 9, 10, 11, 12, 13, 15], "wrap": [7, 10], "wrapper": 7, "write": [2, 4, 5, 6, 9, 10, 11, 14, 15], "writer": 12, "written": [4, 7, 10], "wrong": [7, 8], "www": 9, "x": [0, 2, 3, 5, 6, 7, 8, 9, 10, 11, 13, 17], "x1": 2, "x11": 7, "x2": 2, "x_axi": [4, 9], "x_pred": 9, "x_prewitt": 14, "x_ray_image_gaussian_gradi": 14, "x_sobel": 14, "x_test": [6, 9], "x_train": [6, 9], "x_vec": 9, "x_y": 4, "xavier": [7, 9], "xfactor": 2, "xlabel": 2, "xray_imag": 14, "xray_image_canni": 14, "xray_image_laplace_gaussian": 14, "xray_image_mask_less_noisi": 14, "xray_image_mask_noisi": 14, "xray_image_sobel": 14, "xt": 9, "xtick": 8, "xvfb": 7, "xylen": 5, "y": [2, 5, 6, 7, 9, 10, 11, 13, 14], "y_axi": 4, "y_i": 2, "y_pred": 9, "y_prewitt": 14, "y_sobel": 14, "y_squar": 4, "y_test": [6, 9], "y_train": [6, 9], "yann": [6, 7], "ye": 12, "year": [2, 7], "yellow": 10, "yet": 10, "yi": 2, "yield": [7, 10], "ylabel": 2, "yml": [7, 15], "yoshua": [6, 7], "you": [1, 6, 7, 13, 14, 15, 17], "your": [1, 5, 6, 8, 9, 11, 13, 14, 16, 17], "your_model2017": 2, "yourself": [6, 9, 12], "yourselv": 9, "yousafzai": 9, "youth": 9, "ytick": 8, "z": [2, 9, 10, 11], "z2": 9, "z_1": 10, "z_2": 10, "z_3": 10, "zeb": 7, "zenodo": 9, "zero": [6, 7, 9, 10, 11, 12, 13], "zerodivisionerror": 12, "zeros_lik": 7, "zip": [4, 6, 9, 10, 14], "zipfil": 9, "\u03bccom": 2}, "titles": ["NumPy Applications", "Articles", "Determining Moore\u2019s Law with real data in NumPy", "Pairing Jupyter notebooks and MyST-NB", "Saving and sharing your NumPy arrays", "Analyzing the impact of the lockdown on air quality in Delhi, India", "Deep learning on MNIST", "Deep reinforcement learning with Pong from pixels", "Masked Arrays", "Sentiment Analysis on notable speeches of the last decade", "Plotting Fractals", "Determining Static Equilibrium in NumPy", "Learn to write a NumPy tutorial", "Linear algebra on n-dimensional arrays", "X-ray image processing", "Contributing", "NumPy Features", "NumPy tutorials"], "titleterms": {"": [2, 4, 5, 9, 11, 12], "1": [3, 6, 9], "19": 8, "2": [3, 6, 9], "2d": 4, "3": [3, 6, 9], "A": 7, "But": 9, "In": [5, 8, 10, 12], "On": [10, 12], "The": [5, 12, 14], "ad": 15, "addit": 11, "after": 12, "agent": 7, "air": 5, "algebra": 13, "all": 13, "an": [2, 9, 13, 14, 15], "analysi": 9, "analyz": 5, "anoth": [4, 11], "appendix": 7, "appli": [13, 14], "applic": [0, 11], "approxim": 13, "aqi": 5, "ar": [8, 12], "architectur": [6, 9], "arrai": [2, 4, 8, 13, 14], "articl": [1, 17], "asid": 12, "averag": 5, "avoid": 12, "axi": 13, "back": 4, "background": 3, "backpropag": [7, 9], "begin": 6, "block": 6, "build": [2, 5, 6, 9], "calcul": [2, 5], "can": 8, "canni": 14, "categor": 6, "check": 15, "classic": 3, "collect": 9, "color": 13, "combin": 14, "comma": 2, "command": 3, "compar": 14, "compos": 6, "conclus": 10, "content": [6, 7, 9, 13, 14, 15, 17], "contribut": 15, "convert": 6, "covid": 8, "creat": [2, 4, 7, 10, 15], "csv": [2, 4], "curv": 2, "data": [2, 4, 6, 8, 9], "dataset": [5, 6, 9, 12], "decad": 9, "deep": [6, 7, 9], "defin": [5, 7], "delhi": 5, "demonstr": 14, "deriv": 14, "detect": 14, "determin": [2, 11], "differ": 12, "dimension": 13, "discount": 7, "do": [2, 3, 4, 5, 8, 9, 10, 11, 12], "doc": 12, "edg": 14, "encod": 6, "episod": 7, "equilibrium": 11, "ethic": 9, "examin": 14, "exampl": 11, "execut": [12, 17], "expect": 7, "explor": 8, "exponenti": 2, "featur": 16, "feldman": 14, "file": [2, 3, 4], "filter": 14, "final": 13, "find": 11, "fit": 8, "float": 6, "format": 6, "forward": [7, 9], "fractal": 10, "frame": 7, "from": [6, 7, 9], "fulli": 12, "function": [2, 7], "further": [5, 8, 10, 12, 13], "gaussian": 14, "gener": 10, "glossari": 7, "googl": 12, "gradient": 14, "growth": 2, "guid": 12, "have": 12, "head": 12, "help": [1, 17], "histor": 2, "horizont": 12, "hot": 6, "how": [7, 9, 12], "human": 4, "hypothesi": 5, "illustr": 12, "imag": [6, 14], "imageio": 14, "imdb": 9, "impact": 5, "improv": [1, 17], "index": 5, "india": 5, "indic": 5, "introduct": 9, "ipynb": 3, "issu": 15, "julia": 10, "jupyt": [3, 7, 15], "jupyterlab": 3, "jupytext": 3, "label": 6, "laplac": 14, "laplacian": 14, "last": 9, "law": [2, 11], "learn": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "learner": 13, "line": 3, "linear": 13, "link": 17, "ll": [2, 3, 4, 5, 8, 10, 11, 12], "load": [2, 4, 6, 9], "lockdown": 5, "long": 9, "look": 9, "lowercas": 12, "lstm": 9, "magnitud": 14, "make": 12, "mandelbrot": 10, "manufactur": 2, "mask": [8, 14], "md": 3, "mean": 5, "memori": 9, "method": 14, "miss": 8, "mnist": 6, "model": [6, 9], "moment": 11, "moor": 2, "move": 5, "multidimension": 14, "must": 12, "myst": 3, "n": 13, "nb": 3, "need": [2, 3, 4, 5, 8, 10, 11, 12], "network": [6, 7, 9], "neural": [6, 7, 9], "newton": [10, 11], "next": [6, 7, 9, 14], "non": 17, "notabl": 9, "note": [7, 15], "notebook": [3, 7, 12, 15], "np": 14, "npzfile": 4, "number": 7, "numpi": [0, 2, 4, 6, 11, 12, 16, 17], "object": 13, "observ": 7, "obtain": 9, "one": 6, "oper": [13, 14], "option": 4, "our": [4, 9, 15], "out": 15, "output": 9, "overview": 9, "own": [2, 10, 12, 15], "p": 5, "pair": [3, 5], "paramet": 9, "pass": 7, "perspect": 9, "physic": 11, "pixel": 7, "playback": 7, "plot": [10, 12], "point": 6, "polici": 7, "pollut": 5, "pong": 7, "possibl": 12, "practic": [5, 8, 12], "preprocess": [6, 7, 9], "prerequisit": [6, 7, 9, 13, 14], "problem": 5, "process": 14, "product": 13, "profil": 13, "progress": 14, "propag": 9, "properti": [11, 13], "qualiti": 5, "rai": 14, "read": [5, 8, 10, 12, 13], "readabl": 4, "real": [2, 12], "rearrang": 4, "reassign": 4, "refer": [2, 8, 11], "reinforc": 7, "rememb": 4, "remov": 4, "resourc": 17, "result": [2, 14], "return": 7, "review": 9, "reward": 7, "rl": 7, "rule": 12, "sai": 12, "sampl": 5, "save": 4, "savetxt": 4, "savez": 4, "scratch": 6, "second": [11, 14], "see": 8, "sentiment": 9, "separ": 2, "set": [7, 10], "shape": 13, "share": [2, 4], "short": 9, "similar": 12, "singl": 4, "skill": 2, "small": 6, "sobel": 14, "solv": 11, "speech": 9, "start": 12, "static": 11, "statist": 5, "step": [6, 7, 9, 14], "student": 5, "style": 12, "sub": 5, "success": 4, "suggest": 15, "sum": 11, "summari": 6, "t": 5, "tabl": [6, 7, 9, 14], "templat": 15, "term": 9, "test": [5, 6], "thei": 8, "them": 4, "through": 6, "titl": 12, "train": [6, 7, 9], "transcript": 9, "transistor": 2, "tutori": [1, 12, 15, 17], "type": 4, "up": [2, 3, 4, 7, 11], "updat": [7, 9], "upload": 15, "us": [4, 8, 12, 14, 17], "valu": [2, 5, 11], "verb": 12, "video": 7, "warmup": 10, "what": [2, 3, 4, 5, 8, 10, 11, 12], "when": [8, 12], "where": 14, "why": [12, 15], "word": 13, "workspac": 2, "wrap": [2, 3, 4, 11], "write": 12, "x": [4, 14], "y": 4, "you": [2, 3, 4, 5, 8, 9, 10, 11, 12], "your": [2, 3, 4, 7, 10, 12, 15], "zip": 2}}) \ No newline at end of file