Skip to content
项目

关于

Our FM implementation is based on tensorflow 1.12.0.You can run our reference training code on-the-fly using the following command:

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

REPO DESCRIPTION

Our FM implementation is based on tensorflow 1.12.0.
You can run our reference training code on-the-fly using the following command:

#--------------------------how to train----------------------------#
./train.sh <training_path> <validation_path> <save_model_dir> <batch_size> <embedding_size> \
           <optimizer [adagrad, adam]> <lr> <task [finish, like]> <track [1, 2]>  

CODE STRUCTURE

 
#--------------------------run script------------------------------#
train.sh  

#----------------------------train---------------------------------#
train.py  

#------------------------common operation--------------------------#
common/  
        model_args.py  
  
#--------convert input text data into tensorflow batch need--------#
data_io/  
       data_parser.py  

#-------------prepare model and build up main framework------------#
models/  
       model.py  

#---------------common algorithm and models for recom--------------#
model_zoo/  
       fm.py  

#-----------------utils for str or data processing-----------------#
utils/  
       utils.py
 

ALGORITHM: FACTORIZATION MACHINE

image

BASELINE

Our baseline results with 5 features (user_id, user_city, item_id,author_id,item_city):

  • TRACK2 LIKE TASK:
  auc: 86.5% 
  #------------------------params-------------------------#
  embedding_size = 40
  optimizer = adam  
  lr = 0.0005
  • TRACK FINISH TASK:
  auc: 69.8% 
  #------------------------params-------------------------#
  embedding_size = 40
  optimizer = adam   
  lr = 0.0001

探索相关项目

加载中…