ITPub博客

首页 > 应用开发 > Python > 实现推荐系统的 python 库 Python-recsys

实现推荐系统的 python 库 Python-recsys

原创 Python 作者:python交流 时间:2019-03-14 16:33:45 0 删除 编辑

原文来自开源中国:侵删

前言

python-recsys是一个用来实现推荐系统的python库。

安装

依赖项

python-recsys构建于Divisi2(基于语义网络的常识推理库)之上,使用了csc-pysparse(稀疏矩阵计算库),而Divisi2依赖于NumPy和Networkx库。另外python-recsys也依赖于SciPy库。

安装依赖库过程如下(以Ubuntu为例):

sudo apt-get install python-scipy python-numpy
sudo apt-get install python-pip
sudo pip install csc-pysparse networkx divisi2 
# If you don't have pip installed then do:# sudo easy_install csc-pysparse# sudo easy_install networkx# sudo easy_install divisi2

先从github上下载安装文件,再安装python-recsys:

tar xvfz python-recsys.tar.gzcd python-recsyssudo python setup.py install

看个人资料, 有Python资料


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69912078/viewspace-2638391/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
上路:9458 中路:79 下来025 有干货

注册时间:2019-03-04

  • 博文量
    188
  • 访问量
    297949