~/talk

Functional Linear Algebra in Scala

Talkat Scale By the Bay 2017 · 2017-11-16..11-18· [functional-programming]
links:none on file
slides:none on file

Claims a type-safe, functional linear-algebra layer in Scala that prevents mixing dimensions at compile time, finds real bugs, and supports practical PCA and nonlinear Sammon-style embedding. Implements path-dependent vector spaces and matrices as morphisms with domain/codomain, represents vectors as either functions or Java arrays, and runs PCA then Sammon mapping on a 16,000-word cloud producing a ~256M-entry distance matrix (~0.5–1 GB). For speed, it pushes inner loops into a Java-backed array ops layer to avoid boxing, yielding multiple-times speedups versus naïve Scala while keeping a clean API.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06The Paradise
  3. 4:01How to represent vectors
  4. 4:46Types of vectors
  5. 5:24Path dependent types
  6. 5:49Vector space
  7. 6:44Vector implementation
  8. 7:26Mixed dimensions
  9. 8:11PCA principle
  10. 9:02Component analysis
  11. 10:35Matrix representation
  12. 11:31Matrix method
  13. 14:38Cross
  14. 15:18Dimension Reduction
  15. 16:52Algorithm
  16. 18:53Mutability
  17. 19:57Performance
  18. 22:09Java
  19. 23:32Questions
~/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.