Code Monkey home page Code Monkey logo

estimate_sequences's Introduction

The package contains the code used for all the experiments of the ICML submission
``Estimate Sequences for Variance-Reduced Stochastic Composite Optimization''

* The algorithms are entirely coded in C++ and are available in the file svrg.h

* The C++ code is interfaced with Matlab and the script script_svrg.m loads the
  datasets (not provided here because of size limitation), and run the
  experiments, depending on the setting chosen.

* The C++ code is compiled and turned into mex files by the script build.m, which requires
the Intel C++ compiler and the MKL library (version 2017 was used), as well as matlab 
installation (version 2016a was used). The script build.m creates another
script called "run_matlab.sh", which need to be launched in a terminal to run matlab
and be able to run the mex files. We use ubuntu 16.04 to compile and run all
experiments. In summary to use our code
 1) edit build.m and setup the right paths to the intel compilers, matlab, and libstdc++ libraries.
 2) open matlab and type "build"
 3) close matlab
 4) open matlab in a terminal using "sh run_matlab.sh"
 5) you may now use script_svrg to run some experiments. You may need to edit
 the script to load the dataset of your choice, which should contain a matrix X
 of size p times n and a binary vector y of size n with -1 or +1 entries.
 
* The folder utils is of no concern for this ICML submission. It simply
  contains a Matrix library coming from a different open-source software.

estimate_sequences's People

Watchers

 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.