Python-recsys實現(xiàn)推薦系統(tǒng)的 Python 庫
python-recsys是一個用來實現(xiàn)推薦系統(tǒng)的python庫。
安裝
依賴項
python-recsys構(gòu)建于Divisi2(基于語義網(wǎng)絡(luò)的常識推理庫)之上,使用了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
評論
圖片
表情
