π binaryΒΆ
Note
ID: tasks.classification.binary | Type: FormTask
{
"augmentable_inputs": [
"text"
],
"inputs": [
"text",
"text_type",
"class"
],
"metrics": [
"metrics.f1_micro_multi_label",
"metrics.f1_macro_multi_label",
"metrics.accuracy"
],
"outputs": [
"class",
"label"
],
"type": "form_task"
}
Explanation about FormTaskΒΆ
FormTask packs the different instance fields into dictionaries by their roles in the task.
- The output instance contains three fields:
βinputsβ whose value is a sub-dictionary of the input instance, consisting of all the fields listed in Arg βinputsβ. βoutputsβ β for the fields listed in Arg βoutputsβ. βmetricsβ β to contain the value of Arg βmetricsβ
References: metrics.accuracy, metrics.f1_macro_multi_label, metrics.f1_micro_multi_label
Read more about catalog usage here.