Skip to content

doikov/contracting-newton

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

contracting-newton

Implementation of Contracting Newton method for minimizing logistic regression model.

To plot the graphs from the paper "Convex optimization based on global lower second-order models" by N. Doikov and Yu. Nesterov (https://arxiv.org/abs/2006.08518) do the following.

  1. Compile the C++ code, using the command: $ g++ main.cc optimize.cc -O2 -std=c++17 -o main

  2. Download the files: "data/w8a.txt", "data/covtype_bin_sc" from https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/.

  3. To run the basic (exact) methods, use $ python3 demo_basic.py

  4. To run the stochastic methods, use $ python3 demo_stochastic.py

The graphs will be placed into "output/*".

About

Implementation of Contracting Newton method for minimizing logistic regression model.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages