Commit 3d04c714 authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

Fix typo in backpropagation

parent 95ce02f1
......@@ -10,9 +10,9 @@
 
<style type="text/css">
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
td.linenos pre { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; }
span.linenos { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; }
td.linenos pre.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: var(--jp-cell-editor-active-background) }
.highlight { background: var(--jp-cell-editor-background); color: var(--jp-mirror-editor-variable-color) }
......@@ -14935,7 +14935,7 @@ La précision est définie comme le quotient du nombre de prédictions justes su
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[13]:</div>
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[2]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
<div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="k">def</span> <span class="nf">plot_loss_accuracy</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
......@@ -14996,7 +14996,7 @@ La précision est définie comme le quotient du nombre de prédictions justes su
<span class="c1"># False predictions</span>
<span class="n">ax</span><span class="o">.</span><span class="n">plot</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">x</span><span class="p">[</span><span class="n">pred1</span> <span class="o">&amp;</span> <span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">t</span> <span class="o">==</span> <span class="mi">0</span><span class="p">),</span> <span class="mi">0</span><span class="p">],</span>
<span class="bp">self</span><span class="o">.</span><span class="n">x</span><span class="p">[</span><span class="n">pred1</span> <span class="o">&amp;</span> <span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">t</span> <span class="o">==</span> <span class="mi">0</span><span class="p">),</span> <span class="mi">1</span><span class="p">],</span>
<span class="s1">&#39;+&#39;</span><span class="p">,</span> <span class="n">label</span><span class="o">=</span><span class="s1">&#39;Vrais positifs&#39;</span><span class="p">,</span> <span class="n">markersize</span><span class="o">=</span><span class="mi">15</span><span class="p">)</span>
<span class="s1">&#39;+&#39;</span><span class="p">,</span> <span class="n">label</span><span class="o">=</span><span class="s1">&#39;Faux positifs&#39;</span><span class="p">,</span> <span class="n">markersize</span><span class="o">=</span><span class="mi">15</span><span class="p">)</span>
<span class="n">ax</span><span class="o">.</span><span class="n">plot</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">x</span><span class="p">[</span><span class="n">pred0</span> <span class="o">&amp;</span> <span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">t</span> <span class="o">==</span> <span class="mi">1</span><span class="p">),</span> <span class="mi">0</span><span class="p">],</span>
<span class="bp">self</span><span class="o">.</span><span class="n">x</span><span class="p">[</span><span class="n">pred0</span> <span class="o">&amp;</span> <span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">t</span> <span class="o">==</span> <span class="mi">1</span><span class="p">),</span> <span class="mi">1</span><span class="p">],</span>
<span class="s1">&#39;+&#39;</span><span class="p">,</span> <span class="n">mfc</span><span class="o">=</span><span class="s1">&#39;none&#39;</span><span class="p">,</span> <span class="n">label</span><span class="o">=</span><span class="s1">&#39;Faux négatifs&#39;</span><span class="p">,</span> <span class="n">markersize</span><span class="o">=</span><span class="mi">15</span><span class="p">)</span>
......@@ -16070,9 +16070,9 @@ ite 9999, loss = 0.2438, accuracy = 0.89
 
 
 
<div id="6ba4bba9-4afb-46ad-b8c4-18bb6ae44b0f" class="jupyter-widgets jp-OutputArea-output ">
<div id="d7a6855f-c1f8-4ebd-b934-a59b5e01d45b" class="jupyter-widgets jp-OutputArea-output ">
<script type="text/javascript">
var element = document.getElementById('6ba4bba9-4afb-46ad-b8c4-18bb6ae44b0f');
var element = document.getElementById('d7a6855f-c1f8-4ebd-b934-a59b5e01d45b');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"model_id": "334401c64a5b47b887b3ca8be6880df7", "version_major": 2, "version_minor": 0}
......@@ -16092,9 +16092,9 @@ var element = document.getElementById('6ba4bba9-4afb-46ad-b8c4-18bb6ae44b0f');
 
 
 
