GridGenerator
If you want to automatically generate grids to tune models with, here’s how.
get_empty_grids
saves empty grids to working directory as Grids.py (does not overwrite by default).
- param overwrite
whether to overwrite a Grids.py file if one is already in the working directory.
- type overwrite
bool
- returns
None
>>> from scalecast import GridGenerator
>>> GridGenerator.get_empty_grids() # writes a Grids.py file with all available models that can be tuned and empty dictionaries
get_example_grids
saves example grids to working directory as Grids.py (does not overwrite by default).
- param overwrite
whether to overwrite a Grids.py file if one is already in the working directory.
- type overwrite
bool
- returns
None
>>> from scalecast import GridGenerator
>>> GridGenerator.get_example_grids() # writes a Grids.py file with all available models that can be tuned and example dictionaries