load_model()
Load a model save_model() saved.
Loading is pickle's, so only load models from projects you trust: a pickle can run code. A statsmodels formula result loads anywhere, including the top level of a script.
Usage
load_model(name: str, public: bool | None = None) -> Any
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| name required | str |
The name it was saved under, without extension. |
|
| public | bool | None | None |
Which models folder to read in a sensitive project: the public one (True) or the private one (False). Default: the private folder, then the public one. |
Value
The model.