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

source_directory
str
Required

The directory containing code or configuration for the estimator.

compute_target
AbstractComputeTarget or str
Required

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

estimator_config
RunConfiguration
Required

The run-time configuration used by the estimator.

script_params
dict
Required

A dictionary containing parameters to the entry_script.

inputs
list
Required

Data references or Datasets as input.

source_directory_data_store
Datastore
Required

The backing data store for the project share.

source_directory
str
Required

The directory containing code or configuration for the estimator.

compute_target
AbstractComputeTarget or str
Required

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

estimator_config
RunConfiguration
Required

The run-time configuration used by the estimator.

Attributes

conda_dependencies

Return the conda dependencies object for this estimator.

Returns

The conda dependencies.

Return type

run_config

Return a RunConfiguration object for this estimator.

Returns

The run configuration.

Return type

source_directory

Return the path to the source directory.

Returns

The source directory path.

Return type

str