Skip to content

Commit

Permalink
Prepare release 0.25.0 (#223)
Browse files Browse the repository at this point in the history
* Bump version 0.25.0

* Update README

* Update changelog

* Update poetry lock file
  • Loading branch information
relf authored Dec 19, 2024
1 parent 85bac48 commit 67fb321
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 30 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changes

## Version 0.25.0 - 19/12/2024

* `gp`: **Breaking change** - Change GP training Rust API to use one dimensional array by @relf in <https://github.com/relf/egobox/pull/222>
* `doe`: Fix optimized LHS ESE algorithm by @relf in <https://github.com/relf/egobox/pull/219>
* `egobox::Gpx`: Exception raised if training output data is not one-dimensional by @relf in <https://github.com/relf/egobox/pull/218>
* `moe`: Refactor `predict_smooth` by @relf in <https://github.com/relf/egobox/pull/221>
* Update to numpy crate 0.22.1 to fix win32 compilation by @relf in <https://github.com/relf/egobox/pull/216>

## Version 0.24.0 - 12/11/2024

* `moe`: Save/Load surrogates in binary format by @relf in <https://github.com/relf/egobox/pull/213>
Expand Down
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "egobox"
version = "0.24.0"
version = "0.25.0"
authors = ["Rémi Lafage <[email protected]>"]
edition = "2021"
description = "A toolbox for efficient global optimization"
Expand Down Expand Up @@ -31,10 +31,10 @@ persistent-moe = ["egobox-moe/persistent"]
blas = ["ndarray/blas", "egobox-gp/blas", "egobox-moe/blas", "egobox-ego/blas"]

[dependencies]
egobox-doe = { version = "0.24.0", path = "./doe" }
egobox-gp = { version = "0.24.0", path = "./gp" }
egobox-moe = { version = "0.24.0", path = "./moe", features = ["persistent"] }
egobox-ego = { version = "0.24.0", path = "./ego", features = ["persistent"] }
egobox-doe = { version = "0.25.0", path = "./doe" }
egobox-gp = { version = "0.25.0", path = "./gp" }
egobox-moe = { version = "0.25.0", path = "./moe", features = ["persistent"] }
egobox-ego = { version = "0.25.0", path = "./ego", features = ["persistent"] }

linfa = { version = "0.7", default-features = false }

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ import numpy as np
import egobox as egx

# Training
xtrain = np.array([[0.0, 1.0, 2.0, 3.0, 4.0]]).T
ytrain = np.array([[0.0, 1.0, 1.5, 0.9, 1.0]]).T
xtrain = np.array([0.0, 1.0, 2.0, 3.0, 4.0])
ytrain = np.array([0.0, 1.0, 1.5, 0.9, 1.0])
gpx = egx.Gpx.builder().fit(xtrain, ytrain)

# Prediction
Expand All @@ -79,10 +79,10 @@ Depending on the sub-packages you want to use, you have to add following declara

```text
[dependencies]
egobox-doe = { version = "0.24" }
egobox-gp = { version = "0.24" }
egobox-moe = { version = "0.24" }
egobox-ego = { version = "0.24" }
egobox-doe = { version = "0.25" }
egobox-gp = { version = "0.25" }
egobox-moe = { version = "0.25" }
egobox-ego = { version = "0.25" }
```

### Features
Expand Down Expand Up @@ -146,7 +146,7 @@ Thus, for instance, to use `gp` with the Intel MKL BLAS/LAPACK backend, you coul

```text
[dependencies]
egobox-gp = { version = "0.24", features = ["blas", "linfa/intel-mkl-static"] }
egobox-gp = { version = "0.25", features = ["blas", "linfa/intel-mkl-static"] }
```

or you could run the `gp` example as follows:
Expand Down
2 changes: 1 addition & 1 deletion doe/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "egobox-doe"
version = "0.24.0"
version = "0.25.0"
authors = ["Rémi Lafage <[email protected]>"]
edition = "2021"
description = "A library for design of experiments"
Expand Down
8 changes: 4 additions & 4 deletions ego/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "egobox-ego"
version = "0.24.0"
version = "0.25.0"
authors = ["Rémi Lafage <[email protected]>"]
edition = "2021"
description = "A library for efficient global optimization"
Expand All @@ -16,11 +16,11 @@ persistent = ["egobox-moe/persistent"]
blas = ["ndarray-linalg", "linfa/ndarray-linalg", "linfa-pls/blas"]

[dependencies]
egobox-doe = { version = "0.24.0", path = "../doe", features = [
egobox-doe = { version = "0.25.0", path = "../doe", features = [
"serializable",
] }
egobox-gp = { version = "0.24.0", path = "../gp", features = ["serializable"] }
egobox-moe = { version = "0.24.0", path = "../moe", features = [
egobox-gp = { version = "0.25.0", path = "../gp", features = ["serializable"] }
egobox-moe = { version = "0.25.0", path = "../moe", features = [
"serializable",
] }

Expand Down
4 changes: 2 additions & 2 deletions gp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "egobox-gp"
version = "0.24.0"
version = "0.25.0"
authors = ["Rémi Lafage <[email protected]>"]
edition = "2021"
description = "A library for gaussian process modeling"
Expand All @@ -18,7 +18,7 @@ persistent = ["serializable", "serde_json"]
blas = ["ndarray-linalg", "linfa/ndarray-linalg", "linfa-pls/blas"]

[dependencies]
egobox-doe = { version = "0.24.0", path = "../doe" }
egobox-doe = { version = "0.25.0", path = "../doe" }

linfa = { version = "0.7", default-features = false }
linfa-pls = { version = "0.7", default-features = false }
Expand Down
6 changes: 3 additions & 3 deletions moe/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "egobox-moe"
version = "0.24.0"
version = "0.25.0"
authors = ["Rémi Lafage <[email protected]>"]
edition = "2021"
description = "A library for mixture of expert gaussian processes"
Expand Down Expand Up @@ -29,8 +29,8 @@ serializable = [
blas = ["ndarray-linalg", "linfa/ndarray-linalg", "linfa-pls/blas"]

[dependencies]
egobox-doe = { version = "0.24.0", path = "../doe" }
egobox-gp = { version = "0.24.0", path = "../gp" }
egobox-doe = { version = "0.25.0", path = "../doe" }
egobox-gp = { version = "0.25.0", path = "../gp" }

linfa = { version = "0.7", default-features = false }
linfa-clustering = { version = "0.7", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ python-source = "python"

[tool.poetry]
name = "egobox"
version = "0.24.0"
version = "0.25.0"
description = "Python binding for egobox EGO optimizer written in Rust"
authors = ["Rémi Lafage <[email protected]>"]
packages = [{ include = "egobox", from = "python" }]

[tool.poetry.dependencies]
numpy = ">=1.18, <2"
numpy = ">=1.18"
python = ">=3.9"

[tool.poetry.dev-dependencies]
Expand Down

0 comments on commit 67fb321

Please sign in to comment.