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
必要

專案共用的備份資料存放區。

source_directory
str
必要

包含估算器的程式碼或組態的目錄。

compute_target
AbstractComputeTargetstr
必要

定型會發生所在的計算目標。 這可以是 物件或字串 「local」。

estimator_config
RunConfiguration
必要

估算器所使用的執行時間組態。

屬性

conda_dependencies

傳回這個估算器的 conda 相依性物件。

傳回

conda 相依性。

傳回類型

run_config

傳回這個估算器的 RunConfiguration 物件。

傳回

執行組態。

傳回類型

source_directory

傳回來原始目錄的路徑。

傳回

來原始目錄路徑。

傳回類型

str