Description Usage Arguments Value
View source: R/oasisad_model.R
The input should be OASISAD data list, the function will train the model with training and vailidaion data, then use the testing data to evaluatoin performance
1 2 3 4 5 6 7 8 9 10 |
train_df |
A data list from oasisad_df function which inlcudes training samples informatin. If neighbor refinement function will be used, the list should include segmentation and white matter probability map for each training subject |
test_df |
A data list from oasisad_df function which inlcudes testing samples informatin. If neighbor refinement function will be used, the list should include segmentation and white matter probability map for each training subject |
valid_df |
A data list from oasisad_df function which inlcudes validation samples informatin. If neighbor refinement function will be used, the list should include segmentation and white matter probability map for each training subject. If it is NULL, optimal threshold algorithm will be used to calculate threshold |
M1 |
A boolean indicates using full model 'M1' or reduced model 'M2', default is reduced model |
refine |
A boolean incicates whether use OASISAD refinement function, to refine probability map from logistic regression model |
neighbor |
A boolean incicates whether use neighbor refinement function, to refine probability map from logistic regression model. If true, segmentation information and white matter probability of brain is needed |
wm_label |
White matter label in segmentation input |
re_value |
A numeric value will be used in neighor refinement functoin to refine a voxel's probability of being White matter hyperintensity |
OASISAD model results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.