Skip to content

hanjae/LBFGSonREEF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LBFGSonREEF

Implement machine Learning altorithm LBFGS with Logistic Regression on REEF

Prerequisite

  • REEF 0.9-SNAPSHOT
  • Wake 0.9-SNAPSHOT
  • TANG 0.9-SNAPSHOT
  • shimoga 0.1-SNAPSHOT

Build

mvn clean install 

Run

$ ./run.sh

Currently 6 threads are working. One for Controller task, Five for Compute tasks.

Working

  • Distributed group communication
  • ControllerTask scatters data to ComputeTasks
  • ComputeTasks compute according to the algorithm and reduce the result back
  • we just average the result data.(Since it is coefficient)
  • Java ported l-bfgs algorithm
  • Use this algorithm for fit to logistic regression

Not working

  • File loading api
  • I gived up
  • I just put raw data on source code like MatMul example

Dataset

A researcher is interested in how variables, such as GRE (Graduate Record Exam scores), GPA (grade point average) and prestige of the undergraduate institution, effect admission into graduate school. The response variable, admit/don't admit, is a binary variable.

Result

STDOUT.txt from driver

****************** RESULT ******************
Controller merged data : 0.9999978847998146 0.9999957553215022 2.8
********************************************

Supposed to trained coefficient data. Currently No meaning since I didn't implement logistic regression well.

License of Libraries

  • liblbfgs
  • The MIT License
  • REEF
  • Apache License, Version 2.0

References

About

Implement machine Learning altorithm LBFGS on REEF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published