MMLBaseEstimator class

Definition

Abstract base class for all estimators.

MMLBaseEstimator(source_directory, *, compute_target, estimator_config=None)
Inheritance
builtins.object
MMLBaseEstimator

Parameters

source_directory
str

The directory containing code or configuration for the estimator.

compute_target
AbstractComputeTarget or str

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

estimator_config
RunConfiguration

The run-time configuration used by the estimator.

script_params
dict

A dictionary containing parameters to the entry_script.

inputs
list

Data references or Datasets as input.

source_directory_data_store
Datastore

The backing data store for the project share.

Attributes

conda_dependencies

Return the conda dependencies object for this estimator.

Returns

The conda dependencies.

Return type

run_config

Return 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