Block eval
block_evaluate(config)
ยค
Internal code block for AutoML evaluation.
This function is called by the Command-Line-Interface (CLI) of AUCMEDI.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
config |
dict
|
Configuration dictionary containing all required parameters for performing an AutoML evaluation. |
required |
The following attributes are stored in the config
dictionary:
Attributes:
Name | Type | Description |
---|---|---|
path_imagedir |
str
|
Path to the directory containing the ground truth images. |
path_gt |
str
|
Path to the index/class annotation file if required. (only for 'csv' interface). |
path_pred |
str
|
Path to the input file in which predicted csv file is stored. |
path_evaldir |
str
|
Path to the directory in which evaluation figures and tables should be stored. |
ohe |
bool
|
Boolean option whether annotation data is sparse categorical or one-hot encoded. |
Source code in aucmedi/automl/block_eval.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
|