Skip to content

Instantly share code, notes, and snippets.

View EdsonAvelar's full-sized avatar
🎯
Focusing

Adriano Avelar EdsonAvelar

🎯
Focusing
View GitHub Profile
@EdsonAvelar
EdsonAvelar / NeuralNetwork.lua
Created August 21, 2020 16:14 — forked from cassiozen/NeuralNetwork.lua
Lua Neural Network
ACTIVATION_RESPONSE = 1
NeuralNetwork = {
transfer = function( x) return 1 / (1 + math.exp(-x / ACTIVATION_RESPONSE)) end --This is the Transfer function (in this case a sigmoid)
}