Skip to content

Commit

Permalink
Update course book
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Feb 18, 2024
1 parent cc5f6fc commit 39a343c
Show file tree
Hide file tree
Showing 485 changed files with 169,447 additions and 160,048 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -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: 6070cb873de6397c235d521632647bfe
config: 09fb4996dfec79b54da73f2e49efff41
tags: 645f666f9bcd5a90fca523b33c5a78b7
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file removed _images/Bonus_Tutorial1_85_0.png
Diff not rendered.
Binary file removed _images/Example_Deep_Learning_Project_48_0.png
Diff not rendered.
Binary file removed _images/Example_Deep_Learning_Project_53_1.png
Diff not rendered.
Binary file removed _images/TrainIllusionDataProjectDL_34_0.png
Diff not rendered.
Binary file removed _images/TrainIllusionDataProjectDL_36_0.png
Diff not rendered.
Binary file removed _images/TrainIllusionModelingProjectDL_14_1.png
Diff not rendered.
Binary file removed _images/TrainIllusionModelingProjectDL_18_0.png
Diff not rendered.
Binary file removed _images/TrainIllusionModelingProjectDL_31_0.png
Diff not rendered.
Binary file removed _images/TrainIllusionModelingProjectDL_37_0.png
Diff not rendered.
Binary file removed _images/W1D1_Tutorial1_173_1.png
Diff not rendered.
Binary file removed _images/W1D1_Tutorial1_219_1.png
Diff not rendered.
Binary file removed _images/W1D1_Tutorial1_222_0.png
Diff not rendered.
Binary file removed _images/W1D2_Tutorial3_102_0.png
Diff not rendered.
Binary file removed _images/W1D2_Tutorial3_104_0.png
Diff not rendered.
Binary file removed _images/W1D2_Tutorial3_40_0.png
Diff not rendered.
Binary file removed _images/W1D2_Tutorial3_62_0.png
Diff not rendered.
Binary file removed _images/W1D2_Tutorial3_96_0.png
Diff not rendered.
Binary file removed _images/W1D2_Tutorial3_99_0.png
Diff not rendered.
Binary file removed _images/W1D5_Tutorial1_189_0.png
Diff not rendered.
Binary file removed _images/W1D5_Tutorial1_43_0.png
Diff not rendered.
Binary file removed _images/W2D1_Tutorial1_100_1.png
Diff not rendered.
Binary file removed _images/W2D1_Tutorial1_70_0.png
Diff not rendered.
Binary file removed _images/W2D1_Tutorial1_77_0.png
Diff not rendered.
Binary file removed _images/W2D1_Tutorial1_80_1.png
Diff not rendered.
Binary file removed _images/W2D1_Tutorial2_102_4.png
Diff not rendered.
Binary file removed _images/W2D1_Tutorial2_117_4.png
Diff not rendered.
Binary file removed _images/W2D1_Tutorial2_118_0.png
Diff not rendered.
Binary file removed _images/W2D1_Tutorial2_139_0.png
Diff not rendered.
Binary file removed _images/W2D1_Tutorial2_72_1.png
Diff not rendered.
Binary file removed _images/W2D1_Tutorial2_89_0.png
Diff not rendered.
Binary file removed _images/W2D1_Tutorial2_91_0.png
Diff not rendered.
Binary file removed _images/W2D1_Tutorial2_93_0.png
Diff not rendered.
Binary file removed _images/W2D2_Tutorial1_127_0.png
Diff not rendered.
Binary file removed _images/W2D2_Tutorial1_135_0.png
Diff not rendered.
Binary file removed _images/W2D3_Tutorial1_167_0.png
Diff not rendered.
Binary file removed _images/W2D3_Tutorial1_170_0.png
Diff not rendered.
Binary file removed _images/W2D3_Tutorial2_35_0.png
Diff not rendered.
Binary file removed _images/W2D3_Tutorial2_45_0.png
Diff not rendered.
Binary file removed _images/W2D3_Tutorial2_61_0.png
Diff not rendered.
Binary file removed _images/W2D3_Tutorial2_69_0.png
Diff not rendered.
Binary file removed _images/W2D4_Tutorial1_124_12.png
Diff not rendered.
Binary file removed _images/W3D1_Tutorial1_53_0.png
Diff not rendered.
Binary file removed _images/W3D3_Tutorial1_127_0.png
Diff not rendered.
Binary file removed _images/W3D3_Tutorial1_135_1.png
Diff not rendered.
Binary file removed _images/W3D3_Tutorial1_160_1.png
Diff not rendered.
Binary file removed _images/W3D3_Tutorial1_181_3.png
Diff not rendered.
Binary file removed _images/W3D3_Tutorial1_201_8.png
Diff not rendered.
Binary file removed _images/W3D3_Tutorial1_203_8.png
Diff not rendered.
Binary file removed _images/W3D3_Tutorial1_227_1.png
Diff not rendered.
Binary file removed _images/W3D3_Tutorial1_232_0.png
Diff not rendered.
Binary file removed _images/W3D3_Tutorial1_251_3.png
Diff not rendered.
Binary file removed _images/W3D3_Tutorial1_254_0.png
Diff not rendered.
Binary file removed _images/W3D3_Tutorial1_270_8.png
Diff not rendered.
Binary file removed _images/W3D3_Tutorial1_275_0.png
Diff not rendered.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file removed _images/lunar_lander_26_1.png
Diff not rendered.

