Skip to content

Latest commit

 

History

History
75 lines (63 loc) · 1.92 KB

README.md

File metadata and controls

75 lines (63 loc) · 1.92 KB

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