SweeperConfig 类
扫描器配置的定位器。
- 继承
-
builtins.objectSweeperConfig
构造函数
SweeperConfig()
方法
| default |
返回默认备份配置。 |
| from_dict |
从字典加载。 |
| get_config |
提供配置。 |
| set_default |
重写配置路径。 |
default
返回默认备份配置。
default() -> Dict[str, Any]
参数
- cls
必需
from_dict
从字典加载。
from_dict(dct: Dict[str, Any]) -> azureml.automl.core.configuration.sweeper_config.SweeperConfig
参数
- dct
必需
包含所有所需参数的字典。
返回
创建扫描器配置。
get_config
提供配置。
get_config() -> Dict[str, Any]
set_default
重写配置路径。
set_default(overide_config_path: str) -> None
参数
- overide_config_path
必需
重写的配置路径。
属性
CONFIG_DOWNLOAD_FILE
CONFIG_DOWNLOAD_FILE = 'config_v1.3.json'
CONFIG_DOWNLOAD_PREFIX
CONFIG_DOWNLOAD_PREFIX = 'https://aka.ms/automl-resources/configs/'
DEFAULT_CONFIG_PATH
DEFAULT_CONFIG_PATH = '../../sweeping/config.json'
反馈
提交和查看相关反馈