DashAI.back.tasks.BaseTask
- class BaseTask[source]
Base class for DashAI compatible tasks.
- __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, outputs_columns)Change column types to suit the task requirements.
process_predictions(dataset, predictions, ...)Process the predictions to suit the task requirements.
validate_dataset_for_task(dataset, ...)Validate a dataset for the current task.
Attributes
TYPEschema