Skip to content

Commit

Permalink
deploy: 92303a5
Browse files Browse the repository at this point in the history
  • Loading branch information
fortierq committed Nov 15, 2023
1 parent 2e05428 commit fbc0a83
Show file tree
Hide file tree
Showing 35 changed files with 2,992 additions and 30 deletions.
31 changes: 30 additions & 1 deletion 0_python/aide_memoire.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ <h1 class="site-logo" id="site-title">Informatique commune en 2ème année de CP
</li>
<li class="toctree-l1">
<a class="reference external" href="https://cpge-itc.github.io/bcpst2/dl/bcpst/5_dessin/tp5_dessin.html">
TP BCPST
TP BCPST pour réviser
</a>
</li>
</ul>
Expand Down Expand Up @@ -296,6 +296,35 @@ <h1 class="site-logo" id="site-title">Informatique commune en 2ème année de CP
</ul>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
Apprentissage automatique
</span>
</p>
<ul class="nav bd-sidenav">
<li class="toctree-l1 has-children">
<a class="reference internal" href="../dl/menu/4.html">
Cours
</a>
<input class="toctree-checkbox" id="toctree-checkbox-5" name="toctree-checkbox-5" type="checkbox"/>
<label for="toctree-checkbox-5">
<i class="fas fa-chevron-down">
</i>
</label>
<ul>
<li class="toctree-l2">
<a class="reference internal" href="../dl/slides/science_donnees.html">
Cours : Science des données
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../dl/apprentissage/cours/knn/knn.html">
Algorithme des k plus proches voisins
</a>
</li>
</ul>
</li>
</ul>

</div>
</nav></div>
Expand Down
31 changes: 30 additions & 1 deletion 0_python/entrainement.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ <h1 class="site-logo" id="site-title">Informatique commune en 2ème année de CP
</li>
<li class="toctree-l1">
<a class="reference external" href="https://cpge-itc.github.io/bcpst2/dl/bcpst/5_dessin/tp5_dessin.html">
TP BCPST
TP BCPST pour réviser
</a>
</li>
</ul>
Expand Down Expand Up @@ -294,6 +294,35 @@ <h1 class="site-logo" id="site-title">Informatique commune en 2ème année de CP
</ul>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
Apprentissage automatique
</span>
</p>
<ul class="nav bd-sidenav">
<li class="toctree-l1 has-children">
<a class="reference internal" href="../dl/menu/4.html">
Cours
</a>
<input class="toctree-checkbox" id="toctree-checkbox-5" name="toctree-checkbox-5" type="checkbox"/>
<label for="toctree-checkbox-5">
<i class="fas fa-chevron-down">
</i>
</label>
<ul>
<li class="toctree-l2">
<a class="reference internal" href="../dl/slides/science_donnees.html">
Cours : Science des données
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../dl/apprentissage/cours/knn/knn.html">
Algorithme des k plus proches voisins
</a>
</li>
</ul>
</li>
</ul>

