Tim Burns' Personal Weblog Flavored with Math, Java, and Oracle
 
Saturday, April 17, 2004 [*]
 

The SVD, Benchmarking and Optimization

The Singular Value Decomposition is my favorite mathematical expression and also my favorite benchmark. It my favorite expression because it is so fundamental. If you are interested in finding out why, check out this great course on linear algebra from Gilbert Strang. If you watch one video from this course, watch this one.

There are some very cool examples of people using SVD for all sorts of stuff. I found these on Google: Sending Data from Mars and Cancer research.

The second reason I like the SVD is that it is a realistic computation. Given a matrix of size m*n it will require O(m*n)^2 operations. My LAPACK benchmark of a 10x10 matrix took 21800 floating point operations. It also requires full storage of U, V and S so it will require 3*(10*10*8) bytes or about 2.34 MB. Each operation is dependent on previous operations so you don't get artificially high floating point operation rates. I like the LAPACK SVD benchmark because it is a good measure of the peak real computational power of a computer.

So why am I even looking at the SVD? I am looking for some good ways to discuss optimization with people. If my mathematical calculations are on the order of 100,000,000 operations per second and the network time between requests is 30ms, then even an operation that takes 3 million operations is within the network noise, and will be imperceptible - even to the computer. Even my 800Mhz PIII gets 100Mflops!

 
Comments [0]
 
xml

Personal Favorites

Baby Shower Menu

Morning of the Wolf

Autumn lingers in New England

Foraging and Shopping

 

Professional Favorites

The SVD, Benchmarking and Optimization
The Problem with Software Engineers
Fun with Optimization
Anything new under the sun?
Really Simple Tomcat, Really
J2EE with Free Software
 

The Daily Chronic

Brown News
Carl Zimmer
Dijkstra
Get Fuzzy
Instapundit
Kevin Drum
Late Night Hacking
Mark Rittman
Mike Shoemaker
Philip Greenspun
Salon
Signal+Noise
Steve Button
Weiqi Gao
Woods Hole News
 

References

BioInformatics

BioTech

Epicurious

Statistics

 

Archive

2004
 April 01 04 07 09 11 16 17 18 20 22
 March 02 15 21 22 24 27
 February 13
 January 04 16 19 29
2003
 December 06 12
 November 02 23 29
 October 07 11 12 16 18 21 24 26
 September 04 09 10 12 14 28
 August 05 08 13 17 18 25 29
 July
 June
2002
2001
 

Photos

Morning of the Wolf
Phantom Farms
Providence
Baby Shower
Camden, Maine
 

Wiki

Creative Commons License
This work is licensed under a Creative Commons License