Surprise v1.0.3 Release Notes

Release Date: 2017-05-03 // almost 7 years ago
  • Date: 03/05/17

    โœจ Enhancements

    • โž• Added FAQ in the doc
    • โž• Added the possibility to retrieve the k nearest neighbors of a user or an item.
    • ๐Ÿ”„ Changed the dumping process a bit (see API changes). Plus, dumps can now be loaded.
    • โž• Added possibility to build a testset from the ratings of a training set
    • โž• Added inner-to-raw id conversion in the Trainset class
    • The r_ui parameter of the predict() method is now optional

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed verbosity of the evaluate function
    • Corrected prediction when only user (or only item) is unknown in SVD and NMF algorithms. Thanks to kenoung!
    • Corrected factor vectors initialization of SVD algorithms. Thanks to adideshp!

    API Changes

    • The dump() method now dumps a list of predition (optional) and an algorithm (optional as well). The algorithm is now a real algorithm object. The trainset is not dumped anymore as it is already part of the algorithm anyway.
    • The dump() method is now part of the dump namespace, and not the global namespace (so it is accessed by surprise.dump.dump)