vampire.model.apply_model¶
- vampire.model.apply_model(img_set_path, model_path, output_path, img_set_name, filter_info)[source]¶
Apply VAMPIRE model to one image set.
- Parameters
- img_set_pathstr
Path to the directory containing the image set(s) used to apply model.
- model_pathstr
Path to the pickle file that stores model information.
- output_pathstr
Path of the directory used to output model and figures. Defaults to
img_set_path.- img_set_namestr
Name of the image set being applied to. Defaults to time of function call.
- filter_infoDataFrame
Optional columns beyond the required columns in input DataFrame
img_info_df.
See also
apply_modelsApply multiple models using different images/conditions.