Giter Club home page Giter Club logo

ffm_mpi's Introduction

  1. Introduction

    field-aware factorization machie[1] solve by ftrl algorighm[2], based on mpich

  2. Dependency

    openblas

    mpich-2

  3. Use

    This folder shoulder in same path on all of your cluseter nodes.

    all of follow action in the folder of Field-aware-Factorization-Machine-ftrl-mpi step 1:

     split your data into n parts. (n equal the number of nodes of your cluster), 
     for example, cd ./data and run the command: sh run_split_data.sh
    

    step 2:

     cd ..
    
     modeify Ip in the file run_ffm_mpi.sh and then rum commend: sh run_ffm_mpi.sh
    

    Note:

     if you want to stop the programme, run commend: sh stop.sh 
    
  4. Feature list

    4.1. About model selection:

     4.1.1. if you want to use LR(Logistic Regression) model only, set the parameter in config.h: isffm=0 isfm=0 islr=1
    
     4.1.2. if you want to use FM(Factorization Machine) model only, set the parameter in config.h: isffm=0 isfm=1 islr=0
    
     4.1.3. if you want to use FFM(Field-aware Factorization Machine) model only, set the parameter in config.h: isffm=1 isfm=0 islr=0
    

    4.2. Evaluation

     print AUC after some epochs
    

    4.3 Save Model

    dump model to the model folder 
    
  5. Todo list

    1, multithread

    2, same model paralle on Parameter Server

    3, load data batch

    4, optimazation the learning algorithm

  6. Contact:

  7. References:

    [1] Field-aware Factorization Machines for CTR Prediction. http://www.csie.ntu.edu.tw/~cjlin/papers/ffm.pdf

    [2] Ad Click Prediction: a View from the Trenches. http://dl.acm.org/citation.cfm?id=2488200

    [3] Factorization Machine. http://www.csie.ntu.edu.tw/~b97053/paper/Rendle2010FM.pdf

ffm_mpi's People

Contributors

xswang avatar

Watchers

James Cloos avatar JiaRunYing avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.