GithubHelp home page GithubHelp logo

sparsesdca's Introduction

sparseSDCA Version 0.1

C++ code for prox-SDCA


0. Changes

This is an old implementation in 2013, which is provided as is. This package has not been updated since.


Contents:

  1. Introduction

  2. System Requirement

  3. Installation

  4. Examples

  5. Contact

  6. Copyright

  7. References

1. Introduction

This software package provides a sample implementation of accelerated Proximal Stochastic Dual Coordinate Ascent with L1-L2 regularization described in [1] for various loss functions. Please cite the paper if you find the software useful.

The code has not been updated since 2013, and is provided as is.

2. System Requirement

The code has been tested on Linux, but should compile on other unix systems with g++ and make.

git clone https://github.com/TongZhang-ML/sparseSDCA.git

3. Installation

The source files are located in the src directory.

To compile:

cd src/
make

This should compile into two binary programs train and predict

  • train: train and save the model;
  • predict: apply already trained model on test data.

Use train -h to see command line options for the training program

Use predict -h to see command line options for the prediction program

API documentations are in html/index.html

4. Examples

Please go to the example1 and example2 subdirectories and type run.sh.

5. Contact

[email protected]

6. Copyright

The software is distributed under the MIT license. Please read the file LICENSE.

7. References

[1] Shai Shalev-Shwartz and Tong Zhang. Accelerated Proximal Stochastic Dual Coordinate Ascent for Regularized Loss Minimization, Mathematical Programming, 155:105-145, 2016.

[2] Shai Shalev-Shwartz and Tong Zhang. Stochastic Dual Coordinate Ascent Methods for Regularized Loss Minimization, JMLR 14:567-599, 2013.

sparsesdca's People

Stargazers

Jiachang Liu avatar Vishal Belsare avatar  avatar

Watchers

Tong Zhang avatar

Forkers

vishalbelsare

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.