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

Add Literature References #20

Merged
merged 2 commits into from
Dec 4, 2023
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Project metadata to pyproject.toml
- PyPI release pipeline
- Favicon for homepage
- More literature references

### Changed
- Reworked README for GitHub landing page
Expand Down
5 changes: 4 additions & 1 deletion baybe/utils/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,10 @@ def df_drop_string_columns(
def df_uncorrelated_features(
df: pd.DataFrame, exclude_list: Optional[List[str]] = None, threshold: float = 0.7
):
"""Return an uncorrelated set of features. Adapted from edbo.
"""Return an uncorrelated set of features.

Adapted from edbo (https://github.com/b-shields/edbo ,
AVHopp marked this conversation as resolved.
Show resolved Hide resolved
https://doi.org/10.1038/s41586-021-03213-y).

Args:
df: The dataframe to be cleaned
Expand Down
2 changes: 2 additions & 0 deletions examples/Backtesting/full_lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
#### Lookup functionality and data creation

# We read the information about the conducted experiments from a .xlsx-file.
# This data set was obtained from [Shields, B.J., Stevens et al. Nature 590, 89–96 (2021)](https://doi.org/10.1038/s41586-021-03213-y) and contains measurements of a reaction yield,
Scienfitz marked this conversation as resolved.
Show resolved Hide resolved
# varying typical reaction conditions.
# Depending on your system and settings, you might need to slightly adjust the following paths.
# The reason is that it depends on the folder in which you execute the `python` call.
# This code assumes that you call `python` either from the repository root folder or this folder.
Expand Down