Other articles


  1. Singular Value Decomposition in SciPy

    SciPy contains two methods to compute the singular value decomposition (SVD) of a matrix: scipy.linalg.svd and scipy.sparse.linalg.svds. In this post I'll compare both methods for the task of computing the full SVD of a large dense matrix.

    The first method, scipy.linalg.svd, is ...

    read more

    There are comments.

  2. line-by-line memory usage of a Python program

    My newest project is a Python library for monitoring memory consumption of arbitrary process, and one of its most useful features is the line-by-line analysis of memory usage for Python code. I wrote a basic prototype six months ago after being surprised by the lack of related tools. I wanted ...

    read more

    There are comments.

  3. Low rank approximation

    A little experiment to see what low rank approximation looks like. These are the best rank-k approximations (in the Frobenius norm) to the a natural image for increasing values of k and an original image of rank 512.

    Python code can be found here. GIF animation made using ImageMagic's ...

    read more

    There are comments.

  4. Page 1 / 2 »

blogroll

social