{ "info": { "author": "Romain Warlop", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [], "description": "# ALS-WR : Alternating-Least-Squares with Weighted-\u03bb-Regularization \n\nThis is the code to perform ALS-WR as presented by [Zhou et al] \n\nThe code is mainly inspired from [Mendeley Ltd]\n\n- *R*\u2004\u2208\u2004\u211d*n*\u2005\u00d7\u2005*p*\u2004=\u2004(*r**i**j*) denote the sparse user-item matrix.\n- \ud835\udc9f is the set of available ratings.\n- Assume a low rank constraint *K* on the matrix : *R*\u2004=\u2004*U**V**T*, *U*,\u2006*V*\u2004\u2208\u2004\u211d*n*\u2005\u00d7\u2005*K*,\u2006\u211d*p*\u2005\u00d7\u2005*K*\n- *U**i* and *V**j* denotes respectively the latent features of user *i* and item *j*.\n- *n**u**i* is the number of ratings provided by user *i*.\n- *n**v**j* is the number of ratings available for item *j*.\n- *J**i* and *L**j* is respectively the set of rated item by user *i* and available ratings for item *j*.\n\nObjective function :\n*f*(*U*,\u2006*V*)=\u2211*i*,\u2006*j*\u2004\u2208\u2004\ud835\udc9f(*r**i**j*\u2005\u2212\u2005*U**i**V**j**T*)2\u2005+\u2005*\u03bb*(\u2211*i**n**u**i*||*U**i*||2+\u2211*i**n**v**j*||*V**j*||2)\n\n **Algorithm**\n\n- Input : *R*, *K* (possibly an initialization of *U* or *V* with SVD)\n- Until convergence do\n - For each user (in parallel if wanted)\n - *U**i*\u2004=\u2004(*V**I**i**V**I**i*\u2005+\u2005*\u03bb**I**K*)\u22121*V**I**i**R**i*,\u2006*I**i*\n - For each item (in parallel if wanted)\n - *V**j*\u2004=\u2004(*U**L**j**U**L**j*\u2005+\u2005*\u03bb**I**K*)\u22121*U**L**j**R**L**j*,\u2006*j*\n\n [Zhou et al]: http://www.grappa.univ-lille3.fr/~mary/cours/stats/centrale/reco/paper/MatrixFactorizationALS.pdf\n [Mendeley Ltd]: https://github.com/Mendeley/mrec/blob/master/mrec/mf/wrmf.py\n", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/RomainWarlop/RecommenderSystemsSurvey/tree/master/pyALSWR", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "pyalswr", "package_url": "https://pypi.org/project/pyalswr/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyalswr/", "project_urls": { "Homepage": "https://github.com/RomainWarlop/RecommenderSystemsSurvey/tree/master/pyALSWR" }, "release_url": "https://pypi.org/project/pyalswr/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "UNKNOWN", "version": "1.0.0" }, "last_serial": 2028355, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "2ae1391a938c30c7e5b3e3d9f73bba25", "sha256": "93e0e56751dd8343fa3c855b94e2c098a22657f69b76305d266223f825e00cea" }, "downloads": -1, "filename": "pyalswr-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2ae1391a938c30c7e5b3e3d9f73bba25", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2994, "upload_time": "2016-03-26T14:27:56", "url": "https://files.pythonhosted.org/packages/db/34/dff4ef7d59e25a6a666050b1be36a365eb0f0d6ba0fbba2bf32174c5f27b/pyalswr-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ab1444c92b241f9bb86ab1bdf23ee510", "sha256": "7cfe1ad4ab540747170af593ce528d9a32bc3f727124adc9dc7561ef962a9044" }, "downloads": -1, "filename": "pyalswr-1.0.0.tar.gz", "has_sig": false, "md5_digest": "ab1444c92b241f9bb86ab1bdf23ee510", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2546, "upload_time": "2016-03-26T14:28:07", "url": "https://files.pythonhosted.org/packages/f7/c8/17da379b76b70f850c2d23bf370b81686bfbadcd419c63d2189109580df3/pyalswr-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2ae1391a938c30c7e5b3e3d9f73bba25", "sha256": "93e0e56751dd8343fa3c855b94e2c098a22657f69b76305d266223f825e00cea" }, "downloads": -1, "filename": "pyalswr-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2ae1391a938c30c7e5b3e3d9f73bba25", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2994, "upload_time": "2016-03-26T14:27:56", "url": "https://files.pythonhosted.org/packages/db/34/dff4ef7d59e25a6a666050b1be36a365eb0f0d6ba0fbba2bf32174c5f27b/pyalswr-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ab1444c92b241f9bb86ab1bdf23ee510", "sha256": "7cfe1ad4ab540747170af593ce528d9a32bc3f727124adc9dc7561ef962a9044" }, "downloads": -1, "filename": "pyalswr-1.0.0.tar.gz", "has_sig": false, "md5_digest": "ab1444c92b241f9bb86ab1bdf23ee510", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2546, "upload_time": "2016-03-26T14:28:07", "url": "https://files.pythonhosted.org/packages/f7/c8/17da379b76b70f850c2d23bf370b81686bfbadcd419c63d2189109580df3/pyalswr-1.0.0.tar.gz" } ] }