Skip to content

Leavingseason/ftrl_proximal_lr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AsyncFTRL

A multithreaded implementation of FTRL-Proximal algorithm for Logistic Regression. This library is parallelized by an asynchronous procedure, followed the work of Downpour SGD by Jeffrey Dean etc.

Related Work:

Features

  • LibSVM file format
  • Multithreaded accelerated

Get Started

  • Single thread mode: ./ftrl_train -f input_file -m model_output [-t test_file]
  • Multithread mode: ./ftrl_train -f input_file -m model_output [-t test_file] --thread 0

Play with Async FTRL

Most of the time async ftrl works pretty well and you don't need to touch async ftrl related parameters. But if dosen't work, you may try the following:

  • sync-step: number of push/fetch steps to sync up with global model, default is 3. you may try 2/1 if default param fails.
  • warmstarting: train a single model using a small fraction of the data before async ftrl start.
    • --burn-in fraction : set fraction of data used to train a single model before async ftrl start.

About

Multithreaded Asynchronous FTRL Proximal Implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 94.1%
  • Python 4.8%
  • Makefile 1.1%