feiwang3311 / Non-Convex-Newton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Second-Order Optimization for Non-Convex Machine Learning

This repository contains Matlab code that produces all the experimental results in the paper: Second-Order Optimization for Non-Convex Machine Learning: An Empirical Study.

Specifically, multilayer perceptron(MLP) networks and non-linear least squares(NLS) are the two non-convex problems considered.

Usage

MLP networks

Example 1: Cifar10 Classification

Download the Cifar-10 datasets

wget https://www.cs.toronto.edu/~kriz/cifar-10-matlab.tar.gz

or

run the command

bash download_cifar10.sh

or

run the command

bash scripts.sh

Example 2: mnist Autoencoder

In the Matlab Command Window, run

# check details of the function for different configurations
>> result = mnist_autoencoder

NLS

Example 3: NLS on ijcnn1

Download 'ijcnn1' dataset from: https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary.html#ijcnn1

or run the command

bash download_ijcnn1.sh

References

About


Languages

Language:MATLAB 74.1%Language:Python 25.1%Language:Shell 0.8%