classification/tree_explainer.py
def print_path_and_foil(self, sample: DataFrame) -> None:
        """
        Give a full explanation: both the full path to the decision, and a contrastive explanation.
        """
        parents, value_leaves = self._inspect_tree()
        self.print_path(sample, parents)
        print("")
        self.report_foils(sample, parents, value_leaves)

        Give a full explanation: both the full path to the decision, and a contrastive explanation.
        
Give a full explanation: both the full path to the decision, and a contrastive explanation.
Give a full explanation : both the full path to the decision and a contrastive explanation .
def print_path_and_foil(self, sample: DataFrame) -> None:
        parents, value_leaves = self._inspect_tree()
        self.print_path(sample, parents)
        print("")
        self.report_foils(sample, parents, value_leaves)
def print_path_and_foil ( self , sample : DataFrame ) -> None : parents , value_leaves = self . _inspect_tree ( ) self . print_path ( sample , parents ) print ( "" ) self . report_foils ( sample , parents , value_leaves )
Give a full explanation: both the full path to the decision, and a contrastive explanation.
Give a full explanation : both the full path to the decision and a contrastive explanation .
"""
        Give a full explanation: both the full path to the decision, and a contrastive explanation.
        """
self
sample
DataFrame