Messages 类
定义验证和错误消息。
- 继承
-
builtins.objectMessages
构造函数
Messages()
属性
BAD_MODEL_STATE_MESSAGE
BAD_MODEL_STATE_MESSAGE = 'Model not yet fit'
COMPUTE_ERROR_STATE_INVALID
COMPUTE_ERROR_STATE_INVALID = 'Cannot schedule jobs since compute state is invalid. View the errors on the compute object for detail.'
COMPUTE_MUST_IMPLEMENT_EXECUTE_JOB
COMPUTE_MUST_IMPLEMENT_EXECUTE_JOB = "A valid 'execute_job' implementation must be provided."
COMPUTE_STRATEGY_INVALID
COMPUTE_STRATEGY_INVALID = 'Compute strategy is either invalid or not set.'
COMPUTE_STRATEGY_MUST_INHERIT_BASE
COMPUTE_STRATEGY_MUST_INHERIT_BASE = 'Compute strategy is invalid. The compute type must be a subclass of ComputeBase class.'
DATA_PARAM_NOT_SPECIFIED
DATA_PARAM_NOT_SPECIFIED = 'A valid data parameter must be specified.'
ESTIMATOR_NOT_SUPPORTED
ESTIMATOR_NOT_SUPPORTED = 'Estimator is not of supported type.'
FUNC_PARAM_NOT_SPECIFIED
FUNC_PARAM_NOT_SPECIFIED = 'A valid processing function parameter must be specified.'
INPUT_IS_NOT_TIMESERIESDATAFRAME
INPUT_IS_NOT_TIMESERIESDATAFRAME = 'Input argument should be an instance of TimeSeriesDataFrame class.'
INVALID_TIMESERIESDATAFRAME
INVALID_TIMESERIESDATAFRAME = 'The input X is not a TimeSeriesDataFrame.'
PARAM_MUST_BE_CALLABLE
PARAM_MUST_BE_CALLABLE = 'The `{}` parameter must be a callable.'
PIPELINE_EXECUTION_ERROR
PIPELINE_EXECUTION_ERROR = 'Error executing pipeline.'
PIPELINE_EXECUTION_TYPE_INVALID
PIPELINE_EXECUTION_TYPE_INVALID = 'The execution type specified is invalid or not supported.'
PIPELINE_FINAL_ESTIMATOR_INVALID
PIPELINE_FINAL_ESTIMATOR_INVALID = 'The final estimator in the pipeline is invalid.'
PIPELINE_FORMAT_ERROR
PIPELINE_FORMAT_ERROR = 'Pipeline can have transformers with an ending estimator'
PIPELINE_INVALID
PIPELINE_INVALID = 'Invalid pipeline'
PIPELINE_STEP_ADD_INVALID
PIPELINE_STEP_ADD_INVALID = 'Pipeline validation fails with the new step.'
PIPELINE_STEP_REMOVE_INVALID
PIPELINE_STEP_REMOVE_INVALID = "Pipeline step cannot be removed, because it doesn't exist."
SCHEMA_MISMATCH_MESSAGE
SCHEMA_MISMATCH_MESSAGE = 'Schema of the given dataset does not match the expected schema'
XFORM_INPUT_IS_NOT_TIMESERIESDATAFRAME
XFORM_INPUT_IS_NOT_TIMESERIESDATAFRAME = 'Transform input should be an instance of TimeSeriesDataFrame.'
反馈
提交和查看相关反馈