Name
Last commit
Last update
eda update plot
local update test file
.DS_Store commit message
.gitignore add readme.txt and change to formal path
FfmEncoder.py commit message
aucCaculate.py modify aucCaulate.py
config.py change start_date
delete_temp_files.py add function in delete_temp
diaryCandidateSet.py change ffm argument for test
diaryQueueUpdate.py change sql for test
diaryTraining.py delete predict function param argument
model.out commit message
output.txt commit message
predictDiary.py delete print
prepareData.py change process argument
processData.py change process argument
readme.txt pip install supervisor at nvwa py3 and add a .idea at .gitignore
run_demo_ctr.py commit message
small_click.csv commit message
test_clk.ffm commit message
test_clk.ffm.bin commit message
test_imp.ffm commit message
test_imp.ffm.bin commit message
test_last.ffm commit message
test_last.ffm.bin commit message
train.py Loading commit data...
train_all.csv Loading commit data...
train_all.ffm Loading commit data...
train_last.ffm Loading commit data...
train_last.ffm.bin Loading commit data...
train_shuf.ffm Loading commit data...
userProfile.py Loading commit data...
utils.py Loading commit data...
(1) 在服务器上创建nvwa隔离环境:
ssh -A gaoyazhe@bastion.prod.gengmei
rank-compute01
virtualenv -p /usr/bin/python3 nvwa
source nvwa/bin/activate
(2) 在nvwa中安装xlearn:
#参考链接:http://xlearn-doc.readthedocs.io/en/latest/install.html
cd nvwa
git clone https://github.com/aksnzhy/xlearn.git
cd xlearn
./build.sh
(3) 在nvwa中安装相关工具包:
pip install pymysql
pip install redis
pip install numpy
sudo apt-get install python3-dev
pip install pandas
pip install git+https://github.com/Supervisor/supervisor
问题:
#安装pandas出错:Python.h: No such file or directory
#解决方案:sudo apt-get install python3-dev
#如果安装包失败,让高雅喆用他的账户在服务器上进行安装。因为女娲项目是他在服务器上的"/home/gaoyazhe"路径下创建的,
# 所以别的账户安装包可能会失败。
pip install scipy
pip install scikit-learn
pip uninstall numpy
pip install numpy==1.14.5
问题:
#import sklearn出错:RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility
#解决方案:pip uninstall numpy;pip install numpy==1.14.5
(4) requirements:
pymysql=='0.9.2'
numpy=='1.14.5'
pandas=='0.22.0'
scipy=='1.1.0'
sklearn=='0.19.2'