From e97be1948f4339cf7289b8099e5251ae1b34ce58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Lafage?= Date: Thu, 30 Nov 2023 17:37:33 +0100 Subject: [PATCH] Prepare release 0.13 (#117) * Bump version * Update changelog * Remove Dockerfile: default maturin image is enough --- CHANGELOG.md | 14 +++++++++++++- Cargo.toml | 10 +++++----- Dockerfile | 18 ------------------ doe/Cargo.toml | 2 +- ego/Cargo.toml | 8 ++++---- gp/Cargo.toml | 4 ++-- moe/Cargo.toml | 6 +++--- pyproject.toml | 2 +- 8 files changed, 29 insertions(+), 35 deletions(-) delete mode 100644 Dockerfile diff --git a/CHANGELOG.md b/CHANGELOG.md index 47efa8c1..2dc60d77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,21 @@ Changes ------- -Version 0.13.0 - unreleased +Version 0.14.0 - unreleased =========================== +Version 0.13.0 - 30/11/2023 +=========================== + +* `ego`: API refactoring to enable `ask-and-tell` interface + * Configuration of Egor is factorize out in `EgorConfig` + * `EgorBuilder` gets a `configure` method to tune the configuration + * `EgorService` structure represent `Egor` when used as service + * Python `Egor` API changes: + * function under optimization is now given via `minimize(fun, max_iters=...)` method + * new method `suggest(xdoe, ydoe)` allows to ask for x suggestion and tell current function evaluations + * new method `get_result(xdoe, ydoe)` to get the best evaluation (ie minimum) from given ones + Version 0.12.0 - 10/11/2023 =========================== diff --git a/Cargo.toml b/Cargo.toml index fbc7c97f..ea85e1ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egobox" -version = "0.12.0" +version = "0.13.0" authors = ["Rémi Lafage "] edition = "2021" description = "A toolbox for efficient global optimization" @@ -31,10 +31,10 @@ persistent-ego = ["egobox-ego/persistent"] blas = ["ndarray/blas", "egobox-gp/blas", "egobox-moe/blas", "egobox-ego/blas"] [dependencies] -egobox-doe = { version = "0.12.0", path = "./doe" } -egobox-gp = { version = "0.12.0", path = "./gp" } -egobox-moe = { version = "0.12.0", path = "./moe", features = ["persistent"] } -egobox-ego = { version = "0.12.0", path = "./ego", features = ["persistent"] } +egobox-doe = { version = "0.13.0", path = "./doe" } +egobox-gp = { version = "0.13.0", path = "./gp" } +egobox-moe = { version = "0.13.0", path = "./moe", features = ["persistent"] } +egobox-ego = { version = "0.13.0", path = "./ego", features = ["persistent"] } linfa = { version = "0.7", default-features = false } diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 7ab8fd07..00000000 --- a/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM maturin - -WORKDIR / -RUN yum install -y openssl-devel gcc gcc-c++ -RUN git clone --depth=1 https://github.com/llvm/llvm-project.git -RUN cd llvm-project \ - && mkdir build \ - && cd build \ - && cmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm \ - && make - -ENV LIBCLANG_PATH=/llvm-project/build/lib -ENV CC=gcc -ENV CXX=g++ - -WORKDIR /io -ENTRYPOINT ["/usr/bin/maturin"] - diff --git a/doe/Cargo.toml b/doe/Cargo.toml index 9b26bc19..07a00339 100644 --- a/doe/Cargo.toml +++ b/doe/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egobox-doe" -version = "0.12.0" +version = "0.13.0" authors = ["Rémi Lafage "] edition = "2021" description = "A library for design of experiments" diff --git a/ego/Cargo.toml b/ego/Cargo.toml index d2ab4456..123542d2 100644 --- a/ego/Cargo.toml +++ b/ego/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egobox-ego" -version = "0.12.0" +version = "0.13.0" authors = ["Rémi Lafage "] edition = "2021" description = "A library for efficient global optimization" @@ -16,11 +16,11 @@ persistent = ["serde_json"] blas = ["ndarray-linalg", "linfa/ndarray-linalg", "linfa-pls/blas"] [dependencies] -egobox-doe = { version = "0.12.0", path = "../doe", features = [ +egobox-doe = { version = "0.13.0", path = "../doe", features = [ "serializable", ] } -egobox-gp = { version = "0.12.0", path = "../gp", features = ["serializable"] } -egobox-moe = { version = "0.12.0", path = "../moe", features = [ +egobox-gp = { version = "0.13.0", path = "../gp", features = ["serializable"] } +egobox-moe = { version = "0.13.0", path = "../moe", features = [ "serializable", ] } diff --git a/gp/Cargo.toml b/gp/Cargo.toml index b01ed1e8..4d87cf79 100644 --- a/gp/Cargo.toml +++ b/gp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egobox-gp" -version = "0.12.0" +version = "0.13.0" authors = ["Rémi Lafage "] edition = "2021" description = "A library for gaussian process modeling" @@ -17,7 +17,7 @@ serializable = ["serde", "linfa/serde"] blas = ["ndarray-linalg", "linfa/ndarray-linalg", "linfa-pls/blas"] [dependencies] -egobox-doe = { version = "0.12.0", path = "../doe" } +egobox-doe = { version = "0.13.0", path = "../doe" } linfa = { version = "0.7", default-features = false } linfa-pls = { version = "0.7", default-features = false } diff --git a/moe/Cargo.toml b/moe/Cargo.toml index ff82f2ce..423f7f82 100644 --- a/moe/Cargo.toml +++ b/moe/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egobox-moe" -version = "0.12.0" +version = "0.13.0" authors = ["Rémi Lafage "] edition = "2021" description = "A library for mixture of expert gaussian processes" @@ -29,8 +29,8 @@ serializable = [ blas = ["ndarray-linalg", "linfa/ndarray-linalg", "linfa-pls/blas"] [dependencies] -egobox-doe = { version = "0.12.0", path = "../doe" } -egobox-gp = { version = "0.12.0", path = "../gp" } +egobox-doe = { version = "0.13.0", path = "../doe" } +egobox-gp = { version = "0.13.0", path = "../gp" } linfa = { version = "0.7", default-features = false } linfa-clustering = { version = "0.7", default-features = false } diff --git a/pyproject.toml b/pyproject.toml index e0cb69f4..d2309ea7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ python-source = "python" [tool.poetry] name = "egobox" -version = "0.12.0" +version = "0.13.0" description = "Python binding for egobox EGO optimizer written in Rust" authors = ["Rémi Lafage "] packages = [{ include = "egobox", from = "python" }]