Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Sep 1, 2021
1 parent 8247395 commit da14723
Show file tree
Hide file tree
Showing 11 changed files with 198 additions and 23 deletions.
2 changes: 1 addition & 1 deletion _doc/sphinxdoc/source/blog/2021/2021-07-11_reading.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

.. blogpost::
:title: Article à lire
:title: Article à lire - reinforcement learning
:keywords: apprentissage par renforcement
:date: 2021-07-11
:categories: article
Expand Down
2 changes: 1 addition & 1 deletion _doc/sphinxdoc/source/blog/2021/2021-07-21_reading.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

.. blogpost::
:title: Article à lire
:title: Article à lire, assurance
:keywords: assurance
:date: 2021-07-21
:categories: article
Expand Down
2 changes: 1 addition & 1 deletion _doc/sphinxdoc/source/blog/2021/2021-07-29_reading.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

.. blogpost::
:title: Articles à lire
:title: Articles à lire - JMLR
:keywords: assurance
:date: 2021-07-29
:categories: article
Expand Down
2 changes: 1 addition & 1 deletion _doc/sphinxdoc/source/blog/2021/2021-08-28_reading.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

.. blogpost::
:title: Articles à lire
:title: Articles à lire, graphes, distance
:keywords: assurance
:date: 2021-08-28
:categories: article
Expand Down
18 changes: 18 additions & 0 deletions _doc/sphinxdoc/source/blog/2021/2021-09-02_reading.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

.. blogpost::
:title: Articles à lire, computing
:keywords: assurance
:date: 2021-09-02
:categories: article

Accelerating deep learning (hardware)

* `Google's AI Processor's (TPU) Heart Throbbing Inspiration
<https://medium.com/intuitionmachine/googles-ai-processor-is-inspired-by-the-heart-d0f01b72defe>`_
* `An in-depth look at Google's first Tensor Processing Unit (TPU)
<https://cloud.google.com/blog/products/ai-machine-learning/an-in-depth-look-at-googles-first-tensor-processing-unit-tpu>`_

Accelerating deep learning (algorithm)

* `triton <https://openai.com/blog/triton/>`_
* `deepspeed <https://github.com/microsoft/DeepSpeed>`_
61 changes: 61 additions & 0 deletions _doc/sphinxdoc/source/blog/2021/2021-09-08_introduction.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@

.. blogpost::
:title: Introduction à la programmation (sketch)
:keywords: teachings
:date: 2021-09-08
:categories: article
:lid: blog-intro-2021-ensae

Présentation

* Programmation en classes préparatoires (Python ?)
* Langages haut niveau, bas niveau
* Python : machine learning

Machine learning aujourd'hui

* Apprentissage fait avec python
* Code faisant les calculs écrit en C/C++/asm
* Déploiement (utilisation des modèles) sur
d'autres langages encore (javascript, C#, go, ...)

Deep Learning

* Besoin de calculs
* Modèles de plus en plus gros

Ingéniérie logicielle

* tests unitaires
* intégration continue
* documentation
* git
* culture algorithmique

Thèse...

* C/C++

Cours, premiere semestre

* TD
* Evaluation

Cours, second semestre

* Projet

Ressource, supports pour ce cours

* TD : `Python dans tous ses états <http://www.xavierdupre.fr/app/ensae_teaching_cs/helpsphinx3/index.html>`_
* Rappels : `Petit voyage au pays du machine learning <http://www.xavierdupre.fr/app/papierstat/helpsphinx/index.html>`_
* Programmation : `Apprendre la programmation avec Python <http://www.xavierdupre.fr/app/teachpyx/helpsphinx/index.html>`_
* Un peu plus mathématique : `Les maths d’abord, la programmation ensuite <http://www.xavierdupre.fr/app/mlstatpy/helpsphinx/index.html#mlstatpy>`_

Plus généralement

* Les moteurs de recherche : `python + message d'erreur`, `cheatsheet`
* `Questions tagged [python] <https://stackoverflow.com/questions/tagged/python>`_
* `Compétition de code par Google <https://codingcompetitions.withgoogle.com/codejam>`_
* `Compétition de code en français ou presque <https://tryalgo.org/contests/>`_
* `Projet Euler <https://projecteuler.net/>`_
6 changes: 0 additions & 6 deletions _doc/sphinxdoc/source/questions/route_1A_2018.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,6 @@ pour *Windows* et de celle-ci pour la distribution
*Debian 9* (*Ubuntu est très similaire) :
`Install Python 3.7 and many packages on Linux Debian 9 <http://www.xavierdupre.fr/app/pymyinstall/helpsphinx/blog/2018/2018-08-19_python37.html>`_.
Intervenants
++++++++++++

`Xavier Dupré <mailto:xavier.dupre AT gmail.com>`_,
Lucie Neirac, Benoît Choffin.

Notes
+++++

Expand Down
6 changes: 0 additions & 6 deletions _doc/sphinxdoc/source/questions/route_1A_2019.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ pour *Windows* et de celle-ci pour la distribution
`Install Python 3.7 and many packages on Linux Debian 9
<http://www.xavierdupre.fr/app/pymyinstall/helpsphinx/blog/2018/2018-12-29_python37_2.html>`_.

Intervenants
++++++++++++

`Xavier Dupré <mailto:xavier.dupre AT gmail.com>`_,
Lucie Neirac, François Hu, Guillaume Bied.

