Python Tag

  1. Taking Advantage of Sparsity in the ALS-WR Algorithm

    Sat 11 February 2017

    The ALS-WR algorithm works well for recommender systems involving a sparse matrix of users by items to review, which happens when most people only review a small subset of many possible items (businesses, movies, etc.). By tweaking the code from a great tutorial to take advantage of this sparsity, I was able to dramatically reduce the computation time.

  2. Dealing with Grid Data in Python

    Thu 08 December 2016

    In my PhD research, I do a lot of analysis of 2D and 3D grid data output by simulations I run. In my analyses, it's very helpful to restructure these data into a more useable format. A few key lines of python code do the trick.

    Tagged as : python numpy

Page 1 / 1