default_cache_roots
- hybrid_learning.concepts.analysis.analysis_handle.default_cache_roots(wrapped_data, concept_model=None, main_model_stump=None, concept=None, cache_root=None)[source]
Given a dataset to be wrapped and a concept model, provide standard cache roots paths. Either give a
concept_model
or its defining parameters, namelymain_model_stump
and theconcept
. Seedefault_mask_cache_root()
anddefault_act_cache_root()
for details.- Parameters
wrapped_data (BaseDataset) –
concept_model (Optional[ConceptDetectionModel2D]) –
main_model_stump (Optional[ModelStump]) –
- Return type