Plan proposé
++++++++++++

Expand Down
5 changes: 0 additions & 5 deletions _doc/sphinxdoc/source/questions/route_1A_2020.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ pour *Windows* et de celle-ci pour la distribution
<http://www.xavierdupre.fr/app/pymyinstall/helpsphinx/blog/
2018/2018-12-29_python37_2.html>`_.

Intervenants
^^^^^^^^^^^^

`Xavier Dupré <mailto:xavier.dupre AT gmail.com>`_...

Plan proposé
++++++++++++

Expand Down
112 changes: 112 additions & 0 deletions _doc/sphinxdoc/source/questions/route_1A_2021.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@

.. _l-feuille-de-route-2021-1A:

Feuille de route 2021 (1A)
==========================

.. contents::
:local:
:depth: 1

:ref:`Page principale du cours <l-td1a>`

Cours
+++++

Evaluation
^^^^^^^^^^

Au premier semestre, le cours se conclue
par un TD noté (voir :ref:`l-seances-notees-1A`).

Au second semestre, pas de TD, juste un
:ref:`projet informatique <l-projinfo1a>`,
par groupe à soutenir en juin.

Prérequis
^^^^^^^^^

La programmation fait maintenant partie
du programme des `classes préparatoires <https://info-llg.fr/>`_.
Ce cours suppose que les
`types du langage <http://www.xavierdupre.fr/
app/teachpyx/helpsphinx/c_lang/types.html>`_,
sa `syntaxe <http://www.xavierdupre.fr/
app/teachpyx/helpsphinx/c_lang/syntaxe.html>`_
sont connus tout comme quelques algorithmes de :ref:`tri <trinlndrst>`
comme le `tri bulle <https://fr.wikipedia.org/wiki/Tri_%C3%A0_bulles>`_
et le `tri fusion <https://fr.wikipedia.org/wiki/Tri_fusion>`_.

Version de Python
^^^^^^^^^^^^^^^^^

Les exercices et notebooks sont testées sur la version :epkg:`Python` 3.7.
Le plus simple pour installer :epkg:`Python` est d'utiliser la distribution
:epkg:`Anaconda`. La distribution standard fonctionne également en s'aidant de cette page
`Unofficial Windows Binaries for Python Extension Packages
<https://www.lfd.uci.edu/~gohlke/pythonlibs/>`_
pour *Windows* et de celle-ci pour la distribution
*Debian 9* (Ubuntu est très similaire) :
`Install Python 3.9 and many packages on Linux Debian 10
<http://www.xavierdupre.fr/app/pymyinstall/helpsphinx//blog/2021/2021-01-09_debian.html>`_.

Plan proposé
++++++++++++

Liens, notebooks prévus pour les séances pratiques.
Chaque session présentera un algorithme et des outils
ou concepts informatiques utiles pour la manipulation
de données.

.. contents::
:local:

Séance 1 - 8/9 - introduction
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Voir :ref:`Introduction <blog-intro-2021-ensae>`.

* :ref:`2020surfacerst`

Séance 2 - 15/9 - jeu de dictionnaires, regex
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* :ref:`2020suffixrst`
* :ref:`2020regexrst`

Séance 3 - 16/9 - top k, profiling
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* :ref:`2020topkrst`
* :ref:`2020profilerst`

Séance 4 - 22/9 - edit distance, numpy
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* :ref:`2020editrst`
* :ref:`2020numpyrst`

Séance 5 - 6/10 - TSP, dataframe avec données COVID
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* :ref:`2020tsprst`
* :ref:`2020pandasrst`

Séance 6 - 13/10 - bag, json, xml, COVID
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* Algorithme : :ref:`2020covidrst`
* Technique : :ref:`2020jsonxmlrst`

Séance 7 - 20/10 - graphes, flask
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* Algorithme : :ref:`2020graphrst`
* Technique : :ref:`2020restrst`

Séance 8 - 3/11 - graphes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* Algorithme : :ref:`2020ordonnancementrst`
* Technique : :ref:`2020carterst`
* TD noté... lien après la séance
5 changes: 3 additions & 2 deletions _doc/sphinxdoc/source/td_1a.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Algorithmes et programmation

`Algorithmes et Programmation <https://www.ensae.fr/courses/algorithmes-et-programmation/>`_ (ENSAE)

Plan approximatif du cours : :ref:`l-feuille-de-route-2020-1A`.
Plan approximatif du cours : :ref:`l-feuille-de-route-2021-1A`.

Cours animé par
`Xavier Dupré <http://www.xavierdupre.fr/>`_
Expand Down Expand Up @@ -510,7 +510,7 @@ Bibliographie
Intervenants
============

* *2018-2019* :
* *2018-* :
Xavier Dupré, `Microsoft France <https://www.microsoft.com/fr-fr/>`_ *(professeur)*,
`Lucie Neirac <http://www.laneas.com/lucie-neirac>`_,
Benoît Choffin, `Laboratoire de Recherche en Informatique <https://www.lri.fr/>`_
Expand Down Expand Up @@ -546,3 +546,4 @@ revêt de plus en plus d'importance en datascience.
questions/route_1A_2018
questions/route_1A_2019
questions/route_1A_2020
questions/route_1A_2021

0 comments on commit da14723

Please sign in to comment.