aai-institute / ProtoTree

Fork of ProtoTrees: Neural Prototype Trees for Interpretable Fine-grained Image Recognition, published at CVPR2021
Other
3 stars 1 forks source link

Add ability for tree to produce explanations of its predictions #18

Closed Clifford-appliedAI-GmbH closed 1 year ago

Clifford-appliedAI-GmbH commented 1 year ago

Add code that lets the tree explain its predictions (and more generally, rationalize arbitrary predictions). This PR does not include any visualizations of the explanations.

Also includes a load of refactoring of other patch calculation, visualization, and evaluation code to enable the explanation code to be slotted in without things getting overly convoluted.