Exceptions

Submodules

Package Contents

Contents

exception evalml.exceptions.AutoMLSearchException[source]

Exception raised when all pipelines in an automl batch return a score of NaN for the primary objective.

exception evalml.exceptions.ComponentNotYetFittedError[source]

An exception to be raised when predict/predict_proba/transform is called on a component without fitting first.

exception evalml.exceptions.DataCheckInitError[source]

Exception raised when a data check can’t initialize with the parameters given.

exception evalml.exceptions.EnsembleMissingPipelinesError[source]

An exception raised when an ensemble is missing estimators (list) as a parameter.

exception evalml.exceptions.MethodPropertyNotFoundError[source]

Exception to raise when a class is does not have an expected method or property.

exception evalml.exceptions.MissingComponentError[source]

An exception raised when a component is not found in all_components()

exception evalml.exceptions.NoPositiveLabelException[source]

Exception when a particular classification label for the ‘positive’ class cannot be found in the column index or unique values

exception evalml.exceptions.NullsInColumnWarning[source]

Warning thrown when there are null values in the column of interest

exception evalml.exceptions.ObjectiveCreationError[source]

Exception when get_objective tries to instantiate an objective and required args are not provided.

exception evalml.exceptions.ObjectiveNotFoundError[source]

Exception to raise when specified objective does not exist.

exception evalml.exceptions.ParameterNotUsedWarning(components)[source]

Warning thrown when a pipeline parameter isn’t used in a defined pipeline’s component graph during initialization.

exception evalml.exceptions.PipelineNotFoundError[source]

An exception raised when a particular pipeline is not found in automl search results

exception evalml.exceptions.PipelineNotYetFittedError[source]

An exception to be raised when predict/predict_proba/transform is called on a pipeline without fitting first.

exception evalml.exceptions.PipelineScoreError(exceptions, scored_successfully)[source]

An exception raised when a pipeline errors while scoring any objective in a list of objectives.

Parameters
  • exceptions (dict) – A dictionary mapping an objective name (str) to a tuple of the form (exception, traceback). All of the objectives that errored will be stored here.

  • scored_successfully (dict) – A dictionary mapping an objective name (str) to a score value. All of the objectives that did not error will be stored here.