Add Phase 2 solutions

This commit is contained in:
Dimitri Lozeve 2020-05-22 11:06:48 +02:00
parent 4481523197
commit c9cf0515ca
2 changed files with 15 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*\~

14
phase2.dyalog Normal file
View file

@ -0,0 +1,14 @@
:Namespace Phase2
(⎕IO ⎕ML ⎕WX)←1 1 3
⍝ Neural Network Problem Set
⍝ Problem 1 - Transfer Functions
StepFn←{¯1+2×0≤⍵}
Sigmoid←{÷1+*-⍵}
⍝ Problem 2 - Perceptron
Perceptron←{+/⍺×⍵}
:EndNamespace