Skip to content

TextClassificationJobConfig

Source code in docs_src/capo_sagemaker/types/text_classification_job_config.py
class TextClassificationJobConfig(TypedDict, closed=True):
    completion_criteria: NotRequired[
        "capo_sagemaker.types.auto_ml_job_completion_criteria.AutoMLJobCompletionCriteria"
    ]
    """<p>How long a job is allowed to run, or how many candidates a job is allowed to generate.</p>"""
    content_column: NotRequired["capo_sagemaker.types.content_column.ContentColumn"]
    """<p>The name of the column used to provide the sentences to be classified. It should not be the same as the target column.</p>"""
    target_label_column: NotRequired[
        "capo_sagemaker.types.target_label_column.TargetLabelColumn"
    ]
    """<p>The name of the column used to provide the class labels. It should not be same as the content column.</p>"""

completion_criteria instance-attribute

completion_criteria: NotRequired[AutoMLJobCompletionCriteria]

How long a job is allowed to run, or how many candidates a job is allowed to generate.

content_column instance-attribute

content_column: NotRequired[ContentColumn]

The name of the column used to provide the sentences to be classified. It should not be the same as the target column.

target_label_column instance-attribute

target_label_column: NotRequired[TargetLabelColumn]

The name of the column used to provide the class labels. It should not be same as the content column.