class_docstr: Grid experiment design.
  Uses random design for non-continuous variables, and square grid for continuous ones
class_docstr_tok: ["Grid","experiment","design",".","Uses","random","design","for","non-continuous","variables",",","and","square","grid","for","continuous","ones"]
code: def __init__(self, space):
      if space.has_constraints():
          raise InvalidConfigError(
              "Sampling with constraints is not allowed by grid design"
          )
      super(GridDesign, self).__init__(space)
  
file_path: GPyOpt/GPyOpt/experiment_design/grid_design.py
imports: import numpy
  from ..core.errors import InvalidConfigError
  from .base import ExperimentDesign
  from .random_design import RandomDesign
label_desc: Use image node_id 1 to create a new GridDesign object from inherited base classes: ExperimentDesign with example: obj = GridDesign(space)