Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am etothepowerof26 on github.
  • I am artillerybeacon (https://keybase.io/artillerybeacon) on keybase.
  • I have a public key whose fingerprint is 0609 BDF4 9E54 B8D4 7E09 30DA DBE4 F40A 7A34 7F63

To claim this, I am signing this object:

@Etothepowerof26
Etothepowerof26 / NeuralNetwork.lua
Last active December 13, 2018 16:37 — 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)
}
function NeuralNetwork.create(inputs, outputs, hiddenlayers, neurons, learningrate)
inputs = inputs or 1
outputs = outputs or 1
@Etothepowerof26
Etothepowerof26 / moonscript.xml
Last active December 6, 2018 23:56
In progress Notepad++ language style for Moonscript
<NotepadPlus>
<UserLang name="moonscript" ext="" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00-- 01 02\n 03 04</Keywords>
<Keywords name="Numbers, prefix1">0x</Keywords>
<Keywords name="Numbers, prefix2"></Keywords>