MMLBaseEstimator 类

所有估算器的抽象基类。

已弃用。 将 ScriptRunConfig 对象与你自己定义的环境或 Azure ML 特选环境配合使用。

继承
MMLBaseEstimator

构造函数

MMLBaseEstimator(source_directory, *, compute_target, estimator_config=None)

参数

source_directory
str
必需

包含估算器的代码或配置的目录。

compute_target
AbstractComputeTargetstr
必需

将在其中进行训练的计算目标。 可以是对象或字符串“local”。

estimator_config
RunConfiguration
必需

估算器所使用的运行时配置。

script_params
dict
必需

一个包含 entry_script 的参数的字典。

inputs
list
必需

充当输入的数据引用或数据集。

source_directory_data_store
Datastore
必需

项目共享的支持数据存储。

属性

conda_dependencies

返回此估算器的 conda 依赖项对象。

返回

conda 依赖项。

返回类型

run_config

返回此估计器的 RunConfiguration 对象。

返回

运行配置。

返回类型

source_directory

返回源目录的路径。

返回

源目录路径。

返回类型

str