Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/0.7.0 #181

Merged
merged 3 commits into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 28 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [python-0.7.0] - 2024-02-07

### Added

- `Engine.update` uses `tqdm.auto` for progress bar reporting, to support progress bars in notebooks
- Added `flat_columns` option to `Engine` constructor to enable creating engines with one view
- Added `variability` method to `Engine`

### Changed

- Improved errors in type conversions.
- Rearranged test execution

### Fixed

- Default transition sets now hit all required transitions
- Fixed typo in internal `Dimension` class

## [rust-0.7.0] - 2024-02-07

### Added

- `DataParseError::CodebookAndDataRowsMismatch` variant for when the number of rows in the codebook and the number of rows in the data do not match.
- `DataParseError::DataFrameMissingColumn` variant for when a column is in the codebook but not in the initial dataframe.
- Python's `Engine.update` uses `tqdm.auto` for progress bar reporting.
- Added `flat_columns` option to pylace `Engine` constructor to enable creating engines with one view
- Added `variability` method to `OraceT` trait

### Changed

- Added parallelism to `Slice` row reassignment kernel. Run time is ~6x faster.
- (Python) Improved errors in type conversions.

### Fixed
- Initializing an engine with a codebook that has a different number of rows than the data will result in an error instead of printing a bunch on nonsense.
- Pylace default transition sets didn't hit all required transitions
- Typo in pylace internal `Dimension` class

- Initializing an engine with a codebook that has a different number of rows than the data will result in an error instead of printing a bunch of nonsense.

## [python-0.6.0] - 2024-01-23

