Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
inovisao
curso_redes_neurais_profundas
Commits
6f7d508a
Commit
6f7d508a
authored
1 year ago
by
Hemerson Pistori
Browse files
Options
Download
Email Patches
Plain Diff
Retirei a multiplicação pelo peso atual ... para usar a equação mais simples
parent
749342f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
rede_minima.py
rede_minima.py
+1
-1
No files found.
rede_minima.py
View file @
6f7d508a
...
...
@@ -52,7 +52,7 @@ def treina(rede, entradas, saidas_corretas):
# Atualize os pesos do neurônio (aqui é a chave do aprendizado)
# Usando a descida de gradiente
rede
=
rede
-
TAXA_APRENDIZAGEM
*
gradiente
*
rede
rede
=
rede
-
TAXA_APRENDIZAGEM
*
gradiente
# Retorna a saída final da rede após o treinamento
return
saidas_IA
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment