Python-recsys實(shí)現(xiàn)推薦系統(tǒng)的 Python 庫(kù)
python-recsys是一個(gè)用來(lái)實(shí)現(xiàn)推薦系統(tǒng)的python庫(kù)。
安裝
依賴項(xiàng)
python-recsys構(gòu)建于Divisi2(基于語(yǔ)義網(wǎng)絡(luò)的常識(shí)推理庫(kù))之上,使用了csc-pysparse(稀疏矩陣計(jì)算庫(kù)),而Divisi2依賴于NumPy和Networkx庫(kù)。另外python-recsys也依賴于SciPy庫(kù)。
安裝依賴庫(kù)過(guò)程如下(以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
評(píng)論
圖片
表情
