diff --git a/evalml/exceptions/exceptions.py b/evalml/exceptions/exceptions.py index 1f734c4aed..3cd06a81f8 100644 --- a/evalml/exceptions/exceptions.py +++ b/evalml/exceptions/exceptions.py @@ -106,31 +106,31 @@ class PartialDependenceErrorCode(Enum): """Enum identifying the type of error encountered in partial dependence.""" TOO_MANY_FEATURES = "too_many_features" - """TOO_MANY_FEATURES = 'too_many_features'""" + """too_many_features""" FEATURES_ARGUMENT_INCORRECT_TYPES = "features_argument_incorrect_types" - """FEATURES_ARGUMENT_INCORRECT_TYPES = 'features_argument_incorrect_types'""" + """features_argument_incorrect_types""" UNFITTED_PIPELINE = "unfitted_pipeline" - """UNFITTED_PIPELINE = 'unfitted_pipeline'""" + """unfitted_pipeline""" PIPELINE_IS_BASELINE = "pipeline_is_baseline" - """PIPELINE_IS_BASELINE = 'pipeline_is_baseline'""" + """pipeline_is_baseline""" TWO_WAY_REQUESTED_FOR_DATES = "two_way_requested_for_dates" - """TWO_WAY_REQUESTED_FOR_DATES = 'two_way_requested_for_dates'""" + """two_way_requested_for_dates""" FEATURE_IS_ALL_NANS = "feature_is_all_nans" - """FEATURE_IS_ALL_NANS = 'feature_is_all_nans'""" + """feature_is_all_nans""" FEATURE_IS_MOSTLY_ONE_VALUE = "feature_is_mostly_one_value" - """FEATURE_IS_MOSTLY_ONE_VALUE = 'feature_is_mostly_one_value'""" + """feature_is_mostly_one_value""" COMPUTED_PERCENTILES_TOO_CLOSE = "computed_percentiles_too_close" - """COMPUTED_PERCENTILES_TOO_CLOSE = 'computed_percentiles_too_close'""" + """computed_percentiles_too_close""" INVALID_FEATURE_TYPE = "invalid_feature_type" - """INVALID_FEATURE_TYPE = 'invalid_feature_type'""" + """invalid_feature_type""" ICE_PLOT_REQUESTED_FOR_TWO_WAY_PLOT = ( "ice_plot_requested_for_two_way_partial_dependence_plot" ) - """ICE_PLOT_REQUESTED_FOR_TWO_WAY_PLOT = 'ice_plot_requested_for_two_way_partial_dependence_plot'""" + """ice_plot_requested_for_two_way_partial_dependence_plot""" INVALID_CLASS_LABEL = "invalid_class_label_requested_for_plot" - """INVALID_CLASS_LABEL = 'invalid_class_label_requested_for_plot'""" + """invalid_class_label_requested_for_plot""" ALL_OTHER_ERRORS = "all_other_errors" - """ALL_OTHER_ERRORS = 'all_other_errors'""" + """all_other_errors""" class PartialDependenceError(ValueError):