~/talk

Spire by Example

Talkat Pacific Northwest Scala 2013 · on Sunday, 2013-10-27· [machine-learning]
links:none on file
slides:none on file

Implements gradient descent using Spire vector-space and random Dist to approximate gradients by fitting linear least squares to sampled site-traffic outcomes, runs a 60-run simulation, and compares sampling strategies: fixed 1‑day (fast but high error), fixed 7‑day (very low error but impractically slow), ramp-up and jump strategies (faster but biased). Claims the code is working end‑to‑end in Scala, shows the tradeoff between convergence speed and estimation error.

AI-written summary · about

  1. 0:00Start
  2. 1:09The Problem
  3. 2:44Requirements for Optimizing F
  4. 3:58What Spire Gave Us
  5. 4:26Why Does It Work?
  6. 4:43Algebras Used In This Talk
  7. 6:16VectorSpace[V,A]
  8. 6:57Back to the Example
  9. 7:16Making it Generic
  10. 7:30The Optimization Loop
  11. 8:47Testing it Out: Linear Least Squares
  12. 9:11Gradient Descent Requirements
  13. 13:03Approximate the Gradient
  14. 15:11So... What's the "timespan" Thing?
  15. 16:29Test It Out!
  16. 17:07Ramp-up X
  17. 17:45Strategy 3: Jump Up
  18. 18:08Other Methods on Seq and Array
  19. 18:31A Week in Code
  20. 19:15Results: No Free Lunch
~/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.