forked from themetaschemer/malt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
malted.rkt
49 lines (35 loc) · 1.13 KB
/
malted.rkt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#lang racket
(require "malted/A-core.rkt")
(require "malted/B-layer-fns.rkt")
(require "malted/C-loss.rkt")
(require "malted/D-gradient-descent.rkt")
(require "malted/E-gd-common.rkt")
(require "malted/F-naked.rkt")
(require "malted/G-velocity.rkt")
(require "malted/H-rms.rkt")
(require "malted/I-adam.rkt")
(require "malted/J-stochastic.rkt")
(require "malted/K-dense.rkt")
(require "malted/L-accuracy.rkt")
(require "malted/M-recu.rkt")
(require "malted/N-blocks.rkt")
(require "malted/O-init.rkt")
(require "tools.rkt")
(provide dot-product-2-1 dot-product
line quad linear-1-1 linear plane softmax
signal-avg
l2-loss cross-entropy-loss kl-loss
with-recording
gradient-descent revise
(hypers revs alpha batch-size mu beta)
zeroes smooth epsilon
naked-gradient-descent
velocity-gradient-descent
rms-gradient-descent
adam-gradient-descent
samples sampling-obj
relu k-relu
accuracy model
recu corr k-recu
block block-fn block-ls stack-blocks
init-theta init-shape random-tensor zero-tensor)