Skip to content

Commit

Permalink
Merge: Include 0.11.4 Hotfix Changes in main (#469)
Browse files Browse the repository at this point in the history
Include the changes injected as a hotfix for version 0.11.4
- deactivate polars streaming
- fix `best_f` for single target minimization
  • Loading branch information
Scienfitz authored Jan 28, 2025
2 parents 71d9cf0 + d86dbe2 commit 890c75e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
between constraints and dropped parameters yielding empty parameter sets
- Minimizing a single `NumericalTarget` with specified bounds/transformation via
`SingleTargetObjective` no longer erroneously maximizes it
- Improvement-based Monte Carlo acquisition functions now use the correct
reference value in minimization mode
- `allow_*` flags are now context-aware, i.e. setting them in a context where they are
irrelevant now raises an error instead of passing silently

Expand All @@ -82,6 +80,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
metadata required for the flags is no longer available at that level. The
functionality has been taken over by `Campaign`.

## [0.11.4] - 2025-01-27
### Changed
- Polars lazy streaming has been deactivated due to instabilities

### Fixed
- Improvement-based Monte Carlo acquisition functions now use the correct
reference value for single-target minimization

## [0.11.3] - 2024-11-06
### Fixed
- `protobuf` dependency issue, version pin was removed
Expand Down
2 changes: 1 addition & 1 deletion baybe/searchspace/discrete.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def from_product(
lazy_df, mask_missing = _apply_constraint_filter_polars(
lazy_df, constraints
)
df_records = lazy_df.collect(streaming=True).to_dicts()
df_records = lazy_df.collect().to_dicts()
df = pd.DataFrame.from_records(df_records)
except OptionalImportError:
# Apply pandas product
Expand Down

0 comments on commit 890c75e

Please # to comment.