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.gz cd python-recsys sudo python setup.py install