Skip to content

Commit

Permalink
Update text
Browse files Browse the repository at this point in the history
Co-authored-by: AdrianSosic <adrian.sosic@merckgroup.com>
  • Loading branch information
Scienfitz and AdrianSosic authored Oct 10, 2024
1 parent cf46337 commit e69c680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/userguide/utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import numpy as np
from baybe.parameters import NumericalDiscreteParameter
from baybe.searchspace import SearchSpace

# This will create 10 parameters with 20 values each
# This creates 10 parameters with 20 values each.
# The resulting space would have 20^10 entries, requiring around 745 TB of memory for
# both experimental and computational representation of the search space
# both experimental and computational representation of the search space.
parameters = [
NumericalDiscreteParameter(name=f"p{k+1}", values=np.linspace(0, 100, 20))
for k in range(10)
Expand Down

0 comments on commit e69c680

Please sign in to comment.