Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaou committed Nov 4, 2024
1 parent 42b4ffc commit 7b46526
Show file tree
Hide file tree
Showing 12 changed files with 471 additions and 46 deletions.
11 changes: 5 additions & 6 deletions WS1/module_1/2_statements.html
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ <h2>3. Lists and generators<a class="headerlink" href="#lists-and-generators" ti
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;generator object &lt;genexpr&gt; at 0x0000018ABCA73140&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;generator object &lt;genexpr&gt; at 0x000001CAE6EE33E0&gt;
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -946,7 +946,9 @@ <h4>for loop<a class="headerlink" href="#for-loop" title="Link to this heading">
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>bubble column
fluid bed
</pre></div>
</div>
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>fluid bed
crystalization
ion exchange
solid-liquid extraction
Expand Down Expand Up @@ -979,10 +981,7 @@ <h4>while loop<a class="headerlink" href="#while-loop" title="Link to this headi
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Experiments to perform:
</pre></div>
</div>
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> [&#39;Bubble column&#39;, &#39;Fluid bed&#39;, &#39;Crystalization&#39;, &#39;Ion exchange&#39;, &#39;Solid-liquid extraction&#39;]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Experiments to perform: [&#39;Bubble column&#39;, &#39;Fluid bed&#39;, &#39;Crystalization&#39;, &#39;Ion exchange&#39;, &#39;Solid-liquid extraction&#39;]
Experiments to perform: [&#39;Bubble column&#39;, &#39;Fluid bed&#39;, &#39;Crystalization&#39;, &#39;Ion exchange&#39;]
Experiments to perform: [&#39;Bubble column&#39;, &#39;Fluid bed&#39;, &#39;Crystalization&#39;]
Only 2 experiments left: [&#39;Bubble column&#39;, &#39;Fluid bed&#39;]
Expand Down
18 changes: 9 additions & 9 deletions WS1/module_1/3_control_flow.html
Original file line number Diff line number Diff line change
Expand Up @@ -674,15 +674,15 @@ <h2>Repetition<a class="headerlink" href="#repetition" title="Link to this headi
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Row [0.60350024 0.68351939 0.36690524]
Element 0.6035002432325545
Element 0.6835193895418288
Element 0.3669052446170007

Row [0.94784367 0.65507302 0.35171263]
Element 0.9478436720918891
Element 0.6550730171977208
Element 0.35171262777790113
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Row [0.00881336 0.60460902 0.42609128]
Element 0.00881335551935869
Element 0.6046090204644909
Element 0.42609127820816095

Row [0.8919357 0.83208568 0.74294669]
Element 0.8919357029555318
Element 0.8320856773069047
Element 0.7429466851439546
</pre></div>
</div>
</div>
Expand Down
25 changes: 12 additions & 13 deletions WS2/module_2/2_pytorch_tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -772,25 +772,24 @@ <h2>7. Model Training<a class="headerlink" href="#model-training" title="Link to
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Epoch 0: Train Loss = 48.7267, Val Loss = 45.3895
Epoch 10: Train Loss = 0.2846, Val Loss = 0.1482
Epoch 20: Train Loss = 0.0872, Val Loss = 0.1037
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Epoch 0: Train Loss = 49.2134, Val Loss = 36.0480
Epoch 10: Train Loss = 0.1916, Val Loss = 0.2312
Epoch 20: Train Loss = 0.0982, Val Loss = 0.0940
</pre></div>
</div>
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Epoch 30: Train Loss = 0.0676, Val Loss = 0.0645
Epoch 40: Train Loss = 0.0530, Val Loss = 0.0498
Epoch 50: Train Loss = 0.0488, Val Loss = 0.0478
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Epoch 30: Train Loss = 0.0744, Val Loss = 0.0708
Epoch 40: Train Loss = 0.0636, Val Loss = 0.0545
Epoch 50: Train Loss = 0.0543, Val Loss = 0.0446
</pre></div>
</div>
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Epoch 60: Train Loss = 0.0423, Val Loss = 0.0437
Epoch 70: Train Loss = 0.0420, Val Loss = 0.0418
Epoch 80: Train Loss = 0.0384, Val Loss = 0.0397
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Epoch 60: Train Loss = 0.0500, Val Loss = 0.0375
Epoch 70: Train Loss = 0.0422, Val Loss = 0.0326
Epoch 80: Train Loss = 0.0436, Val Loss = 0.0305
</pre></div>
</div>
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Epoch 90: Train Loss = 0.0428, Val Loss = 0.0392
Early stopping triggered at epoch 94
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Epoch 90: Train Loss = 0.0422, Val Loss = 0.0282

Test Loss: 0.0354
Test Loss: 0.0554
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -846,7 +845,7 @@ <h2>9. Visualization<a class="headerlink" href="#visualization" title="Link to t
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/243ad88cb94fc7d0533cf77f0f420d371812b30388ad52e235868da5d5bd03de.png" src="../../_images/243ad88cb94fc7d0533cf77f0f420d371812b30388ad52e235868da5d5bd03de.png" />
<img alt="../../_images/a2b73b8caf721a21522556b1085cddaef1ad72b9e6bdb0320f87535322785a6a.png" src="../../_images/a2b73b8caf721a21522556b1085cddaef1ad72b9e6bdb0320f87535322785a6a.png" />
</div>
</div>
</section>
Expand Down
4 changes: 2 additions & 2 deletions WS2/module_2/3_dd_regression.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<script>DOCUMENTATION_OPTIONS.pagename = 'WS2/module_2/3_dd_regression';</script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<link rel="next" title="Hybrid Modelling" href="../module_3/0_intro_module_3.html" />
<link rel="next" title="Hybrid Modeling in Process Engineering: A Comprehensive Guide" href="../module_3/0_intro_module_3.html" />
<link rel="prev" title="PyTorch Regression Tutorial" href="2_pytorch_tutorial.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
Expand Down Expand Up @@ -785,7 +785,7 @@ <h2>Process Optimization<a class="headerlink" href="#process-optimization" title
title="next page">
<div class="prev-next-info">
<p class="prev-next-subtitle">next</p>
<p class="prev-next-title">Hybrid Modelling</p>
<p class="prev-next-title">Hybrid Modeling in Process Engineering: A Comprehensive Guide</p>
</div>
<i class="fa-solid fa-angle-right"></i>
</a>
Expand Down
Loading

0 comments on commit 7b46526

Please sign in to comment.