load_learners
Loads the learners from a specified directory.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
path
|
Union[str, Path]
|
Path to the directory where models are stored. |
required |
verbose
|
bool
|
Prints loaded models. Defaults to False. |
False
|
Returns:
Name | Type | Description |
---|---|---|
dict |
dict
|
Dictionary containing loaded learners. |
Raises:
Type | Description |
---|---|
FileNotFoundError
|
If the specified directory does not exist. |
Source code in periomod/wrapper/_wrapper.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
|