vampire.model._apply_models_parse_required_info¶
- vampire.model._apply_models_parse_required_info(required_info)[source]¶
Parse required columns of input DataFrame to apply_models.
- Parameters
- required_infoDataFrame
Required columns (1-4) of input DataFrame
img_info_df.
- Returns
- 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.
- Raises
- FileNotFoundError
If
img_set_pathdoes not exist.- FileNotFoundError
If
model_pathdoes not exist.- ValueError
If
model_pathis not apicklefile.