Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.83 KB

File metadata and controls

30 lines (24 loc) · 1.83 KB

SimultaneousPerturbationStochasticApproximation.jl

Lifecycle Build Status codecov.io Documentation Documentation

A Julia implementation of SPSA (Simultaneous Perturbation Stochastic Approximation).

Install it in a julia repl with

]add https://github.com/jbrea/SimultaneousPerturbationStochasticApproximation.jl
using SimultaneousPerturbationStochasticApproximation
f(x) = sum(abs2, x)
result = minimize(f, lower = fill(-10, 10), upper = fill(10, 10), maxfevals = 10^5)

This package is not (well) tested and has minimal documentation. I found SPSA generally to be inferior to the standard methods of BlackBoxOptim or PyCMA.