Tasks 类

common.core 模块中的任务子类,可以扩展该子类来为 SDK 添加更多任务类型。

可以使用 AutoMLConfig 构造函数的 task 参数为自动化 ML 试验设置任务类型。 有关任务的详细信息,请参阅如何定义机器学习任务

继承
Tasks

构造函数

Tasks()

属性

ALL

ALL = ['classification', 'regression', 'forecasting', 'image-classification', 'image-classification-multilabel', 'image-multi-labeling', 'image-object-detection', 'image-instance-segmentation', 'text-classification', 'text-classification-multilabel', 'text-ner']

ALL_DNN

ALL_DNN = ['image-classification', 'image-classification-multilabel', 'image-multi-labeling', 'image-object-detection', 'image-instance-segmentation', 'text-classification', 'text-classification-multilabel', 'text-ner']

ALL_IMAGE

ALL_IMAGE = ['image-classification', 'image-classification-multilabel', 'image-multi-labeling', 'image-object-detection', 'image-instance-segmentation']

ALL_TEXT

ALL_TEXT = ['text-classification', 'text-classification-multilabel', 'text-ner']

CLASSIFICATION

CLASSIFICATION = 'classification'

FORECASTING

FORECASTING = 'forecasting'

IMAGE_CLASSIFICATION

IMAGE_CLASSIFICATION = 'image-classification'

IMAGE_CLASSIFICATION_MULTILABEL

IMAGE_CLASSIFICATION_MULTILABEL = 'image-classification-multilabel'

IMAGE_INSTANCE_SEGMENTATION

IMAGE_INSTANCE_SEGMENTATION = 'image-instance-segmentation'

IMAGE_MULTI_LABEL_CLASSIFICATION

IMAGE_MULTI_LABEL_CLASSIFICATION = 'image-multi-labeling'

IMAGE_OBJECT_DETECTION

IMAGE_OBJECT_DETECTION = 'image-object-detection'

REGRESSION

REGRESSION = 'regression'

TEXT_CLASSIFICATION

TEXT_CLASSIFICATION = 'text-classification'

TEXT_CLASSIFICATION_MULTILABEL

TEXT_CLASSIFICATION_MULTILABEL = 'text-classification-multilabel'

TEXT_NER

TEXT_NER = 'text-ner'