LKPY 0.9.0 released

9 views
Skip to first unread message

Michael Ekstrand

unread,
May 25, 2020, 10:15:29 PM5/25/20
to LensKit Recommender Toolkit Development and Support
Dear LensKitters,

I'm pleased to announce the release of LensKIt for Python version 0.9.0.

This release has some performance and improvements, including full Python 3.8, Pandas 1.0, and Numba 0.49 testing.

This is the last release we expect to use JobLib to parallelize batch prediction and recommendation. Any Python scripts that call the batch routines (batch.predict, batch.recommend, or MultiEval) need to be import-protected: their code needs to be in functions, and only invoked with a __name__ guard:

if __name__ = '__main__':
    do_stuff()

Unprotected scripts (where the code is just in the script, and runs when the script is imported as a module) will probably still work with LensKit 0.9, but will not work in the next version of LensKit. Jupyter notebooks should be just fine - when they are run, the IPython kernel is actually running, and it is properly protected.

Release notes are here:  https://github.com/lenskit/lkpy/releases 

The source release is on PyPI, and binary releases are being pushed to Anaconda now.

Enjoy!
- Michael 

--
Michael D. Ekstrand — michael...@boisestate.edu https://md.ekstrandom.net
Assistant Professor, Dept. of Computer Science, Boise State University
People and Information Research Team (PIReT)  http://coen.boisestate.edu/piret/
I may send mail outside of working hours; I do not expect you to. He/him.
Reply all
Reply to author
Forward
0 new messages