Expand Down Expand Up @@ -242,7 +261,9 @@ Initial release on [PyPi](https://pypi.org/)

Initial release on [crates.io](https://crates.io/)

[unreleased]: https://github.com/promised-ai/lace/compare/python-0.6.0...HEAD
[unreleased]: https://github.com/promised-ai/lace/compare/python-0.7.0...HEAD
[python-0.7.0]: https://github.com/promised-ai/lace/compare/python-0.6.0...python-0.7.0
[rust-0.7.0]: https://github.com/promised-ai/lace/compare/rust-0.6.0...rust-0.7.0
[python-0.6.0]: https://github.com/promised-ai/lace/compare/python-0.5.0...python-0.6.0
[rust-0.6.0]: https://github.com/promised-ai/lace/compare/rust-0.5.0...rust-0.6.0
[python-0.5.0]: https://github.com/promised-ai/lace/compare/python-0.4.1...python-0.5.0
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ keywords:
- Bayesian
- Machine Learning
license: BUSL-1.1
version: 0.6.0
date-released: '2024-01-23'
version: 0.7.0
date-released: '2024-02-07'
4 changes: 2 additions & 2 deletions book/lace_preprocess_mdbook_yaml/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ path = "src/main.rs"
anyhow = "1.0"
clap = "4.2"
env_logger = "0.10"
lace_codebook = { path = "../../lace/lace_codebook", version = "0.5.0" }
lace_stats = { path = "../../lace/lace_stats", version = "0.2.1" }
lace_codebook = { path = "../../lace/lace_codebook", version = "0.6.0" }
lace_stats = { path = "../../lace/lace_stats", version = "0.3.0" }
log = "0.4"
mdbook = "0.4"
pulldown-cmark = { version = "0.9", default-features = false }
Expand Down
4 changes: 2 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lace-cli"
version = "0.6.0"
version = "0.7.0"
authors = ["Promised AI"]
edition = "2021"
rust-version = "1.62.0"
Expand All @@ -17,7 +17,7 @@ name = "lace"
path = "src/main.rs"

[dependencies]
lace = { path = "../lace", version = "0.6.0", features = ["formats", "ctrlc_handler"]}
lace = { path = "../lace", version = "0.7.0", features = ["formats", "ctrlc_handler"]}
clap = { version = "4.3.17", features = ["derive"] }
env_logger = "0.10"
serde_yaml = "0.9.4"
Expand Down
16 changes: 8 additions & 8 deletions lace/Cargo.lock

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

16 changes: 8 additions & 8 deletions lace/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lace"
version = "0.6.0"
version = "0.7.0"
authors = ["Promised AI"]
build = "build.rs"
edition = "2021"
Expand Down Expand Up @@ -31,14 +31,14 @@ name = "lace"
path = "src/lib.rs"

[dependencies]
lace_cc = { path = "lace_cc", version = "0.5.0" }
lace_utils = { path = "lace_utils", version = "0.2.0" }
lace_stats = { path = "lace_stats", version = "0.2.1" }
lace_codebook = { path = "lace_codebook", version = "0.5.0", default_features=false}
lace_geweke = { path = "lace_geweke", version = "0.2.1" }
lace_cc = { path = "lace_cc", version = "0.6.0" }
lace_utils = { path = "lace_utils", version = "0.3.0" }
lace_stats = { path = "lace_stats", version = "0.3.0" }
lace_codebook = { path = "lace_codebook", version = "0.6.0", default_features=false}
lace_geweke = { path = "lace_geweke", version = "0.3.0" }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: I didn't change the version of lace_consts since the only change in it was a PATCH version bump in the rv dependency. I think that shouldn't require publishing a new version since Cargo should do the right thing and update the patch by default when people build it.

lace_consts = { path = "lace_consts", version = "0.2.1" }
lace_data = { path = "lace_data", version = "0.2.0" }
lace_metadata = { path = "lace_metadata", version = "0.5.0" }
lace_data = { path = "lace_data", version = "0.3.0" }
lace_metadata = { path = "lace_metadata", version = "0.6.0" }
dirs = { version="5", optional = true}
num = "0.4"
rand_xoshiro = { version="0.6", features = ["serde1"] }
Expand Down
12 changes: 6 additions & 6 deletions lace/lace_cc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lace_cc"
version = "0.5.0"
version = "0.6.0"
authors = ["Promised AI"]
edition = "2021"
exclude = ["tests/*", "resources/test/*", "target/*"]
Expand All @@ -10,12 +10,12 @@ repository = "https://github.com/promised-ai/lace"
description = "Core of the Lace cross-categorization engine library"

[dependencies]
lace_utils = { path = "../lace_utils", version = "0.2.0" }
lace_stats = { path = "../lace_stats", version = "0.2.1" }
lace_geweke = { path = "../lace_geweke", version = "0.2.1" }
lace_utils = { path = "../lace_utils", version = "0.3.0" }
lace_stats = { path = "../lace_stats", version = "0.3.0" }
lace_geweke = { path = "../lace_geweke", version = "0.3.0" }
lace_consts = { path = "../lace_consts", version = "0.2.1" }
lace_data = { path = "../lace_data", version = "0.2.0" }
lace_codebook = { path = "../lace_codebook", version = "0.5.0" }
lace_data = { path = "../lace_data", version = "0.3.0" }
lace_codebook = { path = "../lace_codebook", version = "0.6.0" }
rand = {version="0.8", features=["serde1"]}
rayon = "1.5"
serde = { version = "1", features = ["derive"] }
Expand Down
8 changes: 4 additions & 4 deletions lace/lace_codebook/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lace_codebook"
version = "0.5.0"
version = "0.6.0"
authors = ["Promised.ai"]
edition = "2021"
license = "BUSL-1.1"
Expand All @@ -10,9 +10,9 @@ description = "Contains the Lace codebook specification as well as utilities for

[dependencies]
lace_consts = { path = "../lace_consts", version = "0.2.1" }
lace_stats = { path = "../lace_stats", version = "0.2.1" }
lace_utils = { path = "../lace_utils", version = "0.2.0" }
lace_data = { path = "../lace_data", version = "0.2.0" }
lace_stats = { path = "../lace_stats", version = "0.3.0" }
lace_utils = { path = "../lace_utils", version = "0.3.0" }
lace_data = { path = "../lace_data", version = "0.3.0" }
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9.4"
thiserror = "1.0.11"
Expand Down
4 changes: 2 additions & 2 deletions lace/lace_data/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lace_data"
version = "0.2.0"
version = "0.3.0"
authors = ["Promised AI"]
edition = "2021"
license = "BUSL-1.1"
Expand All @@ -9,7 +9,7 @@ repository = "https://github.com/promised-ai/lace"
description = "Data definitions and data container definitions for Lace"

[dependencies]
lace_utils = { path = "../lace_utils", version = "0.2.0" }
lace_utils = { path = "../lace_utils", version = "0.3.0" }
serde = { version = "1", features = ["derive"] }
thiserror = "1.0.19"

Expand Down
6 changes: 3 additions & 3 deletions lace/lace_geweke/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lace_geweke"
version = "0.2.1"
version = "0.3.0"
authors = ["Promised AI"]
edition = "2021"
license = "BUSL-1.1"
Expand All @@ -9,8 +9,8 @@ repository = "https://github.com/promised-ai/lace"
description = "Geweke tester for Lace"

[dependencies]
lace_stats = { path = "../lace_stats", version = "0.2.1" }
lace_utils = { path = "../lace_utils", version = "0.2.0" }
lace_stats = { path = "../lace_stats", version = "0.3.0" }
lace_utils = { path = "../lace_utils", version = "0.3.0" }
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9.4"
indicatif = "0.17"
Expand Down
10 changes: 5 additions & 5 deletions lace/lace_metadata/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lace_metadata"
version = "0.5.0"
version = "0.6.0"
authors = ["Promised AI"]
edition = "2021"
license = "BUSL-1.1"
Expand All @@ -9,10 +9,10 @@ repository = "https://github.com/promised-ai/lace"
description = "Archive of the metadata (savefile) formats for Lace. In charge of versioning and conversion."

[dependencies]
lace_stats = { path = "../lace_stats", version = "0.2.1" }
lace_data = { path = "../lace_data", version = "0.2.0" }
lace_codebook = { path = "../lace_codebook", version = "0.5.0" }
lace_cc = { path = "../lace_cc", version = "0.5.0" }
lace_stats = { path = "../lace_stats", version = "0.3.0" }
lace_data = { path = "../lace_data", version = "0.3.0" }
lace_codebook = { path = "../lace_codebook", version = "0.6.0" }
lace_cc = { path = "../lace_cc", version = "0.6.0" }
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9.4"
serde_json = "1"
Expand Down
6 changes: 3 additions & 3 deletions lace/lace_stats/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lace_stats"
version = "0.2.1"
version = "0.3.0"
rust-version = "1.62.0"
authors = ["Promised AI"]
edition = "2021"
Expand All @@ -10,9 +10,9 @@ repository = "https://github.com/promised-ai/lace"
description = "Contains component model and hyperprior specifications"

[dependencies]
lace_utils = { path = "../lace_utils", version = "0.2.0" }
lace_utils = { path = "../lace_utils", version = "0.3.0" }
lace_consts = { path = "../lace_consts", version = "0.2.1" }
lace_data = { path = "../lace_data", version = "0.2.0" }
lace_data = { path = "../lace_data", version = "0.3.0" }
special = "0.10"
rand = {version="0.8", features=["serde1"]}
itertools = "0.12"
Expand Down
2 changes: 1 addition & 1 deletion lace/lace_utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lace_utils"
version = "0.2.0"
version = "0.3.0"
authors = ["Promised AI"]
edition = "2021"
license = "BUSL-1.1"
Expand Down
6 changes: 3 additions & 3 deletions pylace/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pylace"
version = "0.6.0"
version = "0.7.0"
edition = "2021"
license = "BUSL-1.1"

Expand All @@ -9,8 +9,8 @@ name = "lace"
crate-type = ["cdylib"]

[dependencies]
lace = { path = "../lace", version="0.6.0" }
lace_utils = { path = "../lace/lace_utils", version="0.2.0" }
lace = { path = "../lace", version="0.7.0" }
lace_utils = { path = "../lace/lace_utils", version="0.3.0" }
rand = "0.8.5"
rand_xoshiro = "0.6.0"
pyo3 = { version = "0.20", features = ["extension-module"] }
Expand Down
2 changes: 1 addition & 1 deletion pylace/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "pylace"
version = "0.6.0"
version = "0.7.0"
description = "A probabalistic programming ML tool for science"
requires-python = ">=3.8"
classifiers = [
Expand Down
Loading