Skip to content

Commit

Permalink
fix: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Panadestein committed Jan 9, 2025
1 parent 5008299 commit 948c8d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bqn/nn.bqn
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Minn ← {rt‿ly𝕊dat:
do<(-ts×DA)⊑⊑hxtx¯1(↑⋈↓)𝕩
(fs<tx)×⌜˜¨do˜do({d𝕊wz: z DA×d M˜w}`)tx¨˜1we
}
FP ← {z𝕊biwe: A¨bi+we M z}`(¨´)
FP ← {z𝕊biwe: A bi+we M z}`(¨´)
nndat{𝕨𝕊biwe: fsts𝕨(↑⋈↓)˜ly
biwe-rt× fstswe BP fs<FP𝕩}˝˜(U1-1≠⋈·<˘2)ly
E´<FPnn
Expand Down
4 changes: 2 additions & 2 deletions src/nn.org
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ variational freedom with the weights.
do ← <(-⟜ts×DA)⊑⊑hx‿tx ← ¯1(↑⋈↓)𝕩
(fs<⊸∾tx)×⌜˜¨do∾˜do⊸({d𝕊w‿z: z DA⊸×d M˜⍉w}`)⌾⌽tx⋈¨˜1↓we
}
FP ← {z𝕊bi‿we: A¨bi+we M z}`⟜(⋈¨´)
FP ← {z𝕊bi‿we: A bi+we M z}`⟜(⋈¨´)
nn ← dat{𝕨𝕊bi‿we: fs‿ts ← 𝕨(↑⋈↓)˜⊑ly
bi⋈we-rt× fs‿ts‿we BP fs<⊸FP𝕩}˝˜(U⚇1-⟜1∘≠⋈·<∘⌽˘2⊸↕)ly
E ⇐ ⊢´<⊸FP⟜nn
Expand Down Expand Up @@ -146,7 +146,7 @@ are system dependent and susceptible to change. One has to experiment with them
#+end_src

#+RESULTS:
: 0.14864877333082208
: 0.14839151901691489

Let’s see if we’ve gotten the numbers right after learning. But then again, what is a number that a man may know it[fn:6]...

Expand Down

0 comments on commit 948c8d4

Please sign in to comment.