This file was deleted.

This file was deleted.

317 changes: 230 additions & 87 deletions _sources/projects/ReinforcementLearning/lunar_lander.ipynb

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions _sources/tutorials/Schedule/shared_calendars.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# Shared calendars

We have three google calendars to help you see events in your local time! If you open the links below, they will be in
We have a google calendar for each time slot to help you see events in your local time! If you open the links below, they will be in
universal coordinated time (UTC). If you click at the bottom to add to your Google Calendar, you should see them in the time zone of your google
calendar (probably yours)!

[Zone 1/2](https://calendar.google.com/calendar/u/0/[email protected])
[Zone 1](https://calendar.google.com/calendar/u/0/[email protected])

[Zone 2](https://calendar.google.com/calendar/embed?src=c_8cb1f0fed705b06a794c89da599728c5c6df7063f8b9a9e18fb110ffa5868809%40group.calendar.google.com&ctz=UTC)

[Zone 3](https://calendar.google.com/calendar/embed?src=c_r387vvjd66sg2o96cracfv5ioc%40group.calendar.google.com)

[Zone 4/5](https://calendar.google.com/calendar/embed?src=c_ghv53rt8temq4gco5h0anp3ou4%40group.calendar.google.com)
[Zone 4](https://calendar.google.com/calendar/embed?src=c_ghv53rt8temq4gco5h0anp3ou4%40group.calendar.google.com)

[Zone 5](https://calendar.google.com/calendar/embed?src=c_d761087e12135d5ced4d37a6d694a53dc3c0ba6888c494f12896b88fbc7877ba%40group.calendar.google.com&ctz=UTC)
Original file line number Diff line number Diff line change
Expand Up @@ -89,29 +89,6 @@
"# Setup"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Downgrade `pytorch` to avoid CUDA Memory allocation error.\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"cellView": "form",
"execution": {},
"tags": [
"hide-input"
]
},
"outputs": [],
"source": [
"# @title Downgrade `pytorch` to avoid CUDA Memory allocation error.\n",
"#!pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 torchtext==0.12.0 --extra-index-url https://download.pytorch.org/whl/cu113 --quiet"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -1186,7 +1163,7 @@
"```\n",
"Network performance after 10 encoder and classifier training epochs (chance: 33.33%):\n",
" Training accuracy: 100.00%\n",
" Testing accuracy: 98.67%\n",
" Testing accuracy: 98.70%\n",
"````"
]
},
Expand Down Expand Up @@ -1230,7 +1207,7 @@
"execution": {}
},
"source": [
"When the classifier is trained with an encoder network, however, it achieves very high classification accuracy (98.72%) on the test set, after only 10 training epochs."
"When the classifier is trained with an encoder network, however, it achieves very high classification accuracy (~98.70%) on the test set, after only 10 training epochs."
]
},
{
Expand All @@ -1243,7 +1220,7 @@
"\n",
"| _Chance_ | | None (raw data) | Supervised |\n",
"| - | - | --- | --- |\n",
"| _33.33%_ | | 39.55% | 98.67% |"
"| _33.33%_ | | 39.55% | 98.70% |"
]
},
{
Expand Down Expand Up @@ -1824,6 +1801,10 @@
},
"source": [
"[*Click for solution*](https://github.com/NeuromatchAcademy/course-content-dl/tree/main/tutorials/W3D3_UnsupervisedAndSelfSupervisedLearning/solutions/W3D3_Tutorial1_Solution_f066182b.py)\n",
"\n",
"*Example output:*\n",
"\n",
"<img alt='Solution hint' align='left' width=1032.0 height=522.0 src=https://raw.githubusercontent.com/NeuromatchAcademy/course-content-dl/main/tutorials/W3D3_UnsupervisedAndSelfSupervisedLearning/static/W3D3_Tutorial1_Solution_f066182b_1.png>\n",
"\n"
]
},
Expand Down Expand Up @@ -2019,6 +2000,10 @@
},
"source": [
"[*Click for solution*](https://github.com/NeuromatchAcademy/course-content-dl/tree/main/tutorials/W3D3_UnsupervisedAndSelfSupervisedLearning/solutions/W3D3_Tutorial1_Solution_16901ca7.py)\n",
"\n",
"*Example output:*\n",
"\n",
"<img alt='Solution hint' align='left' width=774.0 height=575.0 src=https://raw.githubusercontent.com/NeuromatchAcademy/course-content-dl/main/tutorials/W3D3_UnsupervisedAndSelfSupervisedLearning/static/W3D3_Tutorial1_Solution_16901ca7_3.png>\n",
"\n"
]
},
Expand Down Expand Up @@ -2064,7 +2049,7 @@
"\n",
"| _Chance_ | | None (raw data) | Supervised | Random |\n",
"| - | - | --- | --- | --- |\n",
"| _33.33%_ | | 39.55% | 98.67% | 44.67% |"
"| _33.33%_ | | 39.55% | 98.70% | 44.67% |"
]
},
{
Expand Down Expand Up @@ -2578,6 +2563,10 @@
},
"source": [
"[*Click for solution*](https://github.com/NeuromatchAcademy/course-content-dl/tree/main/tutorials/W3D3_UnsupervisedAndSelfSupervisedLearning/solutions/W3D3_Tutorial1_Solution_b605b4ed.py)\n",
"\n",
"*Example output:*\n",
"\n",
"<img alt='Solution hint' align='left' width=774.0 height=575.0 src=https://raw.githubusercontent.com/NeuromatchAcademy/course-content-dl/main/tutorials/W3D3_UnsupervisedAndSelfSupervisedLearning/static/W3D3_Tutorial1_Solution_b605b4ed_3.png>\n",
"\n"
]
},
Expand Down Expand Up @@ -2623,7 +2612,7 @@
"\n",
"| _Chance_ | | None (raw data) | Supervised | Random | VAE |\n",
"| - | - | --- | --- | --- | --- |\n",
"| _33.33%_ | | 39.55% | 98.67% | 44.67% | 45.75% |"
"| _33.33%_ | | 39.55% | 98.70% | 44.67% | 45.75% |"
]
},
{
Expand Down Expand Up @@ -3258,7 +3247,7 @@
"\n",
"| _Chance_ | | None (raw data) | Supervised | Random | VAE | SimCLR |\n",
"| - | - | --- | --- | --- | --- | --- |\n",
"| _33.33%_ | | 39.55% | 98.67% | 44.67% | 45.75% | 97.53% |"
"| _33.33%_ | | 39.55% | 98.70% | 44.67% | 45.75% | 97.53% |"
]
},
{
Expand Down Expand Up @@ -4312,6 +4301,12 @@
},
"source": [
"[*Click for solution*](https://github.com/NeuromatchAcademy/course-content-dl/tree/main/tutorials/W3D3_UnsupervisedAndSelfSupervisedLearning/solutions/W3D3_Tutorial1_Solution_8da89b74.py)\n",
"\n",
"*Example output:*\n",
"\n",
"<img alt='Solution hint' align='left' width=1519.0 height=530.0 src=https://raw.githubusercontent.com/NeuromatchAcademy/course-content-dl/main/tutorials/W3D3_UnsupervisedAndSelfSupervisedLearning/static/W3D3_Tutorial1_Solution_8da89b74_1.png>\n",
"\n",
"<img alt='Solution hint' align='left' width=778.0 height=578.0 src=https://raw.githubusercontent.com/NeuromatchAcademy/course-content-dl/main/tutorials/W3D3_UnsupervisedAndSelfSupervisedLearning/static/W3D3_Tutorial1_Solution_8da89b74_2.png>\n",
"\n"
]
},
Expand Down Expand Up @@ -4496,7 +4491,7 @@
"\n",
"| _Chance_ | | None (raw data) | Supervised | Random | VAE | SimCLR | SimCLR (few neg.pairs) |\n",
"| - | - | --- | --- | --- | --- | --- | --- |\n",
"| _33.33%_ | | 39.55% | 98.67% | 44.67% | 45.75% | 97.53% | 66.75% |"
"| _33.33%_ | | 39.55% | 98.70% | 44.67% | 45.75% | 97.53% | 66.75% |"
]
},
{
Expand Down

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions _sphinx_design_static/design-tabs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
var sd_labels_by_text = {};

function ready() {
const li = document.getElementsByClassName("sd-tab-label");
for (const label of li) {
syncId = label.getAttribute("data-sync-id");
if (syncId) {
label.onclick = onLabelClick;
if (!sd_labels_by_text[syncId]) {
sd_labels_by_text[syncId] = [];
}
sd_labels_by_text[syncId].push(label);
}
}
}

function onLabelClick() {
// Activate other inputs with the same sync id.
syncId = this.getAttribute("data-sync-id");
for (label of sd_labels_by_text[syncId]) {
if (label === this) continue;
label.previousElementSibling.checked = true;
}
window.localStorage.setItem("sphinx-design-last-tab", syncId);
}

document.addEventListener("DOMContentLoaded", ready, false);
134 changes: 134 additions & 0 deletions _static/_sphinx_javascript_frameworks_compat.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
/*
* _sphinx_javascript_frameworks_compat.js
* ~~~~~~~~~~
*
* Compatability shim for jQuery and underscores.js.
*
* WILL BE REMOVED IN Sphinx 6.0
* xref RemovedInSphinx60Warning
*
*/

/**
* select a different prefix for underscore
*/
$u = _.noConflict();


/**
* small helper function to urldecode strings
*
* See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL
*/
jQuery.urldecode = function(x) {
if (!x) {
return x
}
return decodeURIComponent(x.replace(/\+/g, ' '));
};

/**
* small helper function to urlencode strings
*/
jQuery.urlencode = encodeURIComponent;

/**
* This function returns the parsed url parameters of the
* current request. Multiple values per key are supported,
* it will always return arrays of strings for the value parts.
*/
jQuery.getQueryParameters = function(s) {
if (typeof s === 'undefined')
s = document.location.search;
var parts = s.substr(s.indexOf('?') + 1).split('&');
var result = {};
for (var i = 0; i < parts.length; i++) {
var tmp = parts[i].split('=', 2);
var key = jQuery.urldecode(tmp[0]);
var value = jQuery.urldecode(tmp[1]);
if (key in result)
result[key].push(value);
else
result[key] = [value];
}
return result;
};

/**
* highlight a given string on a jquery object by wrapping it in
* span elements with the given class name.
*/
jQuery.fn.highlightText = function(text, className) {
function highlight(node, addItems) {
if (node.nodeType === 3) {
var val = node.nodeValue;
var pos = val.toLowerCase().indexOf(text);
if (pos >= 0 &&
!jQuery(node.parentNode).hasClass(className) &&
!jQuery(node.parentNode).hasClass("nohighlight")) {
var span;
var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg");
if (isInSVG) {
span = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
} else {
span = document.createElement("span");
span.className = className;
}
span.appendChild(document.createTextNode(val.substr(pos, text.length)));
node.parentNode.insertBefore(span, node.parentNode.insertBefore(
document.createTextNode(val.substr(pos + text.length)),
node.nextSibling));
node.nodeValue = val.substr(0, pos);
if (isInSVG) {
var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect");
var bbox = node.parentElement.getBBox();
rect.x.baseVal.value = bbox.x;
rect.y.baseVal.value = bbox.y;
rect.width.baseVal.value = bbox.width;
rect.height.baseVal.value = bbox.height;
rect.setAttribute('class', className);
addItems.push({
"parent": node.parentNode,
"target": rect});
}
}
}
else if (!jQuery(node).is("button, select, textarea")) {
jQuery.each(node.childNodes, function() {
highlight(this, addItems);
});
}
}
var addItems = [];
var result = this.each(function() {
highlight(this, addItems);
});
for (var i = 0; i < addItems.length; ++i) {
jQuery(addItems[i].parent).before(addItems[i].target);
}
return result;
};

/*
* backward compatibility for jQuery.browser
* This will be supported until firefox bug is fixed.
*/
if (!jQuery.browser) {
jQuery.uaMatch = function(ua) {
ua = ua.toLowerCase();

var match = /(chrome)[ \/]([\w.]+)/.exec(ua) ||
/(webkit)[ \/]([\w.]+)/.exec(ua) ||
/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
/(msie) ([\w.]+)/.exec(ua) ||
ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) ||
[];

return {
browser: match[ 1 ] || "",
version: match[ 2 ] || "0"
};
};
jQuery.browser = {};
jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true;
}
Loading

0 comments on commit 39a343c

Please sign in to comment.