Commit f735ec7a authored by vincentvigon's avatar vincentvigon

passage a gitlab

parent 23e577d5
File deleted
.idea/
**/private
**/build
**/__pycache__
**/.ipynb_checkpoints/
**/.DS_Store
This diff is collapsed.
No preview for this file type
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -232,9 +232,9 @@
"source": [
"Considérons la décomposition en valeur singulière de la matrice de covariance. \n",
"$$\n",
"cov= U S U^T\n",
"cov= U S^2 U^T\n",
"$$\n",
"Le repère $U_0,U_1,U_2$ composé des trois colonnes de $U$ représente les principales direction du nuage des simulations. Ces directions sont ordonnée par odre décroissant d'importance: le grand axe du nuage étant $U_0$. Pour observer au mieux le nuage en 2D, il faut le projeter sur le plan engendré par $U_0,U_1$, donc le plan orthogonal à $U_2$. Mais attention: \n",
"Le repère $U_0,U_1,U_2$ composé des trois colonnes de $U$ représente les principales direction du nuage des simulations. Ces directions sont ordonnées par odre décroissant d'importance: le grand axe du nuage étant $U_0$. Pour observer au mieux le nuage en 2D, il faut le projeter sur le plan engendré par $U_0,U_1$, donc le plan orthogonal à $U_2$. Mais attention: \n",
"\n",
"* soit on considère le plan affine passant par l'espérance $\\mu$.\n",
"* soit on centre le nuage, en soustrayant $\\mu$, et on considére le plan vectoriel passant par zéro. \n",
......@@ -259,7 +259,7 @@
}
],
"source": [
"U, S, V = np.linalg.svd(cov)\n",
"U, S2, V = np.linalg.svd(cov)\n",
"\n",
"normal=U[:,2]\n",
"\n",
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
,vigon,MacBook-Pro-de-irma.local,17.06.2018 21:17,file:///Users/vigon/Library/Application%20Support/OpenOffice/4;
\ No newline at end of file
......@@ -22,8 +22,8 @@
"\n",
"## Contenu\n",
"\n",
"- **Les généralités** - [html](01-generalites.html) - [diaporama](01-generalites.slides.html)\n",
"- **Le langage (1)** - [html](02-langage.html) - [diaporama](02-langage.slides.html)\n",
"- **Le langage (1)** - [html](02-histogramme_densite.html) - [diaporama](02-histogramme_densite.slides.html)\n",
"- **Les généralités** - [html](04-plusDeLois.html) - [diaporama](04-plusDeLois.slides.html)\n",
"\n",
"\n",
"**Exécuter en ligne**\n",
......@@ -57,7 +57,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.2"
"version": "3.6.5"
}
},
"nbformat": 4,
......
......@@ -11,7 +11,7 @@ else
endif
html := $(addprefix build/, $(subst .ipynb,.html,$(notebooks)))
slides := $(addprefix build/, $(subst .ipynb,.slides.html,$(notebooks)))
#slides := $(addprefix build/, $(subst .ipynb,.slides.html,$(notebooks)))
executed_notebooks := $(addprefix build/, $(notebooks))
.PHONY: all clean html slides executed_notebooks index copy_to_build pdf
......@@ -29,7 +29,7 @@ to run them without internet connection)"
executed_notebooks: copy_to_build $(executed_notebooks)
html: $(html)
#slides: copy_reveal $(slides)
slides: $(slides)
#slides: $(slides)
index: copy_to_build build/index.html
pdf: copy_to_build build/cours-python.pdf
......@@ -39,9 +39,11 @@ define nbconvert
jupyter nbconvert --to $(1) $< --output-dir=build
endef
# @ pour cacher la commande
build:
@mkdir -p build
#miroir entre img et build/img
copy_to_build: build
rsync -ra --delete img build/
......@@ -54,8 +56,8 @@ $(executed_notebooks): build/%.ipynb: %.ipynb
build/%.html: build/%.ipynb
$(call nbconvert,html,$<)
build/%.slides.html: build/%.ipynb
$(call nbconvert,slides,$<) --reveal-prefix $(revealprefix)
#build/%.slides.html: build/%.ipynb
# $(call nbconvert,slides,$<) --reveal-prefix $(revealprefix)
build/index.html: index.ipynb
$(call nbconvert,html,$<)
......
Markdown is supported
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