Skip to content

bumsu-kim/CARS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CARS

Code for Experiments done in the paper Curvature-Aware Derivative-Free Optimization.

This repository includes three folders for three different experiments.

  1. CARS_minimal: This includes the minimal example for CARS/CARS-NQ in MATLAB

  2. CARS_MoreGarbowHillstrom: This experiment solves More-Garbow-Hillstrom problems with CARS and some other algorithms for comparison, and produces a performance profile.

  3. CARS_MNIST: This is for the black-box adversarial attack on MNIST dataset.

Each folder has its own Readme file, so have a look at it for more details.

Link to the Refactored Version

There is a refactored version of this repo: CARS Refactored.

In this version, you can simply do, for instance,

from cars.util import setup_default_optimizer

opt = setup_default_optimizer("CARS", f = my_func, x0 = x0)
opt.optimize()

or easily fine-tune the parameters for the optimizer using a configuration json file.

Interested readers can read this.

About

Curvature Aware Random Search

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published