From ff0b9052c50250de74be9d0bac6379feede0c293 Mon Sep 17 00:00:00 2001 From: Philippe Roy Date: Sun, 25 Jun 2023 18:37:08 +0200 Subject: [PATCH] Ajout du perceptron multi-couches --- 02-intro_rna/01-perceptron.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/02-intro_rna/01-perceptron.py b/02-intro_rna/01-perceptron.py index e056ba0..782ec43 100644 --- a/02-intro_rna/01-perceptron.py +++ b/02-intro_rna/01-perceptron.py @@ -122,9 +122,6 @@ def tanh(_x): def derivation(f, _x, eps=0.000001): return (f(_x + eps) - f(_x))/eps -def derivation(f, _x, eps=0.000001): - return (f(_x + eps) - f(_x))/eps - # Fonctions d'activation f_activ_ax = fig.add_subplot(2,4,2) f_activ_ax.set_title("Fonctions d'activation")