Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defn feed-forward [input weights biases]
- (doseq [[w b] (map vector weights biases)]
- (set! input (sigmoid (+ (dot w input) b))))
- input)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement