README.MD

October 17, 2021 ยท View on GitHub

Multivariate optimization library

See each sub-directory for different optimization approaches.

  • A few metaheuristics algorithm have been implemented
  • Reverse mode AD using my enhanced KANN library

PracticalExamples folder contains example of:

  • Combine mathematical programming and metaheuristics to design of parametric IIR filters

As long as metaheuristics doesn't hurt solution and keep reduce cost function value :)

A example of optimization history of peaking fit, DE go 10000 iterations, SGD go 6000 iterations:

Differential Evolution, oops!Stochastic Gradient descent, great!
Animation 1Animation 2

A example of optimization history of peaking fit, 60000 iterations:

Differential Evolution, not badStochastic Gradient descent, excellent, unity gain bias is needed
Static picture 1Static picture 2

Bad examples:

Differential Evolution, 51000 iterations, badStochastic Gradient descent, 51000 iterations, badSGD + DE, 21000 iterations, better
Static picture 1Static picture 2Static picture 3