DashAI.back.tasks.TranslationTask
- class TranslationTask[source]
Base class for translation task.
- __init__()
Methods
__init__()get_metadata()Get metadata values for the current task
num_labels(dataset, output_column)Get the number of unique labels in the output column.
prepare_for_task(dataset, input_columns, ...)Convert the dataset to DashAIDataset and check the columns types
process_predictions(dataset, predictions, ...)Process the predictions
validate_dataset_for_task(dataset, ...)Validate a dataset for the current task.
Attributes
COMPATIBLE_COMPONENTSDESCRIPTIONDISPLAY_NAMETYPEmetadataschema