-
rust)[ANN] cmaes v0.2.0: An implementation of the CMA-ES optimization algorithm코딩Coding/알고리즘♡Algorithm♡ 2022. 4. 22. 12:50728x90
[ANN] cmaes v0.2.0: An implementation of the CMA-ES optimization algorithm
[cmaes][0] is an implementation of the CMA-ES black box numerical optimization algorithm. It's especially suited to solving high-dimension, non-linear, non-convex, ill-conditioned, and/or noisy problems.
The library allows you to minimize or maximize the value of arbitrary functions:
use cmaes::DVector;
let sphere = |x: &DVector<f64>| x.iter().map(|xi| xi.powi(2)).sum();
let dim = 10;
let solution = cmaes::fmin(sphere, vec![5.0; dim], 1.0);
The `v0.2.0` release contains several new features and improvements, including:
- Automatic restart algorithms including IPOP and BIPOP
- Multithreading support to improve performance with expensive objective functions
- An option to choose whether to minimize or maximize the function
- More termination criteria and options to configure existing ones
- Major performance improvements all-around
Some breaking changes were made to the API in this version. See the [changelog][1] for a full list of features and changes.
[0]: https://github.com/pengowen123/cmaes[1]: https://github.com/pengowen123/cmaes/blob/master/CHANGELOG.md
반응형'코딩Coding > 알고리즘♡Algorithm♡' 카테고리의 다른 글
[로봇영상으로 이해❤️]Merge Sort vs Quick Sort (0) 2022.04.24 [알고리즘 기초]Graph data structure cheat sheet for coding interviews. (0) 2022.04.24 *SEIZURE WARNING* 50+ Sorts❤️, Visualized - Bar Graph & wiki소트 정의 바이블 정의 ㅋㅋ (0) 2022.04.24 Rust]novel sorting algorithm❤️Pattern-defeating Quicksort❤️ Orson Peters👍 (0) 2022.04.23 프로그래밍과 알고리즘 공부 방법 - 김창준님-책 추천도 있음 최고❤️⭐️👍 (0) 2022.04.21 TimSort on different distributions of data (0) 2022.04.20 λ-2D: An Exploration of Drawing as Programming Language (0) 2022.04.20 MergeSort vs TimSort (0) 2022.04.20