errors Module

Custom errors which provide feedback to the user.

@author: drusk

exception pml.utils.errors.InconsistentFeaturesError(expected_features, actual_features)[source]

Indicates that the features found were not those expected.

__init__(expected_features, actual_features)[source]

Constructs a new exception.

Args:
expected_features:
The features that should have been present.
actual_features:
The features which were actually there.
exception pml.utils.errors.InconsistentSampleIdError(message)[source]

Indicates that two data objects which should have contained data for the same list of samples had a mismatch in the sample ids they contained.

Used when constructing a DataSet to make sure the labels are for the data provided.

__init__(message)[source]

Constructs a new exception.

exception pml.utils.errors.UnlabelledDataSetError(custom_message=None)[source]

A custom exception to be thrown when trying to perform an operation that requires a DataSet to be labelled when it is not.

__init__(custom_message=None)[source]

Constructs a new exception.

exception pml.utils.errors.UnsupportedPlotTypeError(requested_type, supported_types)[source]

A custom exception to be thrown when trying to select a plot type that is not available.

__init__(requested_type, supported_types)[source]

Constructs a new exception.

Project Versions

Previous topic

distance_utils Module

Next topic

id3 Module

This Page