MMLBaseEstimator Class

Abstract base class for all estimators.

DEPRECATED. Use the ScriptRunConfig object with your own defined environment or an Azure ML curated environment.

Initialize properties common to all estimators.

Inheritance
MMLBaseEstimator

Constructor

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

Parameters

Name Description
source_directory
Required
str

The directory containing code or configuration for the estimator.

compute_target
Required

The compute target where training will happen. This can either be an object or the string "local".

estimator_config
Required

The run-time configuration used by the estimator.

script_params
Required

A dictionary containing parameters to the entry_script.

inputs
Required

Data references or Datasets as input.

source_directory_data_store
Required

The backing data store for the project share.

source_directory
Required
str

The directory containing code or configuration for the estimator.

compute_target
Required

The compute target where training will happen. This can either be an object or the string "local".

estimator_config
Required

The run-time configuration used by the estimator.

Keyword-Only Parameters

Name Description
compute_target
Required
estimator_config
Required

Attributes

conda_dependencies

Return the conda dependencies object for this estimator.

Returns

Type Description

The conda dependencies.

run_config

Return a RunConfiguration object for this estimator.

Returns

Type Description

The run configuration.

source_directory

Return the path to the source directory.

Returns

Type Description
str

The source directory path.