~/talk

Scientific Computing with F#

Talkat fsharpConf 2023 · on Monday, 2023-06-26· [machine-learning]
slides:none on file

Implements an Ising spin glass with a Metropolis annealer and strong domain types using units of measure, producing the core model in less than 150 lines and preventing type errors like treating spins as booleans. Reports a performance chase: initial run showed F# 40× faster then 2× faster after correcting build modes, and later F# wins again after fixing redundant recomputation. Also implements linear regression with linear algebra libs, composing four variants of gradient descent in about 250 lines; notes missing parametric modules for matrix-parameterized models.

AI-written summary · about

  1. 0:00Introduction
  2. 1:30Presentation
  3. 8:30Why Fsharp is good
  4. 9:30Improving Fsharp
  5. 10:30Performance
  6. 13:20Gradient Descent
  7. 18:45Example
  8. 19:40Composition
  9. 20:37Conclusion
  10. 21:46Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.