Sorting the Facets statistics overview
You can sort the features of the datasets in several interesting ways, as shown in Figure 3.2:
Figure 3.2: Sorting the features of the datasets
We will start by sorting the feature columns by feature order.
Sorting data by feature order
The feature order sorting option displays the features as defined in the DataFrame in the Reading the data files section of this chapter:
features = ["colored_sputum", "cough", "fever", "headache", "days",
"france", "chicago", "class"]
The order of features can be used as a way to explain why a decision is made.
XAI motivation for sorting features
You can use feature order to explain the reasoning behind a decision. For a given patient, we could sort the features in descending order. The first feature would contain the highest probability value for a given person. The last feature...