</div>
</nav></div>
Expand Down
Binary file added _images/knn_2_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 8 additions & 4 deletions _sources/dl/algo/prog_dyn/seam_carving/seam_carving.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@
"source": [
"# DM : Redimensionnement d'image par *Seam Carving*\n",
"\n",
"---\n",
"\n",
"[Ce DM est à effectuer sur Capytale (cliquer ici)](https://capytale2.ac-paris.fr/web/c/ac7d-2158258).\n",
"Il faut se connecter avec \" Ma Classe en Région (Auvergne-Rhône-Alpes)\" en utilisant ses identifiants ENT.\n",
"Si vous n'avez pas vos identifiants ENT, vous pouvez utiliser Basthon en [téléchargeant l'image (ici)](https://raw.githubusercontent.com/fortierq/cours/main/algo/prog_dyn/seam_carving/tower.png) puis en la chargeant sur Basthon avec Fichier -> Ouvrir...\n",
"\n",
"---\n",
"\n",
"> L'objectif est de redimensionner une image par la méthode de [*Seam Carving*](https://faculty.runi.ac.il/arik/scweb/imret/imret.pdf). Cette technique consiste à supprimer des chemins d'énergie minimale sur l'image, c'est-à-dire utilisant des pixels de couleurs relativement uniformes. Ainsi, on évite de trop modifier l'image.\n",
"\n",
"<figure>\n",
Expand Down Expand Up @@ -435,7 +439,7 @@
},
{
"cell_type": "markdown",
"execution_count": 13,
"execution_count": 16,
"metadata": {
"tags": [
"cor"
Expand All @@ -462,7 +466,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 17,
"metadata": {},
"outputs": [
{
Expand All @@ -481,7 +485,7 @@
"[702, 702, 702, 701, 701, 700, 699, 698, 697, 696]"
]
},
"execution_count": 14,
"execution_count": 17,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -606,7 +610,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]"
"version": "3.9.2"
},
"vscode": {
"interpreter": {
Expand Down
224 changes: 224 additions & 0 deletions _sources/dl/apprentissage/cours/knn/knn.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions _sources/dl/menu/4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Cours
2 changes: 2 additions & 0 deletions _sources/dl/slides/science_donnees.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Cours : Science des données
<iframe src=https://mozilla.github.io/pdf.js/web/viewer.html?file=https://raw.githubusercontent.com/fortierq/cours/main/apprentissage/cours/science_donnees/science_donnees.pdf#zoom=page-fit&pagemode=none height=500 width=100% allowfullscreen></iframe>
31 changes: 30 additions & 1 deletion dl/algo/prog_dyn/cours/prog_dyn.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ <h1 class="site-logo" id="site-title">Informatique commune en 2ème année de CP
</li>
<li class="toctree-l1">
<a class="reference external" href="https://cpge-itc.github.io/bcpst2/dl/bcpst/5_dessin/tp5_dessin.html">
TP BCPST
TP BCPST pour réviser
</a>
</li>
</ul>
Expand Down Expand Up @@ -298,6 +298,35 @@ <h1 class="site-logo" id="site-title">Informatique commune en 2ème année de CP
</ul>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
Apprentissage automatique
</span>
</p>
<ul class="nav bd-sidenav">
<li class="toctree-l1 has-children">
<a class="reference internal" href="../../../menu/4.html">
Cours
</a>
<input class="toctree-checkbox" id="toctree-checkbox-5" name="toctree-checkbox-5" type="checkbox"/>
<label for="toctree-checkbox-5">
<i class="fas fa-chevron-down">
</i>
</label>
<ul>
<li class="toctree-l2">
<a class="reference internal" href="../../../slides/science_donnees.html">
Cours : Science des données
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../../../apprentissage/cours/knn/knn.html">
Algorithme des k plus proches voisins
</a>
</li>
</ul>
</li>
</ul>

</div>
</nav></div>
Expand Down
41 changes: 40 additions & 1 deletion dl/algo/prog_dyn/seam_carving/seam_carving.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
<link rel="canonical" href="https://cpge-itc.github.io/itc2/dl/algo/prog_dyn/seam_carving/seam_carving.html" />
<link rel="index" title="Index" href="../../../../genindex.html" />
<link rel="search" title="Search" href="../../../../search.html" />
<link rel="next" title="Cours" href="../../../menu/4.html" />
<link rel="prev" title="TP 2 : Problème du sac à dos" href="../tp/tp2/tp_sac_dos.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="docsearch:language" content="None">
Expand Down Expand Up @@ -161,7 +162,7 @@ <h1 class="site-logo" id="site-title">Informatique commune en 2ème année de CP
</li>
<li class="toctree-l1">
<a class="reference external" href="https://cpge-itc.github.io/bcpst2/dl/bcpst/5_dessin/tp5_dessin.html">
TP BCPST
TP BCPST pour réviser
</a>
</li>
</ul>
Expand Down Expand Up @@ -297,6 +298,35 @@ <h1 class="site-logo" id="site-title">Informatique commune en 2ème année de CP
</ul>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
Apprentissage automatique
</span>
</p>
<ul class="nav bd-sidenav">
<li class="toctree-l1 has-children">
<a class="reference internal" href="../../../menu/4.html">
Cours
</a>
<input class="toctree-checkbox" id="toctree-checkbox-5" name="toctree-checkbox-5" type="checkbox"/>
<label for="toctree-checkbox-5">
<i class="fas fa-chevron-down">
</i>
</label>
<ul>
<li class="toctree-l2">
<a class="reference internal" href="../../../slides/science_donnees.html">
Cours : Science des données
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../../../apprentissage/cours/knn/knn.html">
Algorithme des k plus proches voisins
</a>
</li>
</ul>
</li>
</ul>

</div>
</nav></div>
Expand Down Expand Up @@ -614,9 +644,11 @@ <h2> Contents </h2>

<section class="tex2jax_ignore mathjax_ignore" id="dm-redimensionnement-d-image-par-seam-carving">
<h1>DM : Redimensionnement d’image par <em>Seam Carving</em><a class="headerlink" href="#dm-redimensionnement-d-image-par-seam-carving" title="Permalink to this headline">#</a></h1>
<hr class="docutils" />
<p><a class="reference external" href="https://capytale2.ac-paris.fr/web/c/ac7d-2158258">Ce DM est à effectuer sur Capytale (cliquer ici)</a>.
Il faut se connecter avec ” Ma Classe en Région (Auvergne-Rhône-Alpes)” en utilisant ses identifiants ENT.
Si vous n’avez pas vos identifiants ENT, vous pouvez utiliser Basthon en <a class="reference external" href="https://raw.githubusercontent.com/fortierq/cours/main/algo/prog_dyn/seam_carving/tower.png">téléchargeant l’image (ici)</a> puis en la chargeant sur Basthon avec Fichier -&gt; Ouvrir…</p>
<hr class="docutils" />
<blockquote>
<div><p>L’objectif est de redimensionner une image par la méthode de <a class="reference external" href="https://faculty.runi.ac.il/arik/scweb/imret/imret.pdf"><em>Seam Carving</em></a>. Cette technique consiste à supprimer des chemins d’énergie minimale sur l’image, c’est-à-dire utilisant des pixels de couleurs relativement uniformes. Ainsi, on évite de trop modifier l’image.</p>
</div></blockquote>
Expand Down Expand Up @@ -980,6 +1012,13 @@ <h2>Bonus<a class="headerlink" href="#bonus" title="Permalink to this headline">
<p class="prev-next-title">TP 2 : Problème du sac à dos</p>
</div>
</a>
<a class='right-next' id="next-link" href="../../../menu/4.html" title="next page">
<div class="prev-next-info">
<p class="prev-next-subtitle">next</p>
<p class="prev-next-title">Cours</p>
</div>
<i class="fas fa-angle-right"></i>
</a>
</div>
</footer>
</div>
Expand Down
31 changes: 30 additions & 1 deletion dl/algo/prog_dyn/tp/tp1/tp_prog_dyn.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ <h1 class="site-logo" id="site-title">Informatique commune en 2ème année de CP
</li>
<li class="toctree-l1">
<a class="reference external" href="https://cpge-itc.github.io/bcpst2/dl/bcpst/5_dessin/tp5_dessin.html">
TP BCPST
TP BCPST pour réviser
</a>
</li>
</ul>
Expand Down Expand Up @@ -298,6 +298,35 @@ <h1 class="site-logo" id="site-title">Informatique commune en 2ème année de CP
</ul>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
Apprentissage automatique
</span>
</p>
<ul class="nav bd-sidenav">
<li class="toctree-l1 has-children">
<a class="reference internal" href="../../../../menu/4.html">
Cours
</a>
<input class="toctree-checkbox" id="toctree-checkbox-5" name="toctree-checkbox-5" type="checkbox"/>
<label for="toctree-checkbox-5">
<i class="fas fa-chevron-down">
</i>
</label>
<ul>
<li class="toctree-l2">
<a class="reference internal" href="../../../../slides/science_donnees.html">
Cours : Science des données
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../../../../apprentissage/cours/knn/knn.html">
Algorithme des k plus proches voisins
</a>
</li>
</ul>
</li>
</ul>

</div>
</nav></div>
Expand Down
31 changes: 30 additions & 1 deletion dl/algo/prog_dyn/tp/tp2/tp_sac_dos.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ <h1 class="site-logo" id="site-title">Informatique commune en 2ème année de CP
</li>
<li class="toctree-l1">
<a class="reference external" href="https://cpge-itc.github.io/bcpst2/dl/bcpst/5_dessin/tp5_dessin.html">
TP BCPST
TP BCPST pour réviser
</a>
</li>
</ul>
Expand Down Expand Up @@ -298,6 +298,35 @@ <h1 class="site-logo" id="site-title">Informatique commune en 2ème année de CP
</ul>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
Apprentissage automatique
</span>
</p>
<ul class="nav bd-sidenav">
<li class="toctree-l1 has-children">
<a class="reference internal" href="../../../../menu/4.html">
Cours
</a>
<input class="toctree-checkbox" id="toctree-checkbox-5" name="toctree-checkbox-5" type="checkbox"/>
<label for="toctree-checkbox-5">
<i class="fas fa-chevron-down">
</i>
</label>
<ul>
<li class="toctree-l2">
<a class="reference internal" href="../../../../slides/science_donnees.html">
Cours : Science des données
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="../../../../apprentissage/cours/knn/knn.html">
Algorithme des k plus proches voisins
</a>
</li>
</ul>
</li>
</ul>

</div>
</nav></div>
Expand Down
Loading

0 comments on commit fbc0a83

Please sign in to comment.