Hive-ML config#
Hive-ML configuration template#
A JSON template used to set the configuration parameters for experiments based on Hive-ML framework. |
|||
properties |
|||
|
File suffix (or list of File suffixes) of the files containing the image volume. Example: “_image.nii.gz” |
||
type |
string / array |
||
|
File suffix (including file extension) of the files containing the segmentation mask of the ROI. Example: “_mask.nii.gz” |
||
type |
string |
||
|
Dictionary for all the classifiers to evaluate. Each element includes the classifier class name and an additional dictionary with the kwargs to pass to the classifier object. |
||
type |
object |
||
|
Type of Feature Selection to perform. Supported values are |
||
type |
string |
||
|
Number of features to preserve when performing Feature Selection. Example: |
||
type |
integer |
||
|
Aggregation strategy used when extracting features in the 4D. Supported values are: |
||
type |
string |
||
|
Random seed number used when randomizing events and actions. Example: 12345 |
||
type |
integer |
||
|
Dictionary describing the classes. The key-value pair contains the label value as key (starting from |
||
type |
object |
||
properties |
|||
|
Class 0 Identifier. |
||
type |
string |
||
|
Class 1 Identifier. |
||
type |
string |
||
|
Dictionary describing the perfusion maps to extract. Each element includes the perfusion map name and the file suffix used to save the perfusion map. |
||
type |
object |
||
|
Number of folds to run cross-validation. Example: 5. |
||
type |
integer |
||
|
Classification Metric to consider when determining the best models from CV results. |
||
type |
string |
||
|
Reduction to perform on CV scores to determine the best models. |
||
type |
string |
||
{
"image_suffix": "_image.nii.gz",
"mask_suffix": "_mask.nii.gz",
"label_dict": {
"0": "non-pCR",
"1": "pCR"
},
"models": {
"rf": {
"criterion": "gini",
"n_estimators": 100,
"max_depth": 10
},
"adab": {
"criterion": "gini",
"n_estimators": 100,
"max_depth": 10
},
"knn": {},
"lda": {},
"qda": {},
"logistic_regression": {},
"svm": {
"kernel": "rbf"
},
"naive": {}
},
"perfusion_maps": {
"distance_map": "_distance_map.nii.gz",
"distance_map_depth": {
"suffix": "_distance_map_depth.nii.gz",
"kwargs": [
2
]
},
"ttp": "_ttp_map.nii.gz",
"cbv": "_cbv_map.nii.gz",
"cbf": "_cbf_map.nii.gz",
"mtt": "_mtt_map.nii.gz"
},
"feature_selection": "SFFS",
"n_features": 30,
"n_folds": 5,
"random_seed": 12345,
"feature_aggregator": "SD",
"k_ensemble": [1,5],
"metric_best_model": "roc_auc",
"reduction_best_model": "mean"
}