All articles

  1. Optimizing Orthogonal Matching Pursuit code in Numpy, part 1

    Sun 07 August 2011
    By vene

    After intense code optimization work, my implementation of OMP finally beat least-angle regression! This was the primary issue discussed during the pull request, so once performance was taken care of, the code was ready for merge. Orthogonal matching pursuit is now available in scikits.learn as a sparse linear regression ...

  2. Newton interpolation and numerical differentiation

    Fri 15 April 2011
    By vene

    I am sharing some Python code code that I wrote as a school assignment. This computes the Newton form of the interpolation polynomial of a given set of points, and allows for the evaluation of both the polynomial and its derivative, at a given point. This is an accurate way ...