<div id="a906e287-5162-4001-a866-9e7c5ca96799" class="jupyter-widgets jp-OutputArea-output ">
<div id="fce2a11f-31a6-4013-be36-5c8689df0dd8" class="jupyter-widgets jp-OutputArea-output ">
<script type="text/javascript">
var element = document.getElementById('a906e287-5162-4001-a866-9e7c5ca96799');
var element = document.getElementById('fce2a11f-31a6-4013-be36-5c8689df0dd8');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"model_id": "99f415bc69ec4816a984d03a93265b7d", "version_major": 2, "version_minor": 0}
......@@ -66,9 +66,9 @@ if( window.location.search.match( /print-pdf/gi ) ) {
 
<style type="text/css">
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
td.linenos pre { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; }
span.linenos { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; }
td.linenos pre.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: var(--jp-cell-editor-active-background) }
.highlight { background: var(--jp-cell-editor-background); color: var(--jp-mirror-editor-variable-color) }
......@@ -15061,7 +15061,7 @@ La précision est définie comme le quotient du nombre de prédictions justes su
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs ">
<div class="jp-Cell-inputWrapper">
<div class="jp-InputArea jp-Cell-inputArea">
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[13]:</div>
<div class="jp-InputPrompt jp-InputArea-prompt">In&nbsp;[2]:</div>
<div class="jp-CodeMirrorEditor jp-Editor jp-InputArea-editor" data-type="inline">
<div class="CodeMirror cm-s-jupyter">
<div class=" highlight hl-ipython3"><pre><span></span><span class="k">def</span> <span class="nf">plot_loss_accuracy</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
......@@ -15122,7 +15122,7 @@ La précision est définie comme le quotient du nombre de prédictions justes su
<span class="c1"># False predictions</span>
<span class="n">ax</span><span class="o">.</span><span class="n">plot</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">x</span><span class="p">[</span><span class="n">pred1</span> <span class="o">&amp;</span> <span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">t</span> <span class="o">==</span> <span class="mi">0</span><span class="p">),</span> <span class="mi">0</span><span class="p">],</span>
<span class="bp">self</span><span class="o">.</span><span class="n">x</span><span class="p">[</span><span class="n">pred1</span> <span class="o">&amp;</span> <span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">t</span> <span class="o">==</span> <span class="mi">0</span><span class="p">),</span> <span class="mi">1</span><span class="p">],</span>
<span class="s1">&#39;+&#39;</span><span class="p">,</span> <span class="n">label</span><span class="o">=</span><span class="s1">&#39;Vrais positifs&#39;</span><span class="p">,</span> <span class="n">markersize</span><span class="o">=</span><span class="mi">15</span><span class="p">)</span>
<span class="s1">&#39;+&#39;</span><span class="p">,</span> <span class="n">label</span><span class="o">=</span><span class="s1">&#39;Faux positifs&#39;</span><span class="p">,</span> <span class="n">markersize</span><span class="o">=</span><span class="mi">15</span><span class="p">)</span>
<span class="n">ax</span><span class="o">.</span><span class="n">plot</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">x</span><span class="p">[</span><span class="n">pred0</span> <span class="o">&amp;</span> <span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">t</span> <span class="o">==</span> <span class="mi">1</span><span class="p">),</span> <span class="mi">0</span><span class="p">],</span>
<span class="bp">self</span><span class="o">.</span><span class="n">x</span><span class="p">[</span><span class="n">pred0</span> <span class="o">&amp;</span> <span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">t</span> <span class="o">==</span> <span class="mi">1</span><span class="p">),</span> <span class="mi">1</span><span class="p">],</span>
<span class="s1">&#39;+&#39;</span><span class="p">,</span> <span class="n">mfc</span><span class="o">=</span><span class="s1">&#39;none&#39;</span><span class="p">,</span> <span class="n">label</span><span class="o">=</span><span class="s1">&#39;Faux négatifs&#39;</span><span class="p">,</span> <span class="n">markersize</span><span class="o">=</span><span class="mi">15</span><span class="p">)</span>
......@@ -16196,9 +16196,9 @@ ite 9999, loss = 0.2438, accuracy = 0.89
 
 
 
<div id="f096b926-1555-4865-92ef-aa93890b8b30" class="jupyter-widgets jp-OutputArea-output ">
<div id="729dd1f7-2738-491c-95bd-bb52a93ae783" class="jupyter-widgets jp-OutputArea-output ">
<script type="text/javascript">
var element = document.getElementById('f096b926-1555-4865-92ef-aa93890b8b30');
var element = document.getElementById('729dd1f7-2738-491c-95bd-bb52a93ae783');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"model_id": "334401c64a5b47b887b3ca8be6880df7", "version_major": 2, "version_minor": 0}
......@@ -16218,9 +16218,9 @@ var element = document.getElementById('f096b926-1555-4865-92ef-aa93890b8b30');
 
 
 
<div id="cb8481da-1284-494a-a6fc-7c71268f8517" class="jupyter-widgets jp-OutputArea-output ">
<div id="b65898b8-5313-4836-a1f5-11bef3baf4bb" class="jupyter-widgets jp-OutputArea-output ">
<script type="text/javascript">
var element = document.getElementById('cb8481da-1284-494a-a6fc-7c71268f8517');
var element = document.getElementById('b65898b8-5313-4836-a1f5-11bef3baf4bb');
</script>
<script type="application/vnd.jupyter.widget-view+json">
{"model_id": "99f415bc69ec4816a984d03a93265b7d", "version_major": 2, "version_minor": 0}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment