0

Is there a SVD implementation in php?

Evan
  • 1,683
  • 7
  • 35
  • 65

2 Answers2

0

Singular Value Decomposition is a way of factoring matrices into a series of linear approximations that expose the underlying structure of the matrix. SVD is extraordinarily useful and has many applications such as data analysis, signal processing, pattern recognition, image compression, weather prediction, and Latent Semantic Analysis or LSA (also referred to as Latent Semantic Indexing or LSI).

For its implementation in PHP, visit the following links.

Community
  • 1
  • 1
Saurabh Gokhale
  • 53,625
  • 36
  • 139
  • 164
0

Paul Meagher has done a PHP port of Java's JAMA matrix class at phpmath.com. It's PHP4, but runs quite happily, and does provide a SingularValueDecomposition class.

It doesn't seem to be available on the site at the moment (the link is broken), but the class is included as part of my PHPExcel distribution (albeit I've updated the core matrix classes to PHP5).

Mark Baker
  • 209,507
  • 32
  • 346
  • 385