Add Phase 2 solutions
This commit is contained in:
parent
4481523197
commit
c9cf0515ca
2 changed files with 15 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
*\~
|
14
phase2.dyalog
Normal file
14
phase2.dyalog
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue