Skip to content

Commit

Permalink
Créé avec Colaboratory
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrice Bellot committed Apr 2, 2023
1 parent d4d99c1 commit 1857c40
Showing 1 changed file with 26 additions and 15 deletions.
41 changes: 26 additions & 15 deletions MLP Titanic.ipynb
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/github/pbellot/FormationPANDAS/blob/master/MLP%20Titanic.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"metadata": {
"collapsed": true,
"id": "cDHDWDlAbZmV"
Expand All @@ -28,7 +38,7 @@
"base_uri": "https://localhost:8080/"
}
},
"execution_count": 1,
"execution_count": null,
"outputs": [
{
"output_type": "stream",
Expand Down Expand Up @@ -57,7 +67,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"metadata": {
"id": "9Yp2bh7QbZma"
},
Expand All @@ -77,7 +87,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"metadata": {
"id": "TFuvklfcbZmb"
},
Expand All @@ -88,7 +98,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"metadata": {
"id": "D4D3mGTwbZmc"
},
Expand All @@ -99,7 +109,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"metadata": {
"id": "e6O5B0R4bZmd"
},
Expand All @@ -112,7 +122,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": null,
"metadata": {
"id": "K0Rn-kEybZme",
"outputId": "b0d27c61-fcf2-44f4-a3da-1d45c89a777c",
Expand Down Expand Up @@ -461,7 +471,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": null,
"metadata": {
"id": "vFFKcDJRbZme"
},
Expand All @@ -475,7 +485,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": null,
"metadata": {
"id": "XiKrU1UDbZmf",
"outputId": "458403e8-deaf-4d87-b297-20d0aec34a4c",
Expand Down Expand Up @@ -581,7 +591,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": null,
"outputs": [],
"source": [
"##### Réglage des paramètres d'apprentissage : (voir https://keras.io/api/optimizers/)\n",
Expand All @@ -594,7 +604,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": null,
"outputs": [],
"source": [
"def plot():\n",
Expand Down Expand Up @@ -625,7 +635,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": null,
"outputs": [],
"source": [
"X_train, X_test, Y_train, Y_test = train_test_split(titanic[features], titanic['Survived'], random_state=0)"
Expand All @@ -636,7 +646,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": null,
"outputs": [
{
"output_type": "stream",
Expand Down Expand Up @@ -718,7 +728,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": null,
"outputs": [
{
"output_type": "display_data",
Expand Down Expand Up @@ -1209,7 +1219,8 @@
"version": "3.10.10"
},
"colab": {
"provenance": []
"provenance": [],
"include_colab_link": true
}
},
"nbformat": 4,
Expand Down

0 comments on commit 1857c40

Please sign in to comment.