model_name
stringclasses
20 values
predicted_class
stringclasses
4 values
task_name
stringlengths
13
44
narration
stringlengths
473
1.48k
values
sequence
sign
sequence
narrative_id
int32
1
454
unique_id
int32
0
468
classes_dict
stringlengths
30
63
narrative_questions
sequence
feature_nums
sequence
ft_num2name
stringlengths
78
3.67k
old2new_ft_nums
stringlengths
72
1.28k
old2new_classes
stringclasses
22 values
predicted_class_label
stringlengths
2
23
class2name
stringlengths
25
85
SVM_linear
C2
Wine Quality Prediction
The classifier assigns the label C2 since the probability associated with C2 is greater than that of C1. For the case under consideration, F1, F7, F11, and F9 are the sets of features significantly influencing the decision made by the classifier. However, features such as F5, F6, and F8 have limited to no impact on the classifier's output decision. F7, F1, and F9 are the features that are positively shifting the verdict toward predicting C2, not C1. In contrast, F11, F10, F6, and F8 have negative attributions, implying that they decrease the likelihood of C2 in favour of C1.
[ "0.09", "0.08", "0.06", "-0.03", "0.03", "-0.01", "0.01", "0.01", "0.01", "-0.01", "-0.00" ]
[ "positive", "positive", "positive", "negative", "positive", "negative", "positive", "positive", "positive", "negative", "negative" ]
175
99
{'C1': '32.46%', 'C2': '67.54%'}
[ "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Summarize the direction of influence of the features (F1, F7, F9 and F11) on the prediction made for this test case.", "Compare the direction of impact of the features: F2, F10 and F3.", "Describe the degree of impact of the following features: F4, F5 and F6?" ]
[ "F1", "F7", "F9", "F11", "F2", "F10", "F3", "F4", "F5", "F6", "F8" ]
{'F1': 'residual sugar', 'F7': 'volatile acidity', 'F9': 'alcohol', 'F11': 'fixed acidity', 'F2': 'chlorides', 'F10': 'sulphates', 'F3': 'citric acid', 'F4': 'free sulfur dioxide', 'F5': 'density', 'F6': 'total sulfur dioxide', 'F8': 'pH'}
{'F4': 'F1', 'F2': 'F7', 'F11': 'F9', 'F1': 'F11', 'F5': 'F2', 'F10': 'F10', 'F3': 'F3', 'F6': 'F4', 'F8': 'F5', 'F7': 'F6', 'F9': 'F8'}
{'C1': 'C1', 'C2': 'C2'}
high quality
{'C1': 'low_quality', 'C2': 'high quality'}
KNeighborsClassifier
C3
Cab Surge Pricing System
The probability that C2 is the label for the given case is zero and judging by the predicted probability associated with the remaining classes, the classifier is fairly certain that the correct label is C3 given its likelihood of 75.0%. The features are ranked in order of their respective impacts, from most important to least relevant: F10, F11, F9, F7, F12, F3, F6, F4, F8, F2, F1, and F5. Examining the contributions of the input features revealed that the ratio of negative features is smaller than the number of positive features. The negative features, F6, F3, F7, F9, and F4, decrease the classifier's response towards the generated class but the F10 value has the strongest positive contribution, increasing the response of the classifier to support the C3 assignment. Lastly, the least ranked features, F8, F2, F1, and F5, have a weak positive effect on the above prediction outcome, further increasing the odds in favour of label C3.
[ "0.38", "0.05", "-0.03", "-0.02", "0.01", "-0.01", "-0.01", "-0.00", "0.00", "0.00", "0.00", "0.00" ]
[ "positive", "positive", "negative", "negative", "positive", "negative", "negative", "negative", "positive", "positive", "positive", "positive" ]
180
281
{'C1': '25.00%', 'C3': '75.00%', 'C2': '0.00%'}
[ "Summarize the prediction made for the test under consideration along with the likelihood of the different possible class labels.", "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Compare the direction of impact of the features: F10 and F11.", "Summarize the direction of influence of the features (F9, F7, F12 and F3) with moderate impact on the prediction made for this test case.", "Provide a statement on the features with the least impact on the prediction made for this test case." ]
[ "F10", "F11", "F9", "F7", "F12", "F3", "F6", "F4", "F8", "F2", "F1", "F5" ]
{'F10': 'Type_of_Cab', 'F11': 'Confidence_Life_Style_Index', 'F9': 'Trip_Distance', 'F7': 'Cancellation_Last_1Month', 'F12': 'Life_Style_Index', 'F3': 'Customer_Since_Months', 'F6': 'Customer_Rating', 'F4': 'Var2', 'F8': 'Destination_Type', 'F2': 'Gender', 'F1': 'Var1', 'F5': 'Var3'}
{'F2': 'F10', 'F5': 'F11', 'F1': 'F9', 'F8': 'F7', 'F4': 'F12', 'F3': 'F3', 'F7': 'F6', 'F10': 'F4', 'F6': 'F8', 'F12': 'F2', 'F9': 'F1', 'F11': 'F5'}
{'C1': 'C1', 'C2': 'C3', 'C3': 'C2'}
C2
{'C1': 'Low', 'C3': 'Medium', 'C2': 'High'}
BernoulliNB
C1
Personal Loan Modelling
The most likely label for the given example based on the values of the variables is C1, according to the prediction probability of each class label. It can be concluded that the classifier is quite certain that C1 is the correct label because the probability of C2 is small. According to the attributions of the input variables, the most relevant features with a strong impact on the classifier's decision here are F9, F4, and F5, while on the contrary, the least relevant variables are F3 and F2. F9, F8, and F5 are positive variables that boost the classifier's response in favour of C1. The primary negative variables are F4 and F6, however they have a little impact on the above classification when compared to F9. Because the majority of the influential features have a positive impact, the confidence level of the classifier used to make the classification decision is high.
[ "0.34", "-0.04", "0.04", "0.02", "-0.02", "0.01", "0.01", "-0.00", "-0.00" ]
[ "positive", "negative", "positive", "positive", "negative", "positive", "positive", "negative", "negative" ]
245
313
{'C1': '99.99%', 'C2': '0.01%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F2?" ]
[ "F9", "F4", "F5", "F8", "F6", "F7", "F1", "F3", "F2" ]
{'F9': 'CD Account', 'F4': 'Income', 'F5': 'CCAvg', 'F8': 'Securities Account', 'F6': 'Education', 'F7': 'Family', 'F1': 'Mortgage', 'F3': 'Age', 'F2': 'Extra_service'}
{'F8': 'F9', 'F2': 'F4', 'F4': 'F5', 'F7': 'F8', 'F5': 'F6', 'F3': 'F7', 'F6': 'F1', 'F1': 'F3', 'F9': 'F2'}
{'C1': 'C1', 'C2': 'C2'}
Reject
{'C1': 'Reject', 'C2': 'Accept'}
BernoulliNB
C2
Hotel Satisfaction
The given case is labelled as C2 since it has a prediction probability of 98.33% which implies that C1 is the least probable label. The higher confidence in the assigned label is mainly due to the contributions of input features F12, F15, and F1. In contrast, F8, F10, and F7 are the least ranked features. Based on feature attribution analysis, the top features F12, F15, and F1 have a strong positive influence, increasing the response of the classifier to assigning the label C2. Furthermore, pushing the decision further towards C2 are the other positive features such as F11, F4, F13, and F5. Supporting the prediction of the least probable class are the features F2, F6, F3, F14, and F7. When you compare the joint influence of the negative feature to that of the positive feature, it is evident why the classifier is very certain that C2 is the most probable label.
[ "0.48", "0.48", "0.11", "-0.10", "-0.07", "0.07", "0.06", "0.05", "0.05", "0.05", "-0.04", "-0.04", "0.02", "0.01", "-0.00" ]
[ "positive", "positive", "positive", "negative", "negative", "positive", "positive", "positive", "positive", "positive", "negative", "negative", "positive", "positive", "negative" ]
275
182
{'C1': '1.67%', 'C2': '98.33%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F5, F9 and F14?" ]
[ "F12", "F15", "F1", "F2", "F6", "F11", "F4", "F13", "F5", "F9", "F14", "F3", "F8", "F10", "F7" ]
{'F12': 'Type Of Booking', 'F15': 'Type of Travel', 'F1': 'Common Room entertainment', 'F2': 'Stay comfort', 'F6': 'Hotel wifi service', 'F11': 'Checkin\\/Checkout service', 'F4': 'Cleanliness', 'F13': 'Other service', 'F5': 'Age', 'F9': 'Food and drink', 'F14': 'Ease of Online booking', 'F3': 'Departure\\/Arrival convenience', 'F8': 'Hotel location', 'F10': 'Gender', 'F7': 'purpose_of_travel'}
{'F4': 'F12', 'F3': 'F15', 'F12': 'F1', 'F11': 'F2', 'F6': 'F6', 'F13': 'F11', 'F15': 'F4', 'F14': 'F13', 'F5': 'F5', 'F10': 'F9', 'F8': 'F14', 'F7': 'F3', 'F9': 'F8', 'F1': 'F10', 'F2': 'F7'}
{'C1': 'C1', 'C2': 'C2'}
satisfied
{'C1': 'dissatisfied', 'C2': 'satisfied'}
KNeighborsClassifier
C1
Cab Surge Pricing System
The correct label, according to the classifier, is neither C3 nor C2, but C1, with a prediction likelihood of about 75.0%. By analysing the attributions of the input features, they can be ranked according to the level of impact, from the most important feature to the least relevant, as follows: F11, F1, F5, F2, F8, F12, F7, F10, F6, F9, F3, and F4. Among the twelve features considered by the classifier for the prediction verdict, seven have a positive influence on the classifier. F5, F2, F7, F12, and F10 are the five negative features that swing the assessment decision towards other classes. The value of F11 has a strong positive contribution to increasing classifier's response, favouring the assigning of C1. The last four features, F6, F9, F3, and F4, have a weak positive effect on the classifier's prediction for this case.
[ "0.38", "0.05", "-0.03", "-0.02", "0.01", "-0.01", "-0.01", "-0.00", "0.00", "0.00", "0.00", "0.00" ]
[ "positive", "positive", "negative", "negative", "positive", "negative", "negative", "negative", "positive", "positive", "positive", "positive" ]
180
283
{'C3': '25.00%', 'C1': '75.00%', 'C2': '0.00%'}
[ "Summarize the prediction made for the test under consideration along with the likelihood of the different possible class labels.", "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Compare the direction of impact of the features: F11 and F1.", "Summarize the direction of influence of the features (F5, F2, F8 and F12) with moderate impact on the prediction made for this test case.", "Provide a statement on the features with the least impact on the prediction made for this test case." ]
[ "F11", "F1", "F5", "F2", "F8", "F12", "F7", "F10", "F6", "F9", "F3", "F4" ]
{'F11': 'Type_of_Cab', 'F1': 'Confidence_Life_Style_Index', 'F5': 'Trip_Distance', 'F2': 'Cancellation_Last_1Month', 'F8': 'Life_Style_Index', 'F12': 'Customer_Since_Months', 'F7': 'Customer_Rating', 'F10': 'Var2', 'F6': 'Destination_Type', 'F9': 'Gender', 'F3': 'Var1', 'F4': 'Var3'}
{'F2': 'F11', 'F5': 'F1', 'F1': 'F5', 'F8': 'F2', 'F4': 'F8', 'F3': 'F12', 'F7': 'F7', 'F10': 'F10', 'F6': 'F6', 'F12': 'F9', 'F9': 'F3', 'F11': 'F4'}
{'C1': 'C3', 'C2': 'C1', 'C3': 'C2'}
C2
{'C3': 'Low', 'C1': 'Medium', 'C2': 'High'}
KNeighborsClassifier
C2
Basketball Players Career Length Prediction
It is important to note that the classifier's labelling decision is based solely on the information supplied. The classification verdict is as follows: C2 is the most probable label with respect to the case under consideration, since the prediction likelihood of the other label, C1, is only 12.50%. The most important variables contributing to the abovementioned classification are F13, F2, and F3, whereas remaining variables such as F11, F8, F9, F4, and F10 have a modest effect on the classifier's labelling decision for the given case. All the top features positively support the selection of C2 as the correct label and the negative variables increasing the chances of C1 are F5, F15, and F16. Given that these are the variables reducing the classifier's response towards generating label C2, it is not surprising that the classifier is very confident that C2 is likely the true label. In addition, the joint negative attribution of F5, F15, and F16 is very small when compared with the positive attributions of F13, F3, F11, and F2.
[ "0.07", "0.05", "0.05", "0.03", "0.03", "0.03", "0.03", "0.03", "0.02", "-0.02", "0.02", "0.02", "0.01", "0.01", "0.01", "-0.01", "0.01", "-0.01", "0.00" ]
[ "positive", "positive", "positive", "positive", "positive", "positive", "positive", "positive", "positive", "negative", "positive", "positive", "positive", "positive", "positive", "negative", "positive", "negative", "positive" ]
14
370
{'C2': '87.50%', 'C1': '12.50%'}
[ "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Summarize the direction of influence of the features (F13, F3 and F2) on the prediction made for this test case.", "Compare the direction of impact of the features: F11, F8 and F9.", "Describe the degree of impact of the following features: F4, F10, F17 and F5?" ]
[ "F13", "F3", "F2", "F11", "F8", "F9", "F4", "F10", "F17", "F5", "F19", "F18", "F1", "F14", "F6", "F15", "F7", "F16", "F12" ]
{'F13': 'GamesPlayed', 'F3': 'OffensiveRebounds', 'F2': 'FieldGoalPercent', 'F11': 'FreeThrowMade', 'F8': 'FreeThrowPercent', 'F9': 'Rebounds', 'F4': 'FreeThrowAttempt', 'F10': 'FieldGoalsMade', 'F17': 'PointsPerGame', 'F5': '3PointAttempt', 'F19': 'DefensiveRebounds', 'F18': 'MinutesPlayed', 'F1': 'Blocks', 'F14': 'Turnovers', 'F6': '3PointPercent', 'F15': 'Assists', 'F7': 'FieldGoalsAttempt', 'F16': '3PointMade', 'F12': 'Steals'}
{'F1': 'F13', 'F13': 'F3', 'F6': 'F2', 'F10': 'F11', 'F12': 'F8', 'F15': 'F9', 'F11': 'F4', 'F4': 'F10', 'F3': 'F17', 'F8': 'F5', 'F14': 'F19', 'F2': 'F18', 'F18': 'F1', 'F19': 'F14', 'F9': 'F6', 'F16': 'F15', 'F5': 'F7', 'F7': 'F16', 'F17': 'F12'}
{'C1': 'C2', 'C2': 'C1'}
More than 5
{'C2': 'More than 5', 'C1': 'Less than 5'}
DecisionTreeClassifier
C1
Concrete Strength Classification
According to the classification algorithm or model, C1 is the most likely class, with a very high confidence level, and C2 has a very low likelihood of being the right label. All of the inputs are proven to contribute to the categorization described above and the following is a ordering of the features from least essential to most significant based on their degree of influence: F2, F3, F4, F8, F1, F6, F7, and F5. It is clear from the attributions of the input attributes that the algorithm is quite certain that C2 is not the proper label for the given case since each attribute contributes positively, resulting in a significant push towards C1.
[ "0.32", "0.18", "0.17", "0.07", "0.05", "0.05", "0.04", "0.03" ]
[ "positive", "positive", "positive", "positive", "positive", "positive", "positive", "positive" ]
246
348
{'C1': '100.00%', 'C2': '0.00%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F2?" ]
[ "F5", "F7", "F6", "F1", "F8", "F4", "F3", "F2" ]
{'F5': 'age_days', 'F7': 'superplasticizer', 'F6': 'cement', 'F1': 'coarseaggregate', 'F8': 'fineaggregate', 'F4': 'water', 'F3': 'slag', 'F2': 'flyash'}
{'F8': 'F5', 'F5': 'F7', 'F1': 'F6', 'F6': 'F1', 'F7': 'F8', 'F4': 'F4', 'F2': 'F3', 'F3': 'F2'}
{'C1': 'C1', 'C2': 'C2'}
Weak
{'C1': 'Weak', 'C2': 'Strong'}
RandomForestClassifier
C3
Mobile Price-Range Classification
The model indicates that C1 and C4 have zero prediction probabilities, while that of C2 is 3.85%, meaning the most probable label for the given case is C3 and the confidence level is approximately equal to 96.15% certainty. The major features driving the above classification are F19, F8, and F17, while the least relevant features are F10, F9, F7, F5, and F3. The intermediate features have varying degrees of influence, from moderate to low, and these include F15, F11, and F20. Among the top influential features, only F15 has a negative contribution, driving the prediction slightly towards one of the other possible classes. Furthermore, the top two positive features, F8 and F19, have a stronger influence than all the negative features combined. It is, therefore, not surprising that the model is confident about the classification verdict here.
[ "0.75", "0.11", "0.09", "-0.02", "0.02", "-0.02", "-0.01", "-0.01", "-0.01", "-0.01", "-0.01", "-0.01", "0.01", "0.01", "-0.01", "0.01", "0.00", "-0.00", "-0.00", "-0.00" ]
[ "positive", "positive", "positive", "negative", "positive", "negative", "negative", "negative", "negative", "negative", "negative", "negative", "positive", "positive", "negative", "positive", "positive", "negative", "negative", "negative" ]
247
157
{'C1': '0.00%', 'C4': '0.00%', 'C2': '3.85%', 'C3': '96.15%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F17, F15, F11 and F20) with moderate impact on the prediction made for this test case." ]
[ "F8", "F19", "F17", "F15", "F11", "F20", "F6", "F1", "F14", "F4", "F16", "F2", "F18", "F12", "F13", "F5", "F9", "F7", "F10", "F3" ]
{'F8': 'ram', 'F19': 'battery_power', 'F17': 'px_width', 'F15': 'int_memory', 'F11': 'pc', 'F20': 'touch_screen', 'F6': 'four_g', 'F1': 'm_dep', 'F14': 'px_height', 'F4': 'clock_speed', 'F16': 'sc_h', 'F2': 'n_cores', 'F18': 'talk_time', 'F12': 'blue', 'F13': 'dual_sim', 'F5': 'fc', 'F9': 'mobile_wt', 'F7': 'sc_w', 'F10': 'wifi', 'F3': 'three_g'}
{'F11': 'F8', 'F1': 'F19', 'F10': 'F17', 'F4': 'F15', 'F8': 'F11', 'F19': 'F20', 'F17': 'F6', 'F5': 'F1', 'F9': 'F14', 'F2': 'F4', 'F12': 'F16', 'F7': 'F2', 'F14': 'F18', 'F15': 'F12', 'F16': 'F13', 'F3': 'F5', 'F6': 'F9', 'F13': 'F7', 'F20': 'F10', 'F18': 'F3'}
{'C1': 'C1', 'C2': 'C4', 'C3': 'C2', 'C4': 'C3'}
r4
{'C1': 'r1', 'C4': 'r2', 'C2': 'r3', 'C3': 'r4'}
SVM_poly
C2
Mobile Price-Range Classification
The predicted output label from the model is C2 with almost 100% certainty, indicating it is very certain it is correct and this is mainly because the likelihoods across the other labels C3, C4, and C1 are 0.47%, 0.05%, and 0.04%, respectively. Among the top features F1, F16, and F18, the features F18 and F16 positively influence the classification decision above in the direction of C2, whereas F1 influences in the opposite direction in favour of an alternative label. With a similar direction of influence as F1, the features F5, F3, F20, and F2 negatively impact the prediction of C2, whereas F8 positively impacts it. Features F7, F3, F15, and F12 also have a smaller influence on the prediction output for the given case and finally, the features F11, F14, and F9, have very little contributions to the classification made by the model for the case under consideration.
[ "0.78", "0.11", "-0.10", "-0.07", "0.04", "-0.04", "0.03", "-0.03", "0.03", "-0.02", "-0.02", "-0.02", "0.01", "-0.01", "-0.01", "-0.01", "0.01", "-0.00", "-0.00", "-0.00" ]
[ "positive", "positive", "negative", "negative", "positive", "negative", "positive", "negative", "positive", "negative", "negative", "negative", "positive", "negative", "negative", "negative", "positive", "negative", "negative", "negative" ]
47
15
{'C2': '99.45%', 'C3': '0.47%', 'C1': '0.04%', 'C4': '0.05%'}
[ "Provide a statement summarizing the prediction made for the test case.", "For the current test instance, describe the direction of influence of the following features: F18, F16 and F1.", "Compare and contrast the impact of the following features (F5, F8 (value equal to V1) and F2 (value equal to V1)) on the model’s prediction of C2.", "Describe the degree of impact of the following features: F7 (when it is equal to V0), F3, F15 and F12?" ]
[ "F18", "F16", "F1", "F5", "F8", "F2", "F7", "F3", "F15", "F12", "F20", "F10", "F13", "F6", "F19", "F17", "F4", "F9", "F11", "F14" ]
{'F18': 'ram', 'F16': 'battery_power', 'F1': 'px_height', 'F5': 'px_width', 'F8': 'dual_sim', 'F2': 'four_g', 'F7': 'touch_screen', 'F3': 'int_memory', 'F15': 'pc', 'F12': 'n_cores', 'F20': 'fc', 'F10': 'clock_speed', 'F13': 'three_g', 'F6': 'sc_w', 'F19': 'wifi', 'F17': 'm_dep', 'F4': 'mobile_wt', 'F9': 'talk_time', 'F11': 'sc_h', 'F14': 'blue'}
{'F11': 'F18', 'F1': 'F16', 'F9': 'F1', 'F10': 'F5', 'F16': 'F8', 'F17': 'F2', 'F19': 'F7', 'F4': 'F3', 'F8': 'F15', 'F7': 'F12', 'F3': 'F20', 'F2': 'F10', 'F18': 'F13', 'F13': 'F6', 'F20': 'F19', 'F5': 'F17', 'F6': 'F4', 'F14': 'F9', 'F12': 'F11', 'F15': 'F14'}
{'C1': 'C2', 'C2': 'C3', 'C3': 'C1', 'C4': 'C4'}
r1
{'C2': 'r1', 'C3': 'r2', 'C1': 'r3', 'C4': 'r4'}
SVC
C1
Paris House Classification
The prediction probabilities associated with the classes C1 and C2 are 99.56% and 0.44%, respectively. Therefore, we can conclude that the most probable label for the given data is C1. The classification model's decision here is largely based on the impacts of the F16, F6, and F10, whereas the F15, F11, and F17 have very little to say about the decision here. In terms of the direction of influence of the features, F16, F9, F5, F13, and F4 are the top positive features contributing to the prediction outcome of C1. Conversely, the marginal doubt in the classification decision (represented by the probability of C2) is largely due to the negative contributions of F6, F1, F3, and F7. To sum up, the very high certainty in the classification output decision could be explained by considering the fact that the joint influence of the negative features is smaller than that of the positive features.
[ "0.35", "-0.33", "0.13", "0.03", "0.02", "0.01", "0.01", "0.01", "-0.01", "-0.01", "0.01", "0.01", "-0.00", "0.00", "0.00", "0.00", "0.00" ]
[ "positive", "negative", "positive", "positive", "positive", "positive", "positive", "positive", "negative", "negative", "positive", "positive", "negative", "positive", "positive", "positive", "positive" ]
221
448
{'C1': '99.56%', 'C2': '0.44%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F13, F4 and F12) with moderate impact on the prediction made for this test case." ]
[ "F16", "F6", "F10", "F5", "F9", "F13", "F4", "F12", "F3", "F1", "F14", "F8", "F7", "F2", "F11", "F15", "F17" ]
{'F16': 'isNewBuilt', 'F6': 'hasYard', 'F10': 'hasPool', 'F5': 'hasStormProtector', 'F9': 'hasStorageRoom', 'F13': 'made', 'F4': 'numberOfRooms', 'F12': 'basement', 'F3': 'squareMeters', 'F1': 'numPrevOwners', 'F14': 'floors', 'F8': 'garage', 'F7': 'attic', 'F2': 'price', 'F11': 'cityCode', 'F15': 'cityPartRange', 'F17': 'hasGuestRoom'}
{'F3': 'F16', 'F1': 'F6', 'F2': 'F10', 'F4': 'F5', 'F5': 'F9', 'F12': 'F13', 'F7': 'F4', 'F13': 'F12', 'F6': 'F3', 'F11': 'F1', 'F8': 'F14', 'F15': 'F8', 'F14': 'F7', 'F17': 'F2', 'F9': 'F11', 'F10': 'F15', 'F16': 'F17'}
{'C1': 'C1', 'C2': 'C2'}
Basic
{'C1': 'Basic', 'C2': 'Luxury'}
GradientBoostingClassifier
C1
Basketball Players Career Length Prediction
The model identifies the case as C1 since, the true label has just 33.63 percent chance of being C2 when the prediction probability is calculated. The in-depth analysis found that the bulk of the attributes had negative impacts, driving the prediction away from C1 and toward C2. F4, F15, F3, F12, and F17 are among the features that contribute negatively. Furthermore, these features' values are ranked higher than any of the positive features, which are F14, F2, F8, and F13. Finally, it can be concluded that the values of F1, F7, and F6 are less important in predicting the outcome of the case under review, hence they are ranked the least.
[ "-0.12", "-0.07", "-0.05", "-0.05", "-0.04", "0.04", "-0.03", "-0.02", "-0.02", "-0.01", "0.01", "-0.01", "0.01", "-0.00", "-0.00", "0.00", "-0.00", "-0.00", "-0.00" ]
[ "negative", "negative", "negative", "negative", "negative", "positive", "negative", "negative", "negative", "negative", "positive", "negative", "positive", "negative", "negative", "positive", "negative", "negative", "negative" ]
150
274
{'C2': '33.63%', 'C1': '66.37%'}
[ "Summarize the prediction made for the test under consideration along with the likelihood of the different possible class labels.", "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Compare the direction of impact of the features: F4, F15 and F3.", "Summarize the direction of influence of the features (F12, F17 and F14) with moderate impact on the prediction made for this test case.", "Provide a statement on the features with the least impact on the prediction made for this test case." ]
[ "F4", "F15", "F3", "F12", "F17", "F14", "F10", "F11", "F9", "F5", "F2", "F19", "F8", "F18", "F16", "F13", "F1", "F7", "F6" ]
{'F4': 'GamesPlayed', 'F15': 'OffensiveRebounds', 'F3': 'FieldGoalPercent', 'F12': 'FreeThrowPercent', 'F17': '3PointPercent', 'F14': '3PointAttempt', 'F10': 'FieldGoalsMade', 'F11': 'Blocks', 'F9': 'DefensiveRebounds', 'F5': 'Turnovers', 'F2': 'Rebounds', 'F19': 'FreeThrowAttempt', 'F8': 'MinutesPlayed', 'F18': 'Assists', 'F16': 'FieldGoalsAttempt', 'F13': '3PointMade', 'F1': 'PointsPerGame', 'F7': 'FreeThrowMade', 'F6': 'Steals'}
{'F1': 'F4', 'F13': 'F15', 'F6': 'F3', 'F12': 'F12', 'F9': 'F17', 'F8': 'F14', 'F4': 'F10', 'F18': 'F11', 'F14': 'F9', 'F19': 'F5', 'F15': 'F2', 'F11': 'F19', 'F2': 'F8', 'F16': 'F18', 'F5': 'F16', 'F7': 'F13', 'F3': 'F1', 'F10': 'F7', 'F17': 'F6'}
{'C1': 'C2', 'C2': 'C1'}
Less than 5
{'C2': 'More than 5', 'C1': 'Less than 5'}
KNeighborsClassifier
C3
Cab Surge Pricing System
0.0% is the predicted probability that C2 is the true label for the test example under consideration according to the classifier. Judging based on the predicted probabilities associated with the other remaining labels, the classifier is 75.0% confident that C3 is the correct label. From the analysis, the features ranked according to the degree of impact from the most significant feature to the least relevant ones: F6, F8, F1, F5, F4, F2, F7, F11, F12, F3, F10, and F9. Examining the contributions or attributions of the features further revealed that the ratio of positive features to negative features is seven to five. The negative features swinging the prediction decision towards the other classes are F1, F5, F7, F2, and F11 since their contribution decrease the probability that C3 is the true label for the given case. The value of F6 has the strongest positive contribution increasing the classifier's response in support of assigning C3 but the last four features, F12, F3, F10, and F9, have a weak positive influence on the labelling decision or conclusion with respect to the given case.
[ "0.38", "0.05", "-0.03", "-0.02", "0.01", "-0.01", "-0.01", "-0.00", "0.00", "0.00", "0.00", "0.00" ]
[ "positive", "positive", "negative", "negative", "positive", "negative", "negative", "negative", "positive", "positive", "positive", "positive" ]
180
104
{'C1': '25.00%', 'C3': '75.00%', 'C2': '0.00%'}
[ "Summarize the prediction made for the test under consideration along with the likelihood of the different possible class labels.", "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Compare the direction of impact of the features: F6 and F8.", "Summarize the direction of influence of the features (F1, F5, F4 and F2) with moderate impact on the prediction made for this test case.", "Provide a statement on the features with the least impact on the prediction made for this test case." ]
[ "F6", "F8", "F1", "F5", "F4", "F2", "F7", "F11", "F12", "F3", "F10", "F9" ]
{'F6': 'Type_of_Cab', 'F8': 'Confidence_Life_Style_Index', 'F1': 'Trip_Distance', 'F5': 'Cancellation_Last_1Month', 'F4': 'Life_Style_Index', 'F2': 'Customer_Since_Months', 'F7': 'Customer_Rating', 'F11': 'Var2', 'F12': 'Destination_Type', 'F3': 'Gender', 'F10': 'Var1', 'F9': 'Var3'}
{'F2': 'F6', 'F5': 'F8', 'F1': 'F1', 'F8': 'F5', 'F4': 'F4', 'F3': 'F2', 'F7': 'F7', 'F10': 'F11', 'F6': 'F12', 'F12': 'F3', 'F9': 'F10', 'F11': 'F9'}
{'C1': 'C1', 'C2': 'C3', 'C3': 'C2'}
C2
{'C1': 'Low', 'C3': 'Medium', 'C2': 'High'}
SGDClassifier
C2
House Price Classification
The classifier is very certain that C1 is not the true label since the predicted probability of C2 is given as 100.0%. Analysing the attributions of the features indicates that the most relevant features are F12, F4, F13, and F5 while F2, F8, and F9 are the least relevant features. The values of F3, F1, F10, F11, F7, and F6 have a moderate influence on the classification decision made here. Considering that the classifier is 100.0% certain that C2 is the true label, we can conclude that the collective negative attribution of F13, F1, and F6 is clearly outweighed by the positive attributions of features such as F12, F4, F3, and F5.
[ "0.38", "0.30", "-0.27", "0.26", "0.16", "-0.14", "0.11", "0.07", "0.07", "-0.07", "0.06", "0.03", "0.01" ]
[ "positive", "positive", "negative", "positive", "positive", "negative", "positive", "positive", "positive", "negative", "positive", "positive", "positive" ]
446
403
{'C2': '100.00%', 'C1': '0.00%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F13, F5, F3 and F1) with moderate impact on the prediction made for this test case." ]
[ "F4", "F12", "F13", "F5", "F3", "F1", "F10", "F11", "F7", "F6", "F2", "F8", "F9" ]
{'F4': 'CRIM', 'F12': 'LSTAT', 'F13': 'RAD', 'F5': 'AGE', 'F3': 'CHAS', 'F1': 'DIS', 'F10': 'ZN', 'F11': 'TAX', 'F7': 'PTRATIO', 'F6': 'B', 'F2': 'RM', 'F8': 'NOX', 'F9': 'INDUS'}
{'F1': 'F4', 'F13': 'F12', 'F9': 'F13', 'F7': 'F5', 'F4': 'F3', 'F8': 'F1', 'F2': 'F10', 'F10': 'F11', 'F11': 'F7', 'F12': 'F6', 'F6': 'F2', 'F5': 'F8', 'F3': 'F9'}
{'C1': 'C2', 'C2': 'C1'}
Low
{'C2': 'Low', 'C1': 'High'}
GradientBoostingClassifier
C1
Health Care Services Satisfaction Prediction
Based on the information provided to the classifier, the true label for the given case is likely C1, with a confidence level of 76.26%. Each input variable has a different degree of influence on the classifier's final labelling decision with respect to the case under consideration. Whilst F3, F11, and F12 have lower contributions to the classifier's decision, F13, F1, and F9 are identified as the major contributors resulting in the assignment and classification probabilities across the two classes. There is a 23.74% chance that perhaps C2 is the true label and the features responsible for this are the negative features, F9, F2, F5, F15, F10, F3, and F11. Driving the classifier's decision in favour of C1 are the positive features such as F13, F1, F14, F16, F4, F6, and F8.
[ "0.10", "0.06", "-0.05", "0.05", "0.04", "-0.03", "0.03", "0.03", "0.03", "-0.02", "0.01", "-0.01", "-0.01", "-0.01", "-0.00", "0.00" ]
[ "positive", "positive", "negative", "positive", "positive", "negative", "positive", "positive", "positive", "negative", "positive", "negative", "negative", "negative", "negative", "positive" ]
35
390
{'C2': '23.74%', 'C1': '76.26%'}
[ "Summarize the prediction for the given test example?", "In two sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Compare and contrast the impact of the following attributes (F2 (value equal to V3), F4 (with a value equal to V3) and F6 (equal to V2)) on the model’s prediction of C1.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F13", "F1", "F9", "F14", "F16", "F2", "F4", "F6", "F8", "F5", "F7", "F15", "F10", "F3", "F11", "F12" ]
{'F13': 'Exact diagnosis', 'F1': 'avaliablity of drugs', 'F9': 'lab services', 'F14': 'friendly health care workers', 'F16': 'Communication with dr', 'F2': 'Time waiting', 'F4': 'Specialists avaliable', 'F6': 'Modern equipment', 'F8': 'waiting rooms', 'F5': 'Check up appointment', 'F7': 'Hygiene and cleaning', 'F15': 'Admin procedures', 'F10': 'Time of appointment', 'F3': 'hospital rooms quality', 'F11': 'parking, playing rooms, caffes', 'F12': 'Quality\\/experience dr.'}
{'F9': 'F13', 'F13': 'F1', 'F12': 'F9', 'F11': 'F14', 'F8': 'F16', 'F2': 'F2', 'F7': 'F4', 'F10': 'F6', 'F14': 'F8', 'F1': 'F5', 'F4': 'F7', 'F3': 'F15', 'F5': 'F10', 'F15': 'F3', 'F16': 'F11', 'F6': 'F12'}
{'C1': 'C2', 'C2': 'C1'}
Satisfied
{'C2': 'Dissatisfied', 'C1': 'Satisfied'}
SVC
C1
Health Care Services Satisfaction Prediction
The classification model employed made its label selection decision based on the information provided about the case under consideration. With a moderately low degree of confidence, it classifies the case under consideration as C1. Specifically, per the model, the probability of labelling the case as C2 is equal to 48.66%, hence not as likely as C1. The decision made here can be attributed to the influence of features such as F16, F8, F2, F12, and F13. However, F1, F6, F4, F15, and F3 are the least relevant features with respect to the classification made. The confidence level of the model is marginally above average and this can be attributed to the negative contributions of F10, F16, F9, F7, F1, F15, and F3. The negative features shift the prediction decision in the direction of C2, however, the positive contributions of other features such as F8, F2, F12, and F13 improve the odds of the C1 label.
[ "-0.04", "0.03", "0.03", "0.03", "0.03", "-0.03", "-0.02", "0.02", "0.02", "0.02", "-0.02", "-0.01", "0.01", "-0.01", "0.00", "-0.00" ]
[ "negative", "positive", "positive", "positive", "positive", "negative", "negative", "positive", "positive", "positive", "negative", "negative", "positive", "negative", "positive", "negative" ]
449
406
{'C2': '48.66%', 'C1': '51.34%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F9, F11, F14 and F5?" ]
[ "F16", "F8", "F2", "F12", "F13", "F10", "F9", "F11", "F14", "F5", "F7", "F1", "F6", "F4", "F15", "F3" ]
{'F16': 'lab services', 'F8': 'Specialists avaliable', 'F2': 'Quality\\/experience dr.', 'F12': 'Exact diagnosis', 'F13': 'Hygiene and cleaning', 'F10': 'avaliablity of drugs', 'F9': 'Time waiting', 'F11': 'Check up appointment', 'F14': 'hospital rooms quality', 'F5': 'Modern equipment', 'F7': 'Time of appointment', 'F1': 'friendly health care workers', 'F6': 'Communication with dr', 'F4': 'waiting rooms', 'F15': 'parking, playing rooms, caffes', 'F3': 'Admin procedures'}
{'F12': 'F16', 'F7': 'F8', 'F6': 'F2', 'F9': 'F12', 'F4': 'F13', 'F13': 'F10', 'F2': 'F9', 'F1': 'F11', 'F15': 'F14', 'F10': 'F5', 'F5': 'F7', 'F11': 'F1', 'F8': 'F6', 'F14': 'F4', 'F16': 'F15', 'F3': 'F3'}
{'C1': 'C2', 'C2': 'C1'}
Satisfied
{'C2': 'Dissatisfied', 'C1': 'Satisfied'}
SVC
C1
Flight Price-Range Classification
The prediction results are as follows: the probability that C1 is the correct label is 97.12%, the probability that C2 is the correct label is 2.55%, and the probability that C3 is the correct label is 0.33%. Judging based on the prediction probabilities across the classes, C1 is the most probable label. The very high confidence in the assigned label can be attributed to the very strong positive influence and contributions of the variables F1, F6, F10, F4, and F8. The other positive variables are F2, F9, and F7. The positive variables increase the probability that C1 is the correct label for the given case. Decreasing the probability of C1 are the negative variables F5, F11, F3, and F12. Considering that the combined effect of the negative factors is quite minimal in comparison to the top positive variables, it is not surprising that the model is very sure that neither C2 nor C1 is the best label for the given case.
[ "0.20", "0.19", "0.14", "0.11", "0.04", "-0.03", "-0.03", "0.02", "-0.01", "-0.01", "0.01", "0.00" ]
[ "positive", "positive", "positive", "positive", "positive", "negative", "negative", "positive", "negative", "negative", "positive", "positive" ]
409
196
{'C1': '97.12%', 'C2': '2.55%', 'C3': '0.33%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F10, F4, F8 and F5) with moderate impact on the prediction made for this test case." ]
[ "F1", "F6", "F10", "F4", "F8", "F5", "F11", "F2", "F3", "F12", "F9", "F7" ]
{'F1': 'Total_Stops', 'F6': 'Airline', 'F10': 'Duration_hours', 'F4': 'Journey_month', 'F8': 'Source', 'F5': 'Journey_day', 'F11': 'Arrival_hour', 'F2': 'Duration_mins', 'F3': 'Arrival_minute', 'F12': 'Dep_hour', 'F9': 'Destination', 'F7': 'Dep_minute'}
{'F12': 'F1', 'F9': 'F6', 'F7': 'F10', 'F2': 'F4', 'F10': 'F8', 'F1': 'F5', 'F5': 'F11', 'F8': 'F2', 'F6': 'F3', 'F3': 'F12', 'F11': 'F9', 'F4': 'F7'}
{'C1': 'C1', 'C2': 'C2', 'C3': 'C3'}
Low
{'C1': 'Low', 'C2': 'Moderate', 'C3': 'High'}
DecisionTreeClassifier
C1
Insurance Churn
C1 is the model's predicted output for this given case, with an accuracy of 87.13% meaning the likelihood of C2 is only 12.87%. F13, F4, F2, F12, and F14 have the most effect on the output prediction choice in this case, whereas on the other hand, F10, F5, F16, and F7 are not that important to the decision made here. F13, F14, and F12 are the top negative features when you consider direction of their respective impacts, decreasing the model's reaction to labelling the given scenario as C1 and also F3, F1, F5, F16, and F7 are the other features that contribute negatively. In a nutshell, F4, F2, F8, F9, and F6 are primarily positive improving the odds of C1 with respect to this classification conclusion.
[ "-0.31", "0.05", "-0.04", "0.04", "-0.03", "0.02", "0.02", "0.02", "-0.01", "0.01", "0.01", "-0.01", "0.01", "-0.00", "-0.00", "-0.00" ]
[ "negative", "positive", "negative", "positive", "negative", "positive", "positive", "positive", "negative", "positive", "positive", "negative", "positive", "negative", "negative", "negative" ]
107
351
{'C1': '87.13%', 'C2': '12.87%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F9, F6 and F3 (equal to V6)?" ]
[ "F13", "F4", "F14", "F2", "F12", "F8", "F9", "F6", "F3", "F15", "F11", "F1", "F10", "F5", "F16", "F7" ]
{'F13': 'feature3', 'F4': 'feature15', 'F14': 'feature11', 'F2': 'feature12', 'F12': 'feature13', 'F8': 'feature14', 'F9': 'feature5', 'F6': 'feature0', 'F3': 'feature7', 'F15': 'feature10', 'F11': 'feature6', 'F1': 'feature4', 'F10': 'feature9', 'F5': 'feature2', 'F16': 'feature8', 'F7': 'feature1'}
{'F13': 'F13', 'F9': 'F4', 'F5': 'F14', 'F6': 'F2', 'F7': 'F12', 'F8': 'F8', 'F15': 'F9', 'F10': 'F6', 'F1': 'F3', 'F4': 'F15', 'F16': 'F11', 'F14': 'F1', 'F3': 'F10', 'F12': 'F5', 'F2': 'F16', 'F11': 'F7'}
{'C1': 'C1', 'C2': 'C2'}
Stay
{'C1': 'Stay', 'C2': 'Leave'}
SVM_linear
C1
Employee Promotion Prediction
The classification model or algorithm classifies the provided data or case as C1 with a predicted likelihood of 94.16%, meaning that the chance of C2 being the true label is only 5.84%. The most relevant features driving the classification above are F7, F9, F8, F6, and F10, however, arranging the input features in-order of their contributions revealed that the least influential features are F2, F1, F11, and F5 since their values receive little consideration or emphasis from the algorithm. In relation to the directions of influence of input features, only F6 and F11 are shown to have negative contributions, which tends to drive the labelling judgement towards C2 instead of C1. Considering that the combined effect of all the negative features is lower than that of the positive features such as F7, F9, F8, F10, F3, and F4, it is valid to say that C1 is the most probable label.
[ "0.32", "0.14", "0.05", "-0.05", "0.05", "0.02", "0.02", "0.02", "-0.02", "0.01", "0.01" ]
[ "positive", "positive", "positive", "negative", "positive", "positive", "positive", "positive", "negative", "positive", "positive" ]
26
379
{'C2': '5.84%', 'C1': '94.16%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F8, F6 (equal to V0), F10 (value equal to V31) and F3 (when it is equal to V0)) with moderate impact on the prediction made for this test case." ]
[ "F7", "F9", "F8", "F6", "F10", "F3", "F4", "F1", "F11", "F5", "F2" ]
{'F7': 'department', 'F9': 'avg_training_score', 'F8': 'KPIs_met >80%', 'F6': 'recruitment_channel', 'F10': 'region', 'F3': 'education', 'F4': 'length_of_service', 'F1': 'age', 'F11': 'no_of_trainings', 'F5': 'gender', 'F2': 'previous_year_rating'}
{'F1': 'F7', 'F11': 'F9', 'F10': 'F8', 'F5': 'F6', 'F2': 'F10', 'F3': 'F3', 'F9': 'F4', 'F7': 'F1', 'F6': 'F11', 'F4': 'F5', 'F8': 'F2'}
{'C1': 'C2', 'C2': 'C1'}
Promote
{'C2': 'Ignore', 'C1': 'Promote'}
GradientBoostingClassifier
C2
Basketball Players Career Length Prediction
The final classification made was C2, but with a likelihood of only 55.19%, the model is uncertain about this prediction. By far, feature F12 had the most impact and following F12 are F5, F15, and F6 have been identified as having the comparable influence on classification. The combination of F12, F5, F15, F6, and F1 features has shifted the classification decision from C2 to C1. While F13, F16, and F10 are all features with a moderate impact on the classification, F13 is the only one of that set that has had a positive impact on the C2 classification and the remaining positives are F2, F18, and F11. Lastly, the features F19, F14, F8, F7, and F9 had very marginal negative contributions to the classification verdict.
[ "-0.12", "-0.07", "-0.05", "-0.05", "-0.04", "0.04", "-0.03", "-0.02", "-0.02", "-0.01", "0.01", "0.01", "-0.01", "0.00", "-0.00", "-0.00", "-0.00", "-0.00", "-0.00" ]
[ "negative", "negative", "negative", "negative", "negative", "positive", "negative", "negative", "negative", "negative", "positive", "positive", "negative", "positive", "negative", "negative", "negative", "negative", "negative" ]
88
36
{'C1': '44.81%', 'C2': '55.19%'}
[ "Summarize the prediction made for the test under consideration along with the likelihood of the different possible class labels.", "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Compare the direction of impact of the features: F12, F5, F15, F6 and F1.", "Summarize the direction of influence of the features (F13, F16 and F10) with moderate impact on the prediction made for this test case.", "Provide a statement on the features with the least impact on the prediction made for this test case." ]
[ "F12", "F5", "F15", "F6", "F1", "F13", "F16", "F10", "F17", "F4", "F2", "F18", "F3", "F11", "F19", "F14", "F8", "F7", "F9" ]
{'F12': 'GamesPlayed', 'F5': 'OffensiveRebounds', 'F15': 'FieldGoalPercent', 'F6': 'FreeThrowPercent', 'F1': '3PointPercent', 'F13': '3PointAttempt', 'F16': 'FieldGoalsMade', 'F10': 'Blocks', 'F17': 'DefensiveRebounds', 'F4': 'Turnovers', 'F2': 'Rebounds', 'F18': 'MinutesPlayed', 'F3': 'FreeThrowAttempt', 'F11': '3PointMade', 'F19': 'Assists', 'F14': 'PointsPerGame', 'F8': 'FreeThrowMade', 'F7': 'FieldGoalsAttempt', 'F9': 'Steals'}
{'F1': 'F12', 'F13': 'F5', 'F6': 'F15', 'F12': 'F6', 'F9': 'F1', 'F8': 'F13', 'F4': 'F16', 'F18': 'F10', 'F14': 'F17', 'F19': 'F4', 'F15': 'F2', 'F2': 'F18', 'F11': 'F3', 'F7': 'F11', 'F16': 'F19', 'F3': 'F14', 'F10': 'F8', 'F5': 'F7', 'F17': 'F9'}
{'C1': 'C1', 'C2': 'C2'}
Less than 5
{'C1': 'More than 5', 'C2': 'Less than 5'}
BernoulliNB
C1
Personal Loan Modelling
Based on the prediction probabilities, C1 is the most likely label for the given case considering the values of the input variables and because the likelihood of C2 is very marginal, so the classifier is very confident that C1 is the right label. An analysis of the contributions of the variables has shown that F9 is the most relevant, with the strongest influence on the classifier's decision, however, to arrive at the classification above, the classifier probably ignores the values of the least ranked variables, F7 and F6. The level of confidence of the classifier with respect to the above classification decision is higher, primarily because most of the influential variables have a positive impact. F9, F3, and F4 are the top positive variables that increase the likelihood of C1. Having a different direction of influence, F8, F6, F7, and F5 are the negative factors, but compared to F9, their impact on the prediction decision above is low.
[ "0.34", "-0.04", "0.04", "0.02", "-0.02", "0.01", "0.01", "-0.00", "-0.00" ]
[ "positive", "negative", "positive", "positive", "negative", "positive", "positive", "negative", "negative" ]
245
312
{'C1': '99.99%', 'C2': '0.01%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F7?" ]
[ "F9", "F8", "F4", "F3", "F5", "F1", "F2", "F6", "F7" ]
{'F9': 'CD Account', 'F8': 'Income', 'F4': 'CCAvg', 'F3': 'Securities Account', 'F5': 'Education', 'F1': 'Family', 'F2': 'Mortgage', 'F6': 'Age', 'F7': 'Extra_service'}
{'F8': 'F9', 'F2': 'F8', 'F4': 'F4', 'F7': 'F3', 'F5': 'F5', 'F3': 'F1', 'F6': 'F2', 'F1': 'F6', 'F9': 'F7'}
{'C1': 'C1', 'C2': 'C2'}
Reject
{'C1': 'Reject', 'C2': 'Accept'}
KNeighborsClassifier
C1
Real Estate Investment
Based on the information available about the case under consideration, the classification model is very uncertain about the appropriate labels for the case. According to the model, there is an almost equal distribution in terms of the probability that any one of C1 and C2 is an appropriate label. This indicates that any of the possible labels could be the true one, but for simiplicity, the model selects the class as C1. The above judgement is mainly due to the influence of the following factors or variables: F6, F9, F12, and F3 while the least relevant variables are F10, F2, and F5. Positive variables like F3, F12, F19, and F1 increase the model's response in favour of the assigned label. Nevertheless, negative variables such as F6, F13, F8, and F9 reduce the possibility that C1 is an appropriate label because their values support the selection of C2. Uncertainty about the classification here can be due to the fact that the most important negative properties, F6 and F9, have very high impacts, which moves the model's judgement away from C1 towards C2.
[ "-0.32", "-0.24", "0.04", "0.03", "0.02", "-0.02", "-0.02", "0.02", "-0.02", "-0.02", "0.02", "0.01", "-0.01", "-0.01", "0.01", "-0.00", "-0.00", "0.00", "0.00", "0.00" ]
[ "negative", "negative", "positive", "positive", "positive", "negative", "negative", "positive", "negative", "negative", "positive", "positive", "negative", "negative", "positive", "negative", "negative", "positive", "positive", "positive" ]
185
358
{'C1': '50.00%', 'C2': '50.00%'}
[ "Summarize the prediction made for the test under consideration along with the likelihood of the different possible class labels.", "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Compare the direction of impact of the features: F6 and F9.", "Summarize the direction of influence of the features (F12, F3, F1 and F13) with moderate impact on the prediction made for this test case.", "Provide a statement on the features with the least impact on the prediction made for this test case." ]
[ "F6", "F9", "F12", "F3", "F1", "F13", "F8", "F19", "F18", "F7", "F15", "F4", "F17", "F14", "F11", "F16", "F20", "F10", "F2", "F5" ]
{'F6': 'Feature7', 'F9': 'Feature4', 'F12': 'Feature2', 'F3': 'Feature8', 'F1': 'Feature20', 'F13': 'Feature1', 'F8': 'Feature12', 'F19': 'Feature15', 'F18': 'Feature6', 'F7': 'Feature9', 'F15': 'Feature17', 'F4': 'Feature3', 'F17': 'Feature19', 'F14': 'Feature13', 'F11': 'Feature18', 'F16': 'Feature5', 'F20': 'Feature11', 'F10': 'Feature16', 'F2': 'Feature10', 'F5': 'Feature14'}
{'F11': 'F6', 'F9': 'F9', 'F1': 'F12', 'F3': 'F3', 'F20': 'F1', 'F7': 'F13', 'F15': 'F8', 'F4': 'F19', 'F10': 'F18', 'F12': 'F7', 'F6': 'F15', 'F8': 'F4', 'F5': 'F17', 'F16': 'F14', 'F19': 'F11', 'F2': 'F16', 'F14': 'F20', 'F18': 'F10', 'F13': 'F2', 'F17': 'F5'}
{'C1': 'C1', 'C2': 'C2'}
Ignore
{'C1': 'Ignore', 'C2': 'Invest'}
LogisticRegression
C2
Tic-Tac-Toe Strategy
There is about an 81.01% chance that C2 is the probable label, hence the predicted probability for the C1 class is only 18.99%. The algorithm or classifier arrived at the prediction verdict above mainly based on the influence of features such as F3, F4, F7, and F1. For the algorithm, the least relevant feature is F6, which is shown to have a very small contribution in relation to the label choice here. When the directions of influence of the input features were investigated, it was discovered that F3, F2, F7, and F1 have positive attributions, pushing the algorithm higher towards the C2 label. Negative features such as F4, F5, and F8 assist in dragging or pushing the classification decision lower towards C2, where it was originally classified and this is mainly because their contributions to the prediction favour choosing or labelling the case as C1.
[ "0.28", "-0.27", "0.25", "0.24", "0.24", "-0.22", "-0.21", "-0.20", "-0.02" ]
[ "positive", "negative", "positive", "positive", "positive", "negative", "negative", "negative", "negative" ]
231
138
{'C1': '18.99%', 'C2': '81.01%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F7, F1, F2 and F8) with moderate impact on the prediction made for this test case." ]
[ "F3", "F4", "F7", "F1", "F2", "F8", "F5", "F9", "F6" ]
{'F3': 'bottom-right-square', 'F4': 'middle-middle-square', 'F7': 'bottom-left-square', 'F1': 'middle-left-square', 'F2': 'top-left-square', 'F8': ' top-right-square', 'F5': 'middle-right-square', 'F9': 'top-middle-square', 'F6': 'bottom-middle-square'}
{'F9': 'F3', 'F5': 'F4', 'F7': 'F7', 'F4': 'F1', 'F1': 'F2', 'F3': 'F8', 'F6': 'F5', 'F2': 'F9', 'F8': 'F6'}
{'C1': 'C1', 'C2': 'C2'}
player B win
{'C1': 'player B lose', 'C2': 'player B win'}
BernoulliNB
C1
Hotel Satisfaction
According to the classification algorithm, there is 77.69% chance that the given case is part of the C1 population. The features with the largest impact driving the algorithm to arrive at the above decision are F8, F1, and F15 which are followed in the decreasing order of influence by F14, F4, F13, F7, F3, F6, F11, F2, F5, F12, F9, and F10. Inspecting the direction of influence of the input features showed that, F8, F3, F6, F10, and F1 have negative influence on the prediction, shifting the algorithm's verdict towards the C2 class and can be blamed for the doubt in the classification decision. However, strongly pushing the classification higher towards the C1 label are the positive features such as F15, F14, F4, F13, F7, and F11.
[ "-0.47", "-0.46", "0.13", "0.12", "0.10", "0.07", "0.06", "-0.06", "-0.06", "0.05", "0.04", "0.02", "0.01", "0.01", "-0.00" ]
[ "negative", "negative", "positive", "positive", "positive", "positive", "positive", "negative", "negative", "positive", "positive", "positive", "positive", "positive", "negative" ]
73
25
{'C1': '77.69%', 'C2': '22.31%'}
[ "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Summarize the direction of influence of the features (F8 (with a value equal to V0), F1 (value equal to V0), F15 and F14) on the prediction made for this test case.", "Compare the direction of impact of the features: F4, F13 and F7.", "Describe the degree of impact of the following features: F3, F6 and F11?" ]
[ "F8", "F1", "F15", "F14", "F4", "F13", "F7", "F3", "F6", "F11", "F2", "F5", "F12", "F9", "F10" ]
{'F8': 'Type of Travel', 'F1': 'Type Of Booking', 'F15': 'Common Room entertainment', 'F14': 'Other service', 'F4': 'Stay comfort', 'F13': 'Cleanliness', 'F7': 'Hotel wifi service', 'F3': 'Ease of Online booking', 'F6': 'Checkin\\/Checkout service', 'F11': 'Age', 'F2': 'Food and drink', 'F5': 'Hotel location', 'F12': 'Departure\\/Arrival convenience', 'F9': 'purpose_of_travel', 'F10': 'Gender'}
{'F3': 'F8', 'F4': 'F1', 'F12': 'F15', 'F14': 'F14', 'F11': 'F4', 'F15': 'F13', 'F6': 'F7', 'F8': 'F3', 'F13': 'F6', 'F5': 'F11', 'F10': 'F2', 'F9': 'F5', 'F7': 'F12', 'F2': 'F9', 'F1': 'F10'}
{'C1': 'C1', 'C2': 'C2'}
dissatisfied
{'C1': 'dissatisfied', 'C2': 'satisfied'}
DecisionTreeClassifier
C2
Insurance Churn
The likelihood of the true label for the given test case being equal to the model's output prediction, C2, is 85.71% and since it's not 100%, there is a small chance of about 14.29% that the model could be wrong. Among the features employed for this classification, F4, F8, F10, F11, F12, and F9 are the top features influencing the model's prediction decision. The features with the strongest positive influence are F4 and F8 and in fact, these are shown to be the two main driving forces controlling the model's decision regarding the given case. Besides, some otf the other positive features include F11, F12, F2, F13, and F9. However, the atrribution of F10, F3, F14, F6, and F7 indicates the true label could perhaps be C1. While the different input features have some sort of contribution to the prediction made for this test case, the features F5, F16, and F15 have the least impact on the final decision here.
[ "0.37", "0.08", "-0.05", "0.04", "0.04", "0.04", "-0.03", "-0.02", "-0.02", "-0.02", "0.02", "0.01", "-0.01", "0.00", "0.00", "-0.00" ]
[ "positive", "positive", "negative", "positive", "positive", "positive", "negative", "negative", "negative", "negative", "positive", "positive", "negative", "positive", "positive", "negative" ]
79
29
{'C1': '14.29%', 'C2': '85.71%'}
[ "Summarize the prediction made for the test under consideration along with the likelihood of the different possible class labels.", "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Compare the direction of impact of the features: F4 (equal to V2) and F8 (when it is equal to V10).", "Summarize the direction of influence of the features (F10 (with a value equal to V0), F11 (when it is equal to V0), F12 and F9 (value equal to V0)) with moderate impact on the prediction made for this test case.", "Provide a statement on the features with the least impact on the prediction made for this test case." ]
[ "F4", "F8", "F10", "F11", "F12", "F9", "F3", "F14", "F6", "F7", "F2", "F13", "F1", "F5", "F16", "F15" ]
{'F4': 'feature15', 'F8': 'feature7', 'F10': 'feature10', 'F11': 'feature11', 'F12': 'feature5', 'F9': 'feature13', 'F3': 'feature3', 'F14': 'feature4', 'F6': 'feature12', 'F7': 'feature14', 'F2': 'feature1', 'F13': 'feature6', 'F1': 'feature2', 'F5': 'feature9', 'F16': 'feature8', 'F15': 'feature0'}
{'F9': 'F4', 'F1': 'F8', 'F4': 'F10', 'F5': 'F11', 'F15': 'F12', 'F7': 'F9', 'F13': 'F3', 'F14': 'F14', 'F6': 'F6', 'F8': 'F7', 'F11': 'F2', 'F16': 'F13', 'F12': 'F1', 'F3': 'F5', 'F2': 'F16', 'F10': 'F15'}
{'C1': 'C1', 'C2': 'C2'}
Leave
{'C1': 'Stay', 'C2': 'Leave'}
SVC
C2
Vehicle Insurance Claims
To begin with, the classification choice is entirely dependent on the information or data provided to the prediction model. According to the model, C2 has a 61.61 percent probability of being the true label, whereas C1 has a 38.39 percent chance of being the true label. Because the estimated probability of C2 is greater than that of C1, it is reasonable to assume that C2 is the most probable true label. The key variable responsible for this classification is F23, with a very significant positive effect on the model's conclusion, pushing it higher towards C2. F22, F7, F30, F14, F13, F20, F8, and F6 are the next set of relevant variables. F22, F30, F14, F20, F18, F12, and F8 have negative contributions that are responsible for the decrease in the chance that C2 is the actual label since they prefer to assign the C1 label instead. This means that the contributions of F7, F13, F10, F29, and F6, together with F23, can explain why the model is rather confident that C2 is the correct label.
[ "0.33", "-0.06", "0.03", "-0.02", "-0.02", "0.02", "-0.02", "-0.02", "0.02", "-0.01", "0.01", "-0.01", "0.01", "0.01", "-0.01", "-0.01", "-0.01", "-0.01", "0.01", "-0.01", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00" ]
[ "positive", "negative", "positive", "negative", "negative", "positive", "negative", "negative", "positive", "negative", "positive", "negative", "positive", "positive", "negative", "negative", "negative", "negative", "positive", "negative", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible" ]
43
401
{'C2': '61.61%', 'C1': '38.39%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F6, F18 and F29 (with a value equal to V2)?" ]
[ "F23", "F22", "F7", "F30", "F14", "F13", "F20", "F8", "F6", "F18", "F29", "F12", "F10", "F19", "F16", "F2", "F1", "F11", "F17", "F24", "F31", "F15", "F33", "F25", "F26", "F9", "F21", "F4", "F27", "F32", "F3", "F5", "F28" ]
{'F23': 'incident_severity', 'F22': 'insured_hobbies', 'F7': 'authorities_contacted', 'F30': 'insured_education_level', 'F14': 'umbrella_limit', 'F13': 'insured_relationship', 'F20': 'auto_make', 'F8': 'insured_occupation', 'F6': 'capital-gains', 'F18': 'policy_deductable', 'F29': 'policy_state', 'F12': 'auto_year', 'F10': 'insured_sex', 'F19': 'vehicle_claim', 'F16': 'incident_city', 'F2': 'number_of_vehicles_involved', 'F1': 'insured_zip', 'F11': 'injury_claim', 'F17': 'property_claim', 'F24': 'incident_type', 'F31': 'total_claim_amount', 'F15': 'police_report_available', 'F33': 'property_damage', 'F25': 'incident_state', 'F26': 'policy_annual_premium', 'F9': 'incident_hour_of_the_day', 'F21': 'collision_type', 'F4': 'capital-loss', 'F27': 'bodily_injuries', 'F32': 'policy_csl', 'F3': 'witnesses', 'F5': 'age', 'F28': 'months_as_customer'}
{'F27': 'F23', 'F23': 'F22', 'F28': 'F7', 'F21': 'F30', 'F5': 'F14', 'F24': 'F13', 'F33': 'F20', 'F22': 'F8', 'F7': 'F6', 'F3': 'F18', 'F18': 'F29', 'F17': 'F12', 'F20': 'F10', 'F16': 'F19', 'F30': 'F16', 'F10': 'F2', 'F6': 'F1', 'F14': 'F11', 'F15': 'F17', 'F25': 'F24', 'F13': 'F31', 'F32': 'F15', 'F31': 'F33', 'F29': 'F25', 'F4': 'F26', 'F9': 'F9', 'F26': 'F21', 'F8': 'F4', 'F11': 'F27', 'F19': 'F32', 'F12': 'F3', 'F2': 'F5', 'F1': 'F28'}
{'C1': 'C2', 'C2': 'C1'}
Fraud
{'C2': 'Not Fraud', 'C1': 'Fraud'}
LGBMClassifier
C1
Employee Promotion Prediction
With a prediction likelihood of 62.34%, the model trained to generate predictions based on input variables identifies the presented example as C1. The model's label assignment choice for the given case is heavily impacted by the values of input variables such as F3, F1, and F9. The least important variables, on the other hand, are F8, F2, and F4. Furthermore, the impact of F5, F6, and F7 is regarded as moderate. F9 and F5 are the variables identified to have negative contributions to the classification when you take into consideration their respective direction of impact. All of the remaining variables have a positive influence, contributing to the classification of the presented case as C1. As a result, it is unexpected that the model's confidence is just 62.34% which suggest that the negative attributes may have a larger say in the appropriate label for the case under review.
[ "0.27", "0.13", "-0.04", "-0.03", "0.03", "0.01", "0.01", "0.01", "0.01", "0.01", "0.00" ]
[ "positive", "positive", "negative", "negative", "positive", "positive", "positive", "positive", "positive", "positive", "positive" ]
106
345
{'C2': '37.66%', 'C1': '62.34%'}
[ "Summarize the prediction for the given test example?", "In two sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Compare and contrast the impact of the following attributes (F5, F6 and F7) on the model’s prediction of C1.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F1", "F3", "F9", "F5", "F6", "F7", "F11", "F10", "F8", "F2", "F4" ]
{'F1': 'department', 'F3': 'avg_training_score', 'F9': 'recruitment_channel', 'F5': 'KPIs_met >80%', 'F6': 'no_of_trainings', 'F7': 'length_of_service', 'F11': 'age', 'F10': 'region', 'F8': 'education', 'F2': 'previous_year_rating', 'F4': 'gender'}
{'F1': 'F1', 'F11': 'F3', 'F5': 'F9', 'F10': 'F5', 'F6': 'F6', 'F9': 'F7', 'F7': 'F11', 'F2': 'F10', 'F3': 'F8', 'F8': 'F2', 'F4': 'F4'}
{'C1': 'C2', 'C2': 'C1'}
Promote
{'C2': 'Ignore', 'C1': 'Promote'}
SVC
C2
Food Ordering Customer Churn Prediction
For the case under consideration, the model outputs C2 with high confidence level since the associated predicted class label is 89.73% whilst that of C1 is just 10.27%. Just few features out of the entire input features are shown to have control over the prediction made here. The prediction verdict C2 is mainly based on the variables F16, F43, F35, and F14. Other variables with moderate attributions include F17, F44, F3, F21, F5, and F40. Each variable mentioned above is shown to have different direction of contribution or impact for instance while F16, F14, F5, and F21 positively support the model's output decision, F43, F35, F17, F44, F40, and F3 contributed to decreasing the likelihood or odds of C2 being the true label for the given test instance. The variables shown to have no influence or contribution on the classification decision above are mainly F15, F39, F4, and F18.
[ "0.12", "-0.11", "0.07", "-0.06", "-0.05", "-0.05", "-0.05", "-0.05", "0.05", "0.05", "0.05", "0.04", "0.04", "-0.04", "0.04", "0.03", "-0.03", "0.03", "0.03", "0.03", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00" ]
[ "positive", "negative", "positive", "negative", "negative", "negative", "negative", "negative", "positive", "positive", "positive", "positive", "positive", "negative", "positive", "positive", "negative", "positive", "positive", "positive", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible" ]
173
97
{'C2': '89.73%', 'C1': '10.27%'}
[ "Summarize the prediction made for the test under consideration along with the likelihood of the different possible class labels.", "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Compare the direction of impact of the features: F16 and F43.", "Summarize the direction of influence of the features (F14, F35, F17 and F44) with moderate impact on the prediction made for this test case.", "Provide a statement on the features with the least impact on the prediction made for this test case." ]
[ "F16", "F43", "F14", "F35", "F17", "F44", "F3", "F40", "F21", "F5", "F45", "F2", "F28", "F7", "F6", "F29", "F13", "F27", "F19", "F37", "F15", "F39", "F4", "F18", "F22", "F33", "F38", "F24", "F8", "F46", "F9", "F23", "F31", "F12", "F26", "F1", "F30", "F42", "F11", "F32", "F25", "F34", "F36", "F20", "F10", "F41" ]
{'F16': 'Ease and convenient', 'F43': 'Unaffordable', 'F14': 'Good Food quality', 'F35': 'Wrong order delivered', 'F17': 'Delay of delivery person picking up food', 'F44': 'Politeness', 'F3': 'Self Cooking', 'F40': 'Late Delivery', 'F21': 'Health Concern', 'F5': 'More Offers and Discount', 'F45': 'Easy Payment option', 'F2': 'Time saving', 'F28': 'Perference(P2)', 'F7': 'Gender', 'F6': 'Good Road Condition', 'F29': 'Google Maps Accuracy', 'F13': 'Good Taste ', 'F27': 'Good Tracking system', 'F19': 'Bad past experience', 'F37': 'Marital Status', 'F15': 'Influence of rating', 'F39': 'Delivery person ability', 'F4': 'Low quantity low time', 'F18': 'Age', 'F22': 'Less Delivery time', 'F33': 'High Quality of package', 'F38': 'Maximum wait time', 'F24': 'Number of calls', 'F8': 'Freshness ', 'F46': 'Temperature', 'F9': 'Residence in busy location', 'F23': 'Long delivery time', 'F31': 'Order Time', 'F12': 'Influence of time', 'F26': 'Order placed by mistake', 'F1': 'Missing item', 'F30': 'Delay of delivery person getting assigned', 'F42': 'Family size', 'F11': 'Unavailability', 'F32': 'Poor Hygiene', 'F25': 'More restaurant choices', 'F34': 'Perference(P1)', 'F36': 'Educational Qualifications', 'F20': 'Monthly Income', 'F10': 'Occupation', 'F41': 'Good Quantity'}
{'F10': 'F16', 'F23': 'F43', 'F15': 'F14', 'F27': 'F35', 'F26': 'F17', 'F42': 'F44', 'F17': 'F3', 'F19': 'F40', 'F18': 'F21', 'F14': 'F5', 'F13': 'F45', 'F11': 'F2', 'F9': 'F28', 'F2': 'F7', 'F35': 'F6', 'F34': 'F29', 'F45': 'F13', 'F16': 'F27', 'F21': 'F19', 'F3': 'F37', 'F38': 'F15', 'F37': 'F39', 'F36': 'F4', 'F1': 'F18', 'F39': 'F22', 'F40': 'F33', 'F32': 'F38', 'F41': 'F24', 'F43': 'F8', 'F44': 'F46', 'F33': 'F9', 'F24': 'F23', 'F31': 'F31', 'F30': 'F12', 'F29': 'F26', 'F28': 'F1', 'F25': 'F30', 'F7': 'F42', 'F22': 'F11', 'F20': 'F32', 'F12': 'F25', 'F8': 'F34', 'F6': 'F36', 'F5': 'F20', 'F4': 'F10', 'F46': 'F41'}
{'C1': 'C2', 'C2': 'C1'}
Return
{'C2': 'Return', 'C1': 'Go Away'}
RandomForestClassifier
C2
Health Care Services Satisfaction Prediction
The model trained to solve the classification task labels the given case as C2 with a moderately high degree of confidence level equal to 60.13%. However, it is important to note that the prediction likelihood of C1 is 39.87%. Investigation of the contributions of the features to the above label assignment indicates that the most relevant features considered by the model are F16, F2, F9, and F10. Increasing the prediction likelihood of label C2 are mainly the positive features F16, F9, and F10. These features are termed positive features since their direction of influence is in support of the assigned label C2. On the contrary, F2, F3, and F12 are the top negative features, accounting for the uncertainty in the final prediction verdict. In plain terms, these negative features support labelling the case as C1, contradicting the model's decision in this case.
[ "0.08", "-0.04", "0.03", "0.03", "-0.02", "-0.02", "0.02", "0.02", "0.02", "-0.01", "-0.01", "-0.01", "-0.01", "0.01", "0.00", "-0.00" ]
[ "positive", "negative", "positive", "positive", "negative", "negative", "positive", "positive", "positive", "negative", "negative", "negative", "negative", "positive", "positive", "negative" ]
192
442
{'C2': '60.13%', 'C1': '39.87%'}
[ "Provide a statement summarizing the prediction made for the test case.", "For the current test instance, describe the direction of influence of the following features: F16, F2, F10 and F9.", "Compare and contrast the impact of the following features (F12, F3 and F11) on the model’s prediction of C2.", "Describe the degree of impact of the following features: F7, F6 and F4?" ]
[ "F16", "F2", "F10", "F9", "F12", "F3", "F11", "F7", "F6", "F4", "F5", "F13", "F15", "F8", "F1", "F14" ]
{'F16': 'Communication with dr', 'F2': 'Quality\\/experience dr.', 'F10': 'Time of appointment', 'F9': 'Specialists avaliable', 'F12': 'Modern equipment', 'F3': 'parking, playing rooms, caffes', 'F11': 'waiting rooms', 'F7': 'Admin procedures', 'F6': 'hospital rooms quality', 'F4': 'Check up appointment', 'F5': 'Exact diagnosis', 'F13': 'friendly health care workers', 'F15': 'Time waiting', 'F8': 'lab services', 'F1': 'avaliablity of drugs', 'F14': 'Hygiene and cleaning'}
{'F8': 'F16', 'F6': 'F2', 'F5': 'F10', 'F7': 'F9', 'F10': 'F12', 'F16': 'F3', 'F14': 'F11', 'F3': 'F7', 'F15': 'F6', 'F1': 'F4', 'F9': 'F5', 'F11': 'F13', 'F2': 'F15', 'F12': 'F8', 'F13': 'F1', 'F4': 'F14'}
{'C1': 'C2', 'C2': 'C1'}
Dissatisfied
{'C2': 'Dissatisfied', 'C1': 'Satisfied'}
DNN
C2
Concrete Strength Classification
The following assertions are based on the information provided to the classification model. The classification model's confidence in this case's prediction output is approximately 69.40% and this suggest that the chance of label C1 is about 30.60%. The prediction attribution analysis shows that F7 and F8 are the most important features, whereas F4 and F1 are the least influential. F6, F2, and F3 are recognised as the only negative features considering the direction of effect of the features since their contributions reduce the prediction likelihood of the specified label, C2. F7, F8, F5, F4, and F1, on the other hand, have a positive impact on the model in favour of labelling the provided situation as C2 rather than C1.
[ "0.62", "0.40", "-0.21", "-0.10", "0.09", "-0.09", "0.01", "0.00" ]
[ "positive", "positive", "negative", "negative", "positive", "negative", "positive", "positive" ]
269
356
{'C2': '69.40%', 'C1': '30.60%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F4 and F1?" ]
[ "F7", "F8", "F6", "F2", "F5", "F3", "F4", "F1" ]
{'F7': 'slag', 'F8': 'water', 'F6': 'cement', 'F2': 'fineaggregate', 'F5': 'flyash', 'F3': 'coarseaggregate', 'F4': 'age_days', 'F1': 'superplasticizer'}
{'F2': 'F7', 'F4': 'F8', 'F1': 'F6', 'F7': 'F2', 'F3': 'F5', 'F6': 'F3', 'F8': 'F4', 'F5': 'F1'}
{'C1': 'C2', 'C2': 'C1'}
Weak
{'C2': 'Weak', 'C1': 'Strong'}
GradientBoostingClassifier
C1
Broadband Sevice Signup
Because the chance that the label is the alternative class C2 is only 1.94 percent, the model anticipates that C1 will be the correct label in this situation. Specifically, it can be concluded that the model has a high level of confidence in the label C1. The feature attribution analysis conducted suggests that the two most relevant features considered when choosing the C1 are F29 and F1. F8, F27, F7, F13, and F22 were some of the other factors that positively helped with this prediction. F18, F36, F23, and F6, on the other hand, are the features with a negative influence on the above prediction judgement. In comparison to the F31, F22, F27, and F1, the foregoing features have little impact on the model and this might explain why the model is so certain that the correct label is C1. However, it is crucial to note that not all features are considered by the model during the label assignment with the irrelevant features such as F41, F32, F39, and F40 having extremely low attributions which happens to be almost zero.
[ "0.20", "0.11", "0.11", "0.10", "0.05", "0.04", "-0.04", "0.04", "-0.03", "-0.03", "0.02", "-0.02", "0.02", "-0.02", "0.02", "0.02", "-0.02", "0.02", "0.02", "-0.02", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00" ]
[ "positive", "positive", "positive", "positive", "positive", "positive", "negative", "positive", "negative", "negative", "positive", "negative", "positive", "negative", "positive", "positive", "negative", "positive", "positive", "negative", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible" ]
117
236
{'C1': '98.06%', 'C2': '1.94%'}
[ "Provide a statement summarizing the prediction made for the test case.", "For the current test instance, describe the direction of influence of the following features: F31 and F1.", "Compare and contrast the impact of the following features (F22, F27, F13 (with a value equal to V1) and F8) on the model’s prediction of C1.", "Describe the degree of impact of the following features: F18, F7 and F36?" ]
[ "F31", "F1", "F22", "F27", "F13", "F8", "F18", "F7", "F36", "F23", "F6", "F34", "F28", "F25", "F3", "F29", "F20", "F26", "F16", "F24", "F39", "F32", "F40", "F41", "F35", "F30", "F12", "F4", "F38", "F37", "F11", "F33", "F42", "F15", "F9", "F21", "F17", "F14", "F2", "F10", "F5", "F19" ]
{'F31': 'X38', 'F1': 'X22', 'F22': 'X32', 'F27': 'X19', 'F13': 'X1', 'F8': 'X13', 'F18': 'X11', 'F7': 'X3', 'F36': 'X16', 'F23': 'X2', 'F6': 'X12', 'F34': 'X14', 'F28': 'X42', 'F25': 'X18', 'F3': 'X28', 'F29': 'X35', 'F20': 'X24', 'F26': 'X20', 'F16': 'X8', 'F24': 'X40', 'F39': 'X34', 'F32': 'X5', 'F40': 'X4', 'F41': 'X41', 'F35': 'X6', 'F30': 'X39', 'F12': 'X7', 'F4': 'X37', 'F38': 'X36', 'F37': 'X33', 'F11': 'X21', 'F33': 'X9', 'F42': 'X31', 'F15': 'X30', 'F9': 'X10', 'F21': 'X27', 'F17': 'X26', 'F14': 'X25', 'F2': 'X15', 'F10': 'X23', 'F5': 'X17', 'F19': 'X29'}
{'F35': 'F31', 'F20': 'F1', 'F29': 'F22', 'F17': 'F27', 'F40': 'F13', 'F11': 'F8', 'F9': 'F18', 'F2': 'F7', 'F14': 'F36', 'F1': 'F23', 'F10': 'F6', 'F12': 'F34', 'F38': 'F28', 'F16': 'F25', 'F26': 'F3', 'F32': 'F29', 'F22': 'F20', 'F18': 'F26', 'F6': 'F16', 'F37': 'F24', 'F31': 'F39', 'F41': 'F32', 'F3': 'F40', 'F39': 'F41', 'F4': 'F35', 'F36': 'F30', 'F5': 'F12', 'F34': 'F4', 'F33': 'F38', 'F30': 'F37', 'F19': 'F11', 'F7': 'F33', 'F28': 'F42', 'F27': 'F15', 'F8': 'F9', 'F25': 'F21', 'F24': 'F17', 'F23': 'F14', 'F13': 'F2', 'F21': 'F10', 'F15': 'F5', 'F42': 'F19'}
{'C1': 'C1', 'C2': 'C2'}
No
{'C1': 'No', 'C2': 'Yes'}
RandomForestClassifier
C1
Student Job Placement
The model predicted that the example should be classified as C1 with a 76.06% likelihood but the model also identified that there was a 23.94% chance that the right label could actually be C2. The positive influence of features F4, F7, F9, and F1 on the model supports the class assignment of C1. Both F3 and F8 are features with a small positive impact on the classification decision for the given case. F11 and F5, in contrast, has a small negative impact on the output verdict that drives the decision away in favour of the other label. The features F12 and F6 have only a very small impact on the final classification decision. Finally, F10 is shown to have zero impact on the model in this case, hence it is not relevant to the prediction of class C1.
[ "0.26", "0.19", "0.11", "0.09", "0.07", "-0.02", "0.01", "0.01", "-0.01", "0.01", "0.00", "-0.00" ]
[ "positive", "positive", "positive", "positive", "positive", "negative", "positive", "positive", "negative", "positive", "positive", "negative" ]
19
6
{'C1': '76.06%', 'C2': '23.94%'}
[ "Provide a statement summarizing the prediction made for the test case.", "For the current test instance, describe the direction of influence of the following features: F4, F7, F9 (with a value equal to V0) and F1 (equal to V1).", "Compare and contrast the impact of the following features (F3 (with a value equal to V0), F11 (equal to V2) and F8) on the model’s prediction of C1.", "Describe the degree of impact of the following features: F12, F5 (equal to V0) and F6 (with a value equal to V0)?" ]
[ "F4", "F7", "F9", "F1", "F3", "F11", "F8", "F12", "F5", "F6", "F2", "F10" ]
{'F4': 'ssc_p', 'F7': 'hsc_p', 'F9': 'workex', 'F1': 'specialisation', 'F3': 'gender', 'F11': 'hsc_s', 'F8': 'degree_p', 'F12': 'etest_p', 'F5': 'degree_t', 'F6': 'ssc_b', 'F2': 'hsc_b', 'F10': 'mba_p'}
{'F1': 'F4', 'F2': 'F7', 'F11': 'F9', 'F12': 'F1', 'F6': 'F3', 'F9': 'F11', 'F3': 'F8', 'F4': 'F12', 'F10': 'F5', 'F7': 'F6', 'F8': 'F2', 'F5': 'F10'}
{'C1': 'C1', 'C2': 'C2'}
Not Placed
{'C1': 'Not Placed', 'C2': 'Placed'}
RandomForestClassifier
C1
Used Cars Price-Range Prediction
The classification model labels the given case as C1 at a very high confidence level since the probability that C2 is the correct label according to the model is only 3.50%. The assignment decision above is mainly based on the values of the features F3, F5, F7, and F1. On the other hand, the values of F6 and F2 are shown to have a very weak influence on the model's decision. The analysis revealed that only four of the input features support the decision by the model, while the remaining ones contradict the assigned label. The four positive features are F7, F1, F9, and F8.
[ "-0.14", "-0.13", "0.11", "0.07", "-0.03", "0.03", "0.03", "-0.03", "-0.00", "-0.00" ]
[ "negative", "negative", "positive", "positive", "negative", "positive", "positive", "negative", "negative", "negative" ]
183
106
{'C2': '3.50%', 'C1': '96.50%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F8, F10, F6 and F2?" ]
[ "F3", "F5", "F7", "F1", "F4", "F9", "F8", "F10", "F6", "F2" ]
{'F3': 'Fuel_Type', 'F5': 'Transmission', 'F7': 'Power', 'F1': 'Kilometers_Driven', 'F4': 'Mileage', 'F9': 'car_age', 'F8': 'Engine', 'F10': 'Seats', 'F6': 'Owner_Type', 'F2': 'Name'}
{'F7': 'F3', 'F8': 'F5', 'F4': 'F7', 'F1': 'F1', 'F2': 'F4', 'F5': 'F9', 'F3': 'F8', 'F10': 'F10', 'F9': 'F6', 'F6': 'F2'}
{'C1': 'C2', 'C2': 'C1'}
High
{'C2': 'Low', 'C1': 'High'}
SVM_linear
C1
Employee Promotion Prediction
The model generated the label, C1, with a very high likelihood of 99.69%, hence the probability that C2 is the right label is only 0.31%. Based on the analysis performed to understand the attributions of the different features, F11 was by far the most impactful positive feature whereas, the most negative feature is identified as F6. F8 also had a positive influence on the model's prediction, as did F1, F10, and F2. This is in contrast to F5 and F7, which had a negative influence on the prediction. Many of the features under consideration had only smaller impact on the outcome of the model and these are F4, F9, F2, F3, and F10. Considering the attributions of the input features, only F6, F5, F7, F4, F9, and F3 are shown to have negative attributions, decreasing the likelihood of the predicted label, however, the collective influence of the negative features is not enough to swing the model towards a different label.
[ "0.54", "-0.12", "0.06", "-0.03", "-0.02", "0.02", "-0.02", "-0.02", "0.02", "-0.00", "0.00" ]
[ "positive", "negative", "positive", "negative", "negative", "positive", "negative", "negative", "positive", "negative", "positive" ]
100
46
{'C2': '0.31%', 'C1': '99.69%'}
[ "Summarize the prediction for the given test example?", "In two sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Compare and contrast the impact of the following attributes (F8, F5 (with a value equal to V2), F7 and F1) on the model’s prediction of C1.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F11", "F6", "F8", "F5", "F7", "F1", "F4", "F9", "F2", "F3", "F10" ]
{'F11': 'avg_training_score', 'F6': 'department', 'F8': 'KPIs_met >80%', 'F5': 'recruitment_channel', 'F7': 'age', 'F1': 'no_of_trainings', 'F4': 'previous_year_rating', 'F9': 'education', 'F2': 'region', 'F3': 'length_of_service', 'F10': 'gender'}
{'F11': 'F11', 'F1': 'F6', 'F10': 'F8', 'F5': 'F5', 'F7': 'F7', 'F6': 'F1', 'F8': 'F4', 'F3': 'F9', 'F2': 'F2', 'F9': 'F3', 'F4': 'F10'}
{'C1': 'C2', 'C2': 'C1'}
Promote
{'C2': 'Ignore', 'C1': 'Promote'}
KNeighborsClassifier
C2
Advertisement Prediction
The item is labelled as C2 with a high degree of confidence since the predicted probability associated with the other class is 0.0%. Looking at the contributions of the features, only F1 and F2, are shown to drive the model towards predicting C1. However, these features are ranked as the least relevant, implying that their values have a very low impact on the model's decision. All the positive features, F3, F6, F5, F4, and F7, are ranked higher than the negative ones, with higher impacts on the model, significantly supporting the assigned label which could explain the high confidence level.
[ "0.42", "0.27", "0.16", "0.06", "0.05", "-0.03", "-0.03" ]
[ "positive", "positive", "positive", "positive", "positive", "negative", "negative" ]
191
111
{'C2': '100.00%', 'C1': '0.00%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F7, F1 and F2) with moderate impact on the prediction made for this test case." ]
[ "F3", "F6", "F4", "F5", "F7", "F1", "F2" ]
{'F3': 'Daily Internet Usage', 'F6': 'Daily Time Spent on Site', 'F4': 'Age', 'F5': 'Area Income', 'F7': 'ad_day', 'F1': 'ad_month', 'F2': 'Gender'}
{'F4': 'F3', 'F1': 'F6', 'F2': 'F4', 'F3': 'F5', 'F7': 'F7', 'F6': 'F1', 'F5': 'F2'}
{'C1': 'C2', 'C2': 'C1'}
Skip
{'C2': 'Skip', 'C1': 'Watch'}
SVC_linear
C2
Personal Loan Modelling
With the prediction probability distribution across the labels, C1 and C2, respectively, equal to 0.30% and 99.70%, the model labels this instance as C2. The most important features are F3, F4, and F7. The variables, F8, F5, F1, and F2, have values, increasing the chances of C1 being the label for this case. Increasing the odds of C2 being the correct label are the values of the remaining variables. The strong positive variables are F3, F4, and F7 coupled with the moderate positive influence of F6 and F9 pushes the prediction in favour of C2 hence the prediction confidence level achieved.
[ "0.58", "0.10", "0.09", "-0.09", "0.03", "-0.03", "-0.02", "0.01", "-0.00" ]
[ "positive", "positive", "positive", "negative", "positive", "negative", "negative", "positive", "negative" ]
161
87
{'C1': '0.30%', 'C2': '99.70%'}
[ "Provide a statement summarizing the prediction made for the test case.", "For the current test instance, describe the direction of influence of the following features: F3, F4, F7, F8 and F6.", "Compare and contrast the impact of the following features (F5, F1 and F9) on the model’s prediction of C2.", "Describe the degree of impact of the following features: F2?" ]
[ "F3", "F4", "F7", "F8", "F6", "F5", "F1", "F9", "F2" ]
{'F3': 'Income', 'F4': 'CD Account', 'F7': 'Education', 'F8': 'Family', 'F6': 'Securities Account', 'F5': 'CCAvg', 'F1': 'Mortgage', 'F9': 'Extra_service', 'F2': 'Age'}
{'F2': 'F3', 'F8': 'F4', 'F5': 'F7', 'F3': 'F8', 'F7': 'F6', 'F4': 'F5', 'F6': 'F1', 'F9': 'F9', 'F1': 'F2'}
{'C1': 'C1', 'C2': 'C2'}
Accept
{'C1': 'Reject', 'C2': 'Accept'}
DecisionTreeClassifier
C3
Car Acceptability Valuation
C3 is given as the predicted label with very high confidence, and according to the classification algorithm, there is no chance that either of the remaining three labels, C4, C3, and C1, is the right label for this case since the predicted probability of C2 is 100.0%. Based on the attribution analysis and investigations, the ranking of the input features from the most important to the least important is: F3, F6, F5, F4, F2, and F1. From the attribution analysis, F3 is the only one that positively contribute and support the above classification decision, while the remaining features such as F6, F5, F2, and F4 have negative contributions, shifting the decision in a different direction. In conclusion, looking at the predicted confidence level, one can say that the very strong attribution or influence of F3 is enough to dwarf the contributions of the features F6, F5, F4, F2, and F1.
[ "0.42", "-0.24", "-0.11", "-0.09", "-0.05", "-0.04" ]
[ "positive", "negative", "negative", "negative", "negative", "negative" ]
18
5
{'C2': '100.00%', 'C4': '0.00%', 'C1': '0.0%', 'C3': '0.0%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: ?" ]
[ "F3", "F6", "F5", "F4", "F2", "F1" ]
{'F3': 'safety', 'F6': 'persons', 'F5': 'buying', 'F4': 'maint', 'F2': 'lug_boot', 'F1': 'doors'}
{'F6': 'F3', 'F4': 'F6', 'F1': 'F5', 'F2': 'F4', 'F5': 'F2', 'F3': 'F1'}
{'C4': 'C2', 'C2': 'C4', 'C3': 'C1', 'C1': 'C3'}
Unacceptable
{'C2': 'Other B', 'C4': 'Acceptable', 'C1': 'Other A', 'C3': 'Unacceptable'}
KNeighborsClassifier
C2
German Credit Evaluation
In the present case, there is only a 12.50% chance that C1 is the correct label, which means there is an 87.50% chance that C2 is the true label. Therefore, the most probable class assigned by the model is C2. The above decision is mainly based on the influence of the following variables: F5, F4, and F7. Of these main variables, only F4 had a very strong positive impact on the model, increasing the prediction probability of the assigned label. The most important variables that lower the likelihood of C2 being the correct label are F7 and F5. The remaining two variables moving the decision away from C2 are F8 and F2. F3 and F6 are the least important variables, with a marginal impact on the model and this positive impact on the model is moderately low.
[ "0.23", "-0.08", "-0.08", "-0.06", "-0.06", "0.05", "0.04", "0.01", "0.01" ]
[ "positive", "negative", "negative", "negative", "negative", "positive", "positive", "positive", "positive" ]
167
220
{'C2': '87.50%', 'C1': '12.50%'}
[ "Summarize the prediction for the given test example?", "For this test case, summarize the top features influencing the model's decision.", "For these top features, what are the respective directions of influence on the prediction?", "Provide a statement on the set of features has limited impact on the prediction of C2 by the model for the given test example?" ]
[ "F4", "F7", "F5", "F8", "F2", "F1", "F9", "F3", "F6" ]
{'F4': 'Checking account', 'F7': 'Saving accounts', 'F5': 'Purpose', 'F8': 'Sex', 'F2': 'Duration', 'F1': 'Housing', 'F9': 'Age', 'F3': 'Job', 'F6': 'Credit amount'}
{'F6': 'F4', 'F5': 'F7', 'F9': 'F5', 'F2': 'F8', 'F8': 'F2', 'F4': 'F1', 'F1': 'F9', 'F3': 'F3', 'F7': 'F6'}
{'C1': 'C2', 'C2': 'C1'}
Good Credit
{'C2': 'Good Credit', 'C1': 'Bad Credit'}
KNeighborsClassifier
C1
Tic-Tac-Toe Strategy
There is an evenly split chance that the prediction could be either of the two labels, C1 and C2. Based on the predicted probabilities, we can conclude that the model is uncertain about which label is the correct one. The abovementioned prediction decision is chiefly attributed to the influence of the following features: F9, F3, and F1, however, the least important or ranked ones are F5 and F2. The attributes F6, F4, F7, and F8 are shown to have moderate contributions.
[ "0.21", "-0.10", "-0.09", "-0.06", "-0.04", "0.04", "-0.03", "0.02", "0.01" ]
[ "positive", "negative", "negative", "negative", "negative", "positive", "negative", "positive", "positive" ]
212
125
{'C1': '50.00%', 'C2': '50.00%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F6, F4 and F7) with moderate impact on the prediction made for this test case." ]
[ "F9", "F3", "F1", "F6", "F4", "F7", "F8", "F5", "F2" ]
{'F9': 'middle-middle-square', 'F3': 'top-left-square', 'F1': 'bottom-left-square', 'F6': 'bottom-right-square', 'F4': 'top-middle-square', 'F7': ' top-right-square', 'F8': 'middle-right-square', 'F5': 'bottom-middle-square', 'F2': 'middle-left-square'}
{'F5': 'F9', 'F1': 'F3', 'F7': 'F1', 'F9': 'F6', 'F2': 'F4', 'F3': 'F7', 'F6': 'F8', 'F8': 'F5', 'F4': 'F2'}
{'C1': 'C1', 'C2': 'C2'}
player B lose
{'C1': 'player B lose', 'C2': 'player B win'}
SVC
C1
Water Quality Classification
The label assigned to the given sample is C1 at a confidence level of 56.81%. This means that there is a 43.19% chance that the sample could be C2, representing an uncertain classification decision. The values of F9, F2, F3, F4, and F8 are the major contributing factors resulting in the classification decision here. On the other hand, the least important features are F6, F7, and F5, with a low level of influence. Considering the direction of influence of the features (that is, either supporting or contradicting the prediction above), only F3, F4, and F8 are shown to have positive attributions, increasing the likelihood of the assigned label. This implies that the values of the remaining features F1, F9, F2, F7, F6, and F5 have negative attributions, shifting the verdict in the opposite direction in favour of C2. In simple terms, the correct label should be C2 according to the negative features enumerated above.
[ "-0.01", "-0.01", "0.01", "0.01", "0.01", "-0.00", "-0.00", "-0.00", "-0.00" ]
[ "negative", "negative", "positive", "positive", "positive", "negative", "negative", "negative", "negative" ]
188
441
{'C1': '56.81%', 'C2': '43.19%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F4, F8 and F1) with moderate impact on the prediction made for this test case." ]
[ "F9", "F2", "F3", "F4", "F8", "F1", "F7", "F6", "F5" ]
{'F9': 'ph', 'F2': 'Conductivity', 'F3': 'Sulfate', 'F4': 'Hardness', 'F8': 'Turbidity', 'F1': 'Solids', 'F7': 'Chloramines', 'F6': 'Trihalomethanes', 'F5': 'Organic_carbon'}
{'F1': 'F9', 'F6': 'F2', 'F5': 'F3', 'F2': 'F4', 'F9': 'F8', 'F3': 'F1', 'F4': 'F7', 'F8': 'F6', 'F7': 'F5'}
{'C1': 'C1', 'C2': 'C2'}
Not Portable
{'C1': 'Not Portable', 'C2': 'Portable'}
SVC
C2
Australian Credit Approval
The classification algorithm classifies the given case as C2, since there is only an 18.57% chance that C1 is the correct label. The effects and contributions of positive input variables F9, F10, and F8 are the major drivers for the above classification. Besides, most of the remaining predictors such as F11, F4, F2, F14, and F5, are positive variables, decreasing the likelihood of the C1 label and making the label C2 more likely. The only variables with negative contributions are F3, F5, F13, and F6, which motivate generating the label C1 instead of C2. In summary, comparing negative attribution to positive attribution explains why the algorithm can determine that C2 is the right label for the given case.
[ "0.43", "0.14", "0.14", "0.09", "0.07", "0.06", "0.05", "-0.04", "0.04", "-0.03", "0.03", "-0.03", "0.02", "-0.01" ]
[ "positive", "positive", "positive", "positive", "positive", "positive", "positive", "negative", "positive", "negative", "positive", "negative", "positive", "negative" ]
244
315
{'C1': '18.57%', 'C2': '81.43%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F11, F4 and F2) with moderate impact on the prediction made for this test case." ]
[ "F9", "F10", "F8", "F11", "F4", "F2", "F14", "F7", "F5", "F6", "F1", "F3", "F12", "F13" ]
{'F9': 'A8', 'F10': 'A9', 'F8': 'A14', 'F11': 'A12', 'F4': 'A7', 'F2': 'A4', 'F14': 'A5', 'F7': 'A11', 'F5': 'A1', 'F6': 'A13', 'F1': 'A10', 'F3': 'A2', 'F12': 'A6', 'F13': 'A3'}
{'F8': 'F9', 'F9': 'F10', 'F14': 'F8', 'F12': 'F11', 'F7': 'F4', 'F4': 'F2', 'F5': 'F14', 'F11': 'F7', 'F1': 'F5', 'F13': 'F6', 'F10': 'F1', 'F2': 'F3', 'F6': 'F12', 'F3': 'F13'}
{'C1': 'C1', 'C2': 'C2'}
Class 2
{'C1': 'Class 1', 'C2': 'Class 2'}
LogisticRegression
C2
Concrete Strength Classification
The odds are in favour of C2 being the correct label for the given case. This is because the probability of the other label, C1, is only 1.03%. Ranking the features in order of relevance to the classification decision above, F1, F2, F4, F8, F5, F3, F7, and F6. Among the set of features used for this prediction, F2, F5, and F3 are the only ones shown to decrease the likelihood of the C2 decision. The positive features increasing the chances of C2 being the correct label are F1, F4, F8, F7, and F6. The joint attribution of the positive features is stronger than that of the negative ones, which explains the confidence level associated with class C2.
[ "0.40", "-0.24", "0.14", "0.12", "-0.10", "-0.08", "0.02", "0.00" ]
[ "positive", "negative", "positive", "positive", "negative", "negative", "positive", "positive" ]
178
102
{'C1': '1.03%', 'C2': '98.97%'}
[ "Summarize the prediction made for the test under consideration along with the likelihood of the different possible class labels.", "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Compare the direction of impact of the features: F1, F2 and F4.", "Summarize the direction of influence of the features (F8, F5 and F3) with moderate impact on the prediction made for this test case.", "Provide a statement on the features with the least impact on the prediction made for this test case." ]
[ "F1", "F2", "F4", "F8", "F5", "F3", "F7", "F6" ]
{'F1': 'cement', 'F2': 'age_days', 'F4': 'water', 'F8': 'superplasticizer', 'F5': 'fineaggregate', 'F3': 'flyash', 'F7': 'slag', 'F6': 'coarseaggregate'}
{'F1': 'F1', 'F8': 'F2', 'F4': 'F4', 'F5': 'F8', 'F7': 'F5', 'F3': 'F3', 'F2': 'F7', 'F6': 'F6'}
{'C1': 'C1', 'C2': 'C2'}
Strong
{'C1': 'Weak', 'C2': 'Strong'}
GradientBoostingClassifier
C2
Paris House Classification
According to the prediction algorithm or model, there is almost 100% confidence that C2 is the label for the case under consideration. This is because the probability of C1 being the correct label is only 0.70%. The classification decision above is mainly based on the values of the following features: F12, F3, and F9 since their respective attributions are higher than any of the remaining features. F3 has a negative contribution to the prediction made by the model for this case, while in contrast, F12 and F9 have positive contributions, that push the classification decision in favour of C2. Unlike all the features mentioned above, the values of F14, F6, F2, and F11 have a limited impact on the classification decision above.
[ "0.37", "-0.35", "0.13", "0.03", "0.02", "0.01", "-0.01", "0.01", "0.01", "0.00", "0.00", "-0.00", "0.00", "0.00", "0.00", "0.00", "-0.00" ]
[ "positive", "negative", "positive", "positive", "positive", "positive", "negative", "positive", "positive", "positive", "positive", "negative", "positive", "positive", "positive", "positive", "negative" ]
154
82
{'C2': '99.30%', 'C1': '0.70%'}
[ "Summarize the prediction for the given test example?", "In two sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Compare and contrast the impact of the following attributes (F9, F8, F16 and F15) on the model’s prediction of C2.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F12", "F3", "F9", "F8", "F16", "F15", "F5", "F7", "F17", "F13", "F10", "F4", "F1", "F14", "F6", "F2", "F11" ]
{'F12': 'isNewBuilt', 'F3': 'hasYard', 'F9': 'hasPool', 'F8': 'hasStormProtector', 'F16': 'made', 'F15': 'hasGuestRoom', 'F5': 'squareMeters', 'F7': 'floors', 'F17': 'cityCode', 'F13': 'basement', 'F10': 'price', 'F4': 'numPrevOwners', 'F1': 'numberOfRooms', 'F14': 'attic', 'F6': 'cityPartRange', 'F2': 'garage', 'F11': 'hasStorageRoom'}
{'F3': 'F12', 'F1': 'F3', 'F2': 'F9', 'F4': 'F8', 'F12': 'F16', 'F16': 'F15', 'F6': 'F5', 'F8': 'F7', 'F9': 'F17', 'F13': 'F13', 'F17': 'F10', 'F11': 'F4', 'F7': 'F1', 'F14': 'F14', 'F10': 'F6', 'F15': 'F2', 'F5': 'F11'}
{'C1': 'C2', 'C2': 'C1'}
Basic
{'C2': 'Basic', 'C1': 'Luxury'}
MLPClassifier
C1
Ethereum Fraud Detection
The C2 has a predicted probability of just 3.10 percent, but the C1 has a predicted probability of 96.90 percent, which implies that C1 is the most likely class chosen by the classifier for the supplied data. Not all of the input features are directly relevant to labelling the provided data and, per the attributions analysis, only F33, F5, F24, F10, F22, F21, F11, F23, F32, F29, F9, F17, F28, F20, F38, F19, F1, F4, F6, and F31 are the relevant features. However, F2, F8, and F35 are examples of irrelevant features since their contributions are mostly ignored by the classifier when classifying the given case. According to the attribution assessment, F33 and F5 have a very substantial combined positive influence, enhancing the classifier's response towards C1 rather than C2. In contrast, the top negative features are F24, F22, and F10, which weaken the classifier's response in favour of C2. When the attributions of F33, F21, and F5 are compared to the attributions of the negative features indicated above, it is not unexpected that the classifier is highly certain that C1 is the most likely label in this case.
[ "0.14", "0.10", "-0.08", "-0.07", "-0.07", "0.07", "0.06", "-0.06", "-0.06", "0.06", "-0.05", "-0.05", "-0.05", "0.03", "-0.02", "-0.02", "0.02", "0.02", "-0.01", "0.01", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00" ]
[ "positive", "positive", "negative", "negative", "negative", "positive", "positive", "negative", "negative", "positive", "negative", "negative", "negative", "positive", "negative", "negative", "positive", "positive", "negative", "positive", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible" ]
243
316
{'C2': '3.10%', 'C1': '96.90%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F11, F23, F32 and F29?" ]
[ "F33", "F5", "F24", "F10", "F22", "F21", "F11", "F23", "F32", "F29", "F9", "F17", "F28", "F20", "F38", "F19", "F1", "F4", "F6", "F31", "F2", "F35", "F8", "F37", "F13", "F34", "F36", "F12", "F27", "F25", "F30", "F14", "F15", "F7", "F3", "F18", "F16", "F26" ]
{'F33': 'Unique Received From Addresses', 'F5': ' ERC20 total Ether sent contract', 'F24': 'total ether received', 'F10': 'Sent tnx', 'F22': 'Number of Created Contracts', 'F21': ' ERC20 uniq rec token name', 'F11': ' ERC20 uniq rec contract addr', 'F23': 'max value received ', 'F32': 'total transactions (including tnx to create contract', 'F29': ' ERC20 uniq sent addr.1', 'F9': ' ERC20 uniq sent addr', 'F17': 'Received Tnx', 'F28': 'avg val received', 'F20': ' ERC20 uniq rec addr', 'F38': 'avg val sent', 'F19': 'min value received', 'F1': 'Unique Sent To Addresses', 'F4': ' ERC20 uniq sent token name', 'F6': 'Avg min between received tnx', 'F31': 'Time Diff between first and last (Mins)', 'F2': ' ERC20 min val rec', 'F35': ' ERC20 max val rec', 'F8': ' ERC20 min val sent', 'F37': ' ERC20 max val sent', 'F13': ' ERC20 avg val sent', 'F34': ' ERC20 avg val rec', 'F36': ' Total ERC20 tnxs', 'F12': ' ERC20 total ether sent', 'F27': ' ERC20 total Ether received', 'F25': 'total ether balance', 'F30': 'total ether sent contracts', 'F14': 'total Ether sent', 'F15': 'avg value sent to contract', 'F7': 'max val sent to contract', 'F3': 'min value sent to contract', 'F18': 'max val sent', 'F16': 'min val sent', 'F26': 'Avg min between sent tnx'}
{'F7': 'F33', 'F26': 'F5', 'F20': 'F24', 'F4': 'F10', 'F6': 'F22', 'F38': 'F21', 'F30': 'F11', 'F10': 'F23', 'F18': 'F32', 'F29': 'F29', 'F27': 'F9', 'F5': 'F17', 'F11': 'F28', 'F28': 'F20', 'F14': 'F38', 'F9': 'F19', 'F8': 'F1', 'F37': 'F4', 'F2': 'F6', 'F3': 'F31', 'F31': 'F2', 'F32': 'F35', 'F34': 'F8', 'F35': 'F37', 'F36': 'F13', 'F33': 'F34', 'F23': 'F36', 'F25': 'F12', 'F24': 'F27', 'F22': 'F25', 'F21': 'F30', 'F19': 'F14', 'F17': 'F15', 'F16': 'F7', 'F15': 'F3', 'F13': 'F18', 'F12': 'F16', 'F1': 'F26'}
{'C1': 'C2', 'C2': 'C1'}
Fraud
{'C2': 'Not Fraud', 'C1': 'Fraud'}
RandomForestClassifier
C1
German Credit Evaluation
The classification algorithm labels this instance as C1, but its level of confidence is moderate considering the fact that there is about a 44.0% chance that C2 could be the appropriate label. The features, F1, F4, F8, and F5, negatively influence the prediction verdict away from C1 and favour assigning C2 as the correct label. Contradicting the influence of the negative feature are features such as F2, F3, and F7, with positive contributions, improving the odds in favour of the probable label, C1. To summarise, the top features with the most influence on the above label assignment are F2 and F1, but F5 and F9 are the least influential input features considered by the algorithm.
[ "-0.10", "0.07", "-0.06", "0.05", "-0.03", "0.02", "0.02", "-0.01", "0.00" ]
[ "negative", "positive", "negative", "positive", "negative", "positive", "positive", "negative", "positive" ]
229
136
{'C1': '56.00%', 'C2': '44.00%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F4, F3, F8 and F7) with moderate impact on the prediction made for this test case." ]
[ "F1", "F2", "F4", "F3", "F8", "F7", "F6", "F5", "F9" ]
{'F1': 'Saving accounts', 'F2': 'Sex', 'F4': 'Duration', 'F3': 'Purpose', 'F8': 'Housing', 'F7': 'Age', 'F6': 'Checking account', 'F5': 'Credit amount', 'F9': 'Job'}
{'F5': 'F1', 'F2': 'F2', 'F8': 'F4', 'F9': 'F3', 'F4': 'F8', 'F1': 'F7', 'F6': 'F6', 'F7': 'F5', 'F3': 'F9'}
{'C1': 'C1', 'C2': 'C2'}
Good Credit
{'C1': 'Good Credit', 'C2': 'Bad Credit'}
GradientBoostingClassifier
C2
Food Ordering Customer Churn Prediction
The case given is labelled as C2 with close to an 82.07% confidence level, implying that the likelihood of C1 being the correct label is only 17.93%. The classification above is mainly due to the contributions of different features such as F39, F13, F24, F38, F22, and F26. But, not all features are considered by the classifier to arrive at the decision made for the given case. These irrelevant features include F40, F33, F11, and F8. Among the influential features as shown, F39, F13, F24, F38, and F18 are the top positives that increase the probability of C2 being the true label. However, F22, F26, F36, F29, F4, F42, F27, and F20 are the top negative features, driving the prediction lower towards C2 in favour of C1. In closing, the most important features with regard to this classification output are F39 and F13, all with positive attributions, explaining the very high confidence level.
[ "0.36", "0.34", "0.07", "0.05", "-0.04", "-0.04", "-0.04", "0.03", "-0.03", "-0.03", "-0.03", "-0.03", "-0.02", "0.02", "-0.02", "-0.02", "0.02", "0.02", "-0.01", "-0.01", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00" ]
[ "positive", "positive", "positive", "positive", "negative", "negative", "negative", "positive", "negative", "negative", "negative", "negative", "negative", "positive", "negative", "negative", "positive", "positive", "negative", "negative", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible" ]
7
361
{'C1': '17.93%', 'C2': '82.07%'}
[ "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Summarize the direction of influence of the features (F39 (when it is equal to V1), F13 (value equal to V1), F24 (equal to V0), F38 (when it is equal to V1) and F22 (when it is equal to V3)) on the prediction made for this test case.", "Compare the direction of impact of the features: F26 (with a value equal to V1), F36 (with a value equal to V3) and F18 (equal to V2).", "Describe the degree of impact of the following features: F29 (equal to V2), F42 (when it is equal to V0) and F4 (when it is equal to V3)?" ]
[ "F39", "F13", "F24", "F38", "F22", "F26", "F36", "F18", "F29", "F42", "F4", "F27", "F20", "F35", "F37", "F17", "F6", "F25", "F46", "F16", "F40", "F11", "F33", "F8", "F15", "F34", "F32", "F10", "F30", "F28", "F5", "F21", "F31", "F45", "F43", "F14", "F1", "F44", "F9", "F7", "F19", "F41", "F2", "F23", "F12", "F3" ]
{'F39': 'More restaurant choices', 'F13': 'Ease and convenient', 'F24': 'Bad past experience', 'F38': 'Time saving', 'F22': 'Unaffordable', 'F26': 'Educational Qualifications', 'F36': 'Late Delivery', 'F18': 'Occupation', 'F29': 'Influence of rating', 'F42': 'Less Delivery time', 'F4': 'Order placed by mistake', 'F27': 'Delivery person ability', 'F20': 'Order Time', 'F35': 'Unavailability', 'F37': 'More Offers and Discount', 'F17': 'Delay of delivery person picking up food', 'F6': 'Good Taste ', 'F25': 'Wrong order delivered', 'F46': 'Freshness ', 'F16': 'Missing item', 'F40': 'Residence in busy location', 'F11': 'Google Maps Accuracy', 'F33': 'Age', 'F8': 'Good Road Condition', 'F15': 'Low quantity low time', 'F34': 'High Quality of package', 'F32': 'Number of calls', 'F10': 'Politeness', 'F30': 'Temperature', 'F28': 'Maximum wait time', 'F5': 'Long delivery time', 'F21': 'Influence of time', 'F31': 'Delay of delivery person getting assigned', 'F45': 'Family size', 'F43': 'Poor Hygiene', 'F14': 'Health Concern', 'F1': 'Self Cooking', 'F44': 'Good Tracking system', 'F9': 'Good Food quality', 'F7': 'Easy Payment option', 'F19': 'Perference(P2)', 'F41': 'Perference(P1)', 'F2': 'Monthly Income', 'F23': 'Marital Status', 'F12': 'Gender', 'F3': 'Good Quantity'}
{'F12': 'F39', 'F10': 'F13', 'F21': 'F24', 'F11': 'F38', 'F23': 'F22', 'F6': 'F26', 'F19': 'F36', 'F4': 'F18', 'F38': 'F29', 'F39': 'F42', 'F29': 'F4', 'F37': 'F27', 'F31': 'F20', 'F22': 'F35', 'F14': 'F37', 'F26': 'F17', 'F45': 'F6', 'F27': 'F25', 'F43': 'F46', 'F28': 'F16', 'F33': 'F40', 'F34': 'F11', 'F1': 'F33', 'F35': 'F8', 'F36': 'F15', 'F40': 'F34', 'F41': 'F32', 'F42': 'F10', 'F44': 'F30', 'F32': 'F28', 'F24': 'F5', 'F30': 'F21', 'F25': 'F31', 'F7': 'F45', 'F20': 'F43', 'F18': 'F14', 'F17': 'F1', 'F16': 'F44', 'F15': 'F9', 'F13': 'F7', 'F9': 'F19', 'F8': 'F41', 'F5': 'F2', 'F3': 'F23', 'F2': 'F12', 'F46': 'F3'}
{'C1': 'C1', 'C2': 'C2'}
Go Away
{'C1': 'Return', 'C2': 'Go Away'}
RandomForestClassifier
C1
Company Bankruptcy Prediction
The output labelling decision is C1 with almost 100% certainty, which indicates that there is practically no chance that C2 is the right label choice for the case under consideration. F61, F15, F1, F86, and F23 are the features with the highest joint positive impact, influencing the model's decision to output C1 and the feature F89 also has a high impact, but unlike F61, F15, F1, F86, and F23, F89 attempts to shift the decision away from C1 in the direction of C2. Also, F83 and F4 have a moderate impact on the decision towards C1, although this is still higher than features F65, F13, F90, and F77, which have a moderate impact, favouring the prediction of class C2. Besides, F4, F37, F2, F46, F6, and F28 all have a positive influence on the final classification verdict further increasing the odds in favour of the C1 label. It is worthy to note that for this classification decision, a large number of features are shown to be irrelevant hence received negligible consideration from the model, and these include F35, F3, F8, F85, and F51.
[ "0.01", "0.01", "0.01", "-0.01", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "-0.00", "-0.00", "-0.00", "0.00", "-0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00" ]
[ "positive", "positive", "positive", "negative", "positive", "positive", "positive", "positive", "positive", "positive", "positive", "positive", "positive", "negative", "negative", "negative", "positive", "negative", "positive", "positive", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible" ]
54
21
{'C1': '99.00%', 'C2': '1.00%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F4, F37 and F28?" ]
[ "F61", "F15", "F1", "F89", "F86", "F23", "F83", "F4", "F37", "F28", "F2", "F46", "F6", "F65", "F77", "F13", "F80", "F90", "F21", "F32", "F35", "F3", "F51", "F9", "F8", "F85", "F58", "F91", "F81", "F60", "F62", "F64", "F54", "F11", "F74", "F38", "F53", "F79", "F7", "F73", "F30", "F22", "F82", "F48", "F25", "F18", "F40", "F93", "F67", "F19", "F88", "F20", "F14", "F17", "F10", "F69", "F41", "F43", "F70", "F66", "F47", "F29", "F36", "F33", "F27", "F31", "F12", "F50", "F24", "F87", "F44", "F72", "F75", "F59", "F84", "F68", "F52", "F42", "F57", "F92", "F16", "F26", "F56", "F45", "F39", "F76", "F63", "F49", "F71", "F55", "F34", "F5", "F78" ]
{'F61': " Net Income to Stockholder's Equity", 'F15': ' Continuous interest rate (after tax)', 'F1': ' ROA(C) before interest and depreciation before interest', 'F89': ' Borrowing dependency', 'F86': ' Cash Flow Per Share', 'F23': ' Net worth\\/Assets', 'F83': ' Total income\\/Total expense', 'F4': ' Persistent EPS in the Last Four Seasons', 'F37': ' Retained Earnings to Total Assets', 'F28': ' Net Value Per Share (B)', 'F2': ' Cash Flow to Equity', 'F46': ' Net Value Per Share (A)', 'F6': ' Degree of Financial Leverage (DFL)', 'F65': ' Per Share Net profit before tax (Yuan ¥)', 'F77': ' Revenue Per Share (Yuan ¥)', 'F13': ' Inventory Turnover Rate (times)', 'F80': ' Net profit before tax\\/Paid-in capital', 'F90': ' Equity to Long-term Liability', 'F21': ' Operating profit\\/Paid-in capital', 'F32': ' Cash Turnover Rate', 'F35': ' Operating Funds to Liability', 'F3': ' Contingent liabilities\\/Net worth', 'F51': ' Working Capital to Total Assets', 'F9': ' Liability to Equity', 'F8': ' Current Liability to Liability', 'F85': ' Operating Gross Margin', 'F58': ' Operating Profit Per Share (Yuan ¥)', 'F91': ' Long-term Liability to Current Assets', 'F81': ' Current Asset Turnover Rate', 'F60': ' Interest Coverage Ratio (Interest expense to EBIT)', 'F62': ' Equity to Liability', 'F64': ' Operating Profit Rate', 'F54': ' Current Liability to Equity', 'F11': ' No-credit Interval', 'F74': ' Net Worth Turnover Rate (times)', 'F38': ' Working Capital\\/Equity', 'F53': ' Quick Assets\\/Current Liability', 'F79': ' Inventory and accounts receivable\\/Net value', 'F7': ' Current Liability to Current Assets', 'F73': ' Working capitcal Turnover Rate', 'F30': ' Fixed Assets to Assets', 'F22': ' Continuous Net Profit Growth Rate', 'F82': ' Cash Reinvestment %', 'F48': ' CFO to Assets', 'F25': ' Total Asset Turnover', 'F18': ' After-tax net Interest Rate', 'F40': ' After-tax Net Profit Growth Rate', 'F93': ' Tax rate (A)', 'F67': ' Current Ratio', 'F19': ' Realized Sales Gross Margin', 'F88': ' Net Value Per Share (C)', 'F20': ' Regular Net Profit Growth Rate', 'F14': ' Interest-bearing debt interest rate', 'F17': ' Debt ratio %', 'F10': ' Long-term fund suitability ratio (A)', 'F69': ' Net Value Growth Rate', 'F41': ' Total Asset Growth Rate', 'F43': ' Fixed Assets Turnover Frequency', 'F70': ' Inventory\\/Current Liability', 'F66': ' Allocation rate per person', 'F47': ' Operating Expense Rate', 'F29': ' Operating profit per person', 'F36': ' Net Income to Total Assets', 'F33': ' Interest Expense Ratio', 'F27': ' Cash\\/Total Assets', 'F31': ' ROA(B) before interest and depreciation after tax', 'F12': ' Inventory\\/Working Capital', 'F50': ' Total assets to GNP price', 'F24': ' Total debt\\/Total net worth', 'F87': ' Quick Ratio', 'F44': ' Revenue per person', 'F72': ' Non-industry income and expenditure\\/revenue', 'F75': ' Cash Flow to Sales', 'F59': ' ROA(A) before interest and % after tax', 'F84': ' Current Liabilities\\/Liability', 'F68': ' Operating Profit Growth Rate', 'F52': ' Cash Flow to Liability', 'F42': ' Cash Flow to Total Assets', 'F57': ' Pre-tax net Interest Rate', 'F92': ' Accounts Receivable Turnover', 'F16': ' Current Liability to Assets', 'F26': ' Quick Assets\\/Total Assets', 'F56': ' Total expense\\/Assets', 'F45': ' Average Collection Days', 'F39': ' Research and development expense rate', 'F76': ' Current Assets\\/Total Assets', 'F63': ' Current Liabilities\\/Equity', 'F49': ' Realized Sales Gross Profit Growth Rate', 'F71': ' Cash flow rate', 'F55': ' Total Asset Return Growth Rate Ratio', 'F34': ' Quick Asset Turnover Rate', 'F5': ' Cash\\/Current Liability', 'F78': ' Gross Profit to Sales'}
{'F59': 'F61', 'F12': 'F15', 'F29': 'F1', 'F3': 'F89', 'F65': 'F86', 'F84': 'F23', 'F57': 'F83', 'F8': 'F4', 'F10': 'F37', 'F27': 'F28', 'F53': 'F2', 'F42': 'F46', 'F35': 'F6', 'F78': 'F65', 'F31': 'F77', 'F18': 'F13', 'F72': 'F80', 'F23': 'F90', 'F89': 'F21', 'F34': 'F32', 'F87': 'F35', 'F64': 'F3', 'F67': 'F51', 'F66': 'F9', 'F90': 'F8', 'F62': 'F85', 'F63': 'F58', 'F69': 'F91', 'F61': 'F81', 'F60': 'F60', 'F91': 'F62', 'F58': 'F64', 'F92': 'F54', 'F56': 'F11', 'F55': 'F74', 'F68': 'F38', 'F71': 'F53', 'F70': 'F79', 'F86': 'F7', 'F73': 'F73', 'F74': 'F30', 'F54': 'F22', 'F75': 'F82', 'F76': 'F48', 'F77': 'F25', 'F79': 'F18', 'F80': 'F40', 'F81': 'F93', 'F82': 'F67', 'F83': 'F19', 'F88': 'F88', 'F85': 'F20', 'F1': 'F14', 'F47': 'F17', 'F52': 'F10', 'F15': 'F69', 'F24': 'F41', 'F22': 'F43', 'F21': 'F70', 'F20': 'F66', 'F19': 'F47', 'F17': 'F29', 'F16': 'F36', 'F14': 'F33', 'F26': 'F27', 'F13': 'F31', 'F11': 'F12', 'F9': 'F50', 'F7': 'F24', 'F6': 'F87', 'F5': 'F44', 'F4': 'F72', 'F25': 'F75', 'F28': 'F59', 'F51': 'F84', 'F43': 'F68', 'F50': 'F52', 'F49': 'F42', 'F48': 'F57', 'F2': 'F92', 'F46': 'F16', 'F45': 'F26', 'F44': 'F56', 'F41': 'F45', 'F30': 'F39', 'F40': 'F76', 'F39': 'F63', 'F38': 'F49', 'F37': 'F71', 'F36': 'F55', 'F33': 'F34', 'F32': 'F5', 'F93': 'F78'}
{'C1': 'C1', 'C2': 'C2'}
No
{'C1': 'No', 'C2': 'Yes'}
LogisticRegression
C2
House Price Classification
The label assigned by the classifier in this instance is C2, which had a very high prediction likelihood of about 99.93%. According to this classifier, the probability of C1 being the correct class is only 0.07%. Analysis performed shows that the confidence level of the classifier here is due to mainly the values of the features F10, F11, F5, and F2. The least relevant features to this classification verdict are F12, F3, F6, and F13 since the magnitude of their respective attribution is smaller compared to the remaining features. Furthermore, only the features, F4, F8, and F3, have a negative influence, increasing the chances of predicting the alternative label C1. However, when compared to the joint influence of the positive features such as F10, F11, and F5, the influence of the negative features is smaller, hence explaining the high degree of confidence in the predicted C2 label.
[ "0.35", "0.27", "0.21", "0.18", "-0.16", "0.07", "0.07", "0.06", "-0.04", "0.03", "-0.02", "0.01", "0.00" ]
[ "positive", "positive", "positive", "positive", "negative", "positive", "positive", "positive", "negative", "positive", "negative", "positive", "positive" ]
198
113
{'C1': '0.07%', 'C2': '99.93%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F1, F9, F4 and F12?" ]
[ "F10", "F11", "F5", "F2", "F8", "F7", "F1", "F9", "F4", "F12", "F3", "F6", "F13" ]
{'F10': 'LSTAT', 'F11': 'RM', 'F5': 'PTRATIO', 'F2': 'RAD', 'F8': 'CHAS', 'F7': 'TAX', 'F1': 'CRIM', 'F9': 'DIS', 'F4': 'AGE', 'F12': 'B', 'F3': 'ZN', 'F6': 'NOX', 'F13': 'INDUS'}
{'F13': 'F10', 'F6': 'F11', 'F11': 'F5', 'F9': 'F2', 'F4': 'F8', 'F10': 'F7', 'F1': 'F1', 'F8': 'F9', 'F7': 'F4', 'F12': 'F12', 'F2': 'F3', 'F5': 'F6', 'F3': 'F13'}
{'C1': 'C1', 'C2': 'C2'}
High
{'C1': 'Low', 'C2': 'High'}
BernoulliNB
C1
Credit Card Fraud Classification
The classifier is very certain that C2 is not the accurate label for the given data or example, but that C1 fits. F20, F5, F1, F14, F4, F6, and F13 are the input features that have the most influence on the choice or judgment. F16, F9, F30, F7, F22, F24, F11, F2, F27, and F28, on the other hand, are found to be irrelevant and have negligible inlfuence on the classifier. Amongst the top features, F20, F5, and F1 are the one shown to have negative contributions, greatly favouring C2, lowering C1's prediction probability. Despite the significant negative attributions of the top impactful attributes, the classifier is quite certain that C1 is the correct label, based on the prediction probabilities.
[ "-0.00", "-0.00", "-0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "-0.00", "-0.00", "-0.00", "0.00", "-0.00", "-0.00", "-0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00" ]
[ "negative", "negative", "negative", "positive", "positive", "positive", "positive", "positive", "positive", "positive", "positive", "positive", "positive", "negative", "negative", "negative", "positive", "negative", "negative", "negative", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible" ]
239
324
{'C1': '100.00%', 'C2': '0.00%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F6, F23 and F3?" ]
[ "F20", "F5", "F1", "F14", "F4", "F13", "F6", "F23", "F3", "F12", "F25", "F10", "F8", "F29", "F21", "F19", "F26", "F18", "F17", "F15", "F16", "F9", "F30", "F7", "F22", "F24", "F11", "F2", "F27", "F28" ]
{'F20': 'Z4', 'F5': 'Z3', 'F1': 'Z23', 'F14': 'Z2', 'F4': 'Z10', 'F13': 'Z7', 'F6': 'Z12', 'F23': 'Z14', 'F3': 'Z24', 'F12': 'Z28', 'F25': 'Time', 'F10': 'Z19', 'F8': 'Z26', 'F29': 'Z16', 'F21': 'Z5', 'F19': 'Z22', 'F26': 'Amount', 'F18': 'Z9', 'F17': 'Z18', 'F15': 'Z15', 'F16': 'Z17', 'F9': 'Z1', 'F30': 'Z20', 'F7': 'Z21', 'F22': 'Z13', 'F24': 'Z11', 'F11': 'Z25', 'F2': 'Z8', 'F27': 'Z27', 'F28': 'Z6'}
{'F5': 'F20', 'F4': 'F5', 'F24': 'F1', 'F3': 'F14', 'F11': 'F4', 'F8': 'F13', 'F13': 'F6', 'F15': 'F23', 'F25': 'F3', 'F29': 'F12', 'F1': 'F25', 'F20': 'F10', 'F27': 'F8', 'F17': 'F29', 'F6': 'F21', 'F23': 'F19', 'F30': 'F26', 'F10': 'F18', 'F19': 'F17', 'F16': 'F15', 'F18': 'F16', 'F2': 'F9', 'F21': 'F30', 'F22': 'F7', 'F14': 'F22', 'F12': 'F24', 'F26': 'F11', 'F9': 'F2', 'F28': 'F27', 'F7': 'F28'}
{'C1': 'C1', 'C2': 'C2'}
Not Fraud
{'C1': 'Not Fraud', 'C2': 'Fraud'}
SGDClassifier
C2
House Price Classification
The classifier's anticipated label for this case is C2 which is a decision that it is highly confident about since the predicted likelihood is 100.0%. The most important variables are F10, F6, F9, and F5, whose values lead to the aforesaid classification conclusion. Under this classification instance, examination of the attributions of the features showed that F7, F11, and F1 are the least essential features. Because majority of the case's attributes positively validate the assigned label, it's not unexpected that the classifier picked the C2. F10, F6, F5, F2, F12, and F13 are all positive variables, while F9, F4, and F8 are three contradicting variables that moderately drive the labelling judgment towards C1.
[ "0.38", "0.30", "-0.27", "0.26", "0.16", "-0.14", "0.11", "0.07", "0.07", "-0.07", "0.06", "0.03", "0.01" ]
[ "positive", "positive", "negative", "positive", "positive", "negative", "positive", "positive", "positive", "negative", "positive", "positive", "positive" ]
143
227
{'C2': '100.00%', 'C1': '0.00%'}
[ "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Summarize the direction of influence of the features (F10 and F6) on the prediction made for this test case.", "Compare the direction of impact of the features: F9, F5, F13 and F4.", "Describe the degree of impact of the following features: F2, F12 and F3?" ]
[ "F10", "F6", "F9", "F5", "F13", "F4", "F2", "F12", "F3", "F8", "F7", "F11", "F1" ]
{'F10': 'CRIM', 'F6': 'LSTAT', 'F9': 'RAD', 'F5': 'AGE', 'F13': 'CHAS', 'F4': 'DIS', 'F2': 'ZN', 'F12': 'TAX', 'F3': 'PTRATIO', 'F8': 'B', 'F7': 'RM', 'F11': 'NOX', 'F1': 'INDUS'}
{'F1': 'F10', 'F13': 'F6', 'F9': 'F9', 'F7': 'F5', 'F4': 'F13', 'F8': 'F4', 'F2': 'F2', 'F10': 'F12', 'F11': 'F3', 'F12': 'F8', 'F6': 'F7', 'F5': 'F11', 'F3': 'F1'}
{'C1': 'C2', 'C2': 'C1'}
Low
{'C2': 'Low', 'C1': 'High'}
GaussianNB
C2
Tic-Tac-Toe Strategy
The model selects C2 as the correct label with a probability of 57.58%, while the other class, C1, has a slightly lower probability of 42.42%. The most relevant attribute is F5, followed by F7, F1, F6, F8, F9, F3, F4 and finally F2, which is the least relevant. The features F8, F3, and F5 have a positive influence, increasing the probability of the classification output, while F1 has a negative attribution, swinging the model to assign C1 instead. F6, F4, F7, and F9 are some of the other negative attributes. Finally, F2 has a very small positive control over the prediction in this test case but it further increases the confidence in the label chosen for the given case.
[ "0.39", "-0.16", "-0.14", "-0.12", "-0.12", "-0.10", "0.07", "0.07", "0.02" ]
[ "positive", "negative", "negative", "negative", "negative", "negative", "positive", "positive", "positive" ]
37
214
{'C2': '57.58%', 'C1': '42.42%'}
[ "Summarize the prediction made for the test under consideration along with the likelihood of the different possible class labels.", "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Compare the direction of impact of the features: F5 (when it is equal to V2) and F1 (value equal to V1).", "Summarize the direction of influence of the features (F6 (when it is equal to V1), F4 (equal to V1), F7 (value equal to V2) and F9 (equal to V2)) with moderate impact on the prediction made for this test case.", "Provide a statement on the features with the least impact on the prediction made for this test case." ]
[ "F5", "F1", "F6", "F4", "F7", "F9", "F3", "F8", "F2" ]
{'F5': 'middle-middle-square', 'F1': 'top-left-square', 'F6': 'bottom-right-square', 'F4': ' top-right-square', 'F7': 'middle-left-square', 'F9': 'bottom-middle-square', 'F3': 'bottom-left-square', 'F8': 'middle-right-square', 'F2': 'top-middle-square'}
{'F5': 'F5', 'F1': 'F1', 'F9': 'F6', 'F3': 'F4', 'F4': 'F7', 'F8': 'F9', 'F7': 'F3', 'F6': 'F8', 'F2': 'F2'}
{'C1': 'C2', 'C2': 'C1'}
player B lose
{'C2': 'player B lose', 'C1': 'player B win'}
SGDClassifier
C1
House Price Classification
The prediction verdict here is that the most probable class label is C1. Actually, the classification algorithm indicates that there is no possibility that the correct label is C2. Majorly contributing to the above classification are F3, F7, F6, and F11, all with positive influence. It is therefore not surprising that the algorithm is confident that C1 is the right label. The other positive features considered to arrive at the decision here are F8, F9, F10, F4, and F1. According to the attribution analysis, only F2, F5, and F13 have negative contributions, which tend to attempt to swing the final verdict in favour of C2. To sum up, the joint negative influence is not enough to outweigh the positive features, hence the C1 is assigned for the given case.
[ "0.35", "0.29", "0.24", "0.22", "-0.19", "-0.16", "0.15", "0.15", "-0.11", "0.05", "0.04", "0.02", "-0.01" ]
[ "positive", "positive", "positive", "positive", "negative", "negative", "positive", "positive", "negative", "positive", "positive", "positive", "negative" ]
273
180
{'C2': '0.00%', 'C1': '100.00%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F11, F2 and F5) with moderate impact on the prediction made for this test case." ]
[ "F3", "F7", "F6", "F11", "F2", "F5", "F9", "F8", "F12", "F10", "F4", "F1", "F13" ]
{'F3': 'AGE', 'F7': 'RAD', 'F6': 'LSTAT', 'F11': 'RM', 'F2': 'DIS', 'F5': 'CHAS', 'F9': 'ZN', 'F8': 'CRIM', 'F12': 'TAX', 'F10': 'B', 'F4': 'PTRATIO', 'F1': 'INDUS', 'F13': 'NOX'}
{'F7': 'F3', 'F9': 'F7', 'F13': 'F6', 'F6': 'F11', 'F8': 'F2', 'F4': 'F5', 'F2': 'F9', 'F1': 'F8', 'F10': 'F12', 'F12': 'F10', 'F11': 'F4', 'F3': 'F1', 'F5': 'F13'}
{'C1': 'C2', 'C2': 'C1'}
High
{'C2': 'Low', 'C1': 'High'}
DecisionTreeClassifier
C1
Hotel Satisfaction
Due to the prediction probability distribution across the class labels, the labels assigned to this example is C1 with a high degree of confidence, close to 100 percent. The most significant features driving the classification above, according to the attributions of the input features, are F14, F4, F6, and F9. F10 and F2, on the other hand, are the least essential features to this prediction here. In addition, just four of the input features have a negative impact, skewing the classifier's judgement in favour of the C2 label. F10, F6, F13, and F2 are the opposing features. The contribution of the negative features, with the exception of F6, is quite modest when compared to the top positive features such as F4, F9, and F11.
[ "0.30", "-0.22", "0.14", "0.13", "0.09", "0.07", "0.06", "0.05", "0.03", "-0.03", "0.02", "0.02", "0.01", "-0.00", "-0.00" ]
[ "positive", "negative", "positive", "positive", "positive", "positive", "positive", "positive", "positive", "negative", "positive", "positive", "positive", "negative", "negative" ]
190
212
{'C2': '0.00%', 'C1': '100.00%'}
[ "Provide a statement summarizing the prediction made for the test case.", "For the current test instance, describe the direction of influence of the following features: F14, F6, F9, F4 and F11.", "Compare and contrast the impact of the following features (F3, F1 and F12) on the model’s prediction of C1.", "Describe the degree of impact of the following features: F7, F13 and F5?" ]
[ "F14", "F6", "F9", "F4", "F11", "F3", "F1", "F12", "F7", "F13", "F5", "F8", "F15", "F10", "F2" ]
{'F14': 'Type of Travel', 'F6': 'Hotel wifi service', 'F9': 'Other service', 'F4': 'Type Of Booking', 'F11': 'Checkin\\/Checkout service', 'F3': 'Age', 'F1': 'purpose_of_travel', 'F12': 'Common Room entertainment', 'F7': 'Food and drink', 'F13': 'Stay comfort', 'F5': 'Hotel location', 'F8': 'Departure\\/Arrival convenience', 'F15': 'Gender', 'F10': 'Ease of Online booking', 'F2': 'Cleanliness'}
{'F3': 'F14', 'F6': 'F6', 'F14': 'F9', 'F4': 'F4', 'F13': 'F11', 'F5': 'F3', 'F2': 'F1', 'F12': 'F12', 'F10': 'F7', 'F11': 'F13', 'F9': 'F5', 'F7': 'F8', 'F1': 'F15', 'F8': 'F10', 'F15': 'F2'}
{'C1': 'C2', 'C2': 'C1'}
satisfied
{'C2': 'dissatisfied', 'C1': 'satisfied'}
RandomForestClassifier
C1
Student Job Placement
The classification algorithm predicts that the data sample given should be classified as C1 with a probability of 76.06%, but it also finds that there is a 23.94% probability that the correct label will be C2. The positive influence of the F6, F11, F8, and F9 features on the algorithm supports the C1 class tasks. F10 and F3 are features with little positive influence on the classification decision for a particular case. F5 and F12, in contrast, has a small negative impact on the output decision that result in the reduction in the likelihood of C1 hence can be said to favour labelling the case as C2. F1 and F4 had only a minor positive impact on the final labelling decision and finally F7 was shown to have zero effect on the algorithm in this case.
[ "0.26", "0.19", "0.11", "0.09", "0.07", "-0.02", "0.01", "0.01", "-0.01", "0.01", "0.00", "-0.00" ]
[ "positive", "positive", "positive", "positive", "positive", "negative", "positive", "positive", "negative", "positive", "positive", "negative" ]
19
310
{'C1': '76.06%', 'C2': '23.94%'}
[ "Provide a statement summarizing the prediction made for the test case.", "For the current test instance, describe the direction of influence of the following features: F6, F11, F8 (with a value equal to V0) and F9 (equal to V1).", "Compare and contrast the impact of the following features (F10 (with a value equal to V0), F5 (equal to V2) and F3) on the model’s prediction of C1.", "Describe the degree of impact of the following features: F4, F12 (equal to V0) and F1 (with a value equal to V0)?" ]
[ "F6", "F11", "F8", "F9", "F10", "F5", "F3", "F4", "F12", "F1", "F2", "F7" ]
{'F6': 'ssc_p', 'F11': 'hsc_p', 'F8': 'workex', 'F9': 'specialisation', 'F10': 'gender', 'F5': 'hsc_s', 'F3': 'degree_p', 'F4': 'etest_p', 'F12': 'degree_t', 'F1': 'ssc_b', 'F2': 'hsc_b', 'F7': 'mba_p'}
{'F1': 'F6', 'F2': 'F11', 'F11': 'F8', 'F12': 'F9', 'F6': 'F10', 'F9': 'F5', 'F3': 'F3', 'F4': 'F4', 'F10': 'F12', 'F7': 'F1', 'F8': 'F2', 'F5': 'F7'}
{'C1': 'C1', 'C2': 'C2'}
Not Placed
{'C1': 'Not Placed', 'C2': 'Placed'}
KNeighborsClassifier
C1
Credit Risk Classification
According to the model, there is a higher chance that the case's label is C1. This prediction decision is based primarily on the attribution of the following features: F3, F9, F4, and F5. Aside from F5, all the other features listed above have a strong positive influence, increasing the probability of the predicted class C1. Similar to F5, the values of features F10, F6, and F8 suggest the other label, C2, could be the correct label. However, unlike F3, F9, and F4, each of the negative features has a moderate contribution to the final decision. The remaining features F1, F2, and F11 are shown to have marginal contributions to the model's decision for this case, and F7 was ranked as the least important feature. In summary, with strong positive attributions from F3, F9, F4, and F1, the model is very certain about the classification verdict, with a certainty of 100.0%.
[ "0.09", "0.03", "0.02", "-0.02", "-0.02", "-0.02", "-0.01", "0.01", "-0.01", "-0.01", "0.00" ]
[ "positive", "positive", "positive", "negative", "negative", "negative", "negative", "positive", "negative", "negative", "positive" ]
115
52
{'C1': '100.00%', 'C2': '0.00%'}
[ "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Summarize the direction of influence of the features (F3, F9, F4 and F5) on the prediction made for this test case.", "Compare the direction of impact of the features: F10, F6 and F8.", "Describe the degree of impact of the following features: F1, F2 and F11?" ]
[ "F3", "F9", "F4", "F5", "F10", "F6", "F8", "F1", "F2", "F11", "F7" ]
{'F3': 'fea_4', 'F9': 'fea_8', 'F4': 'fea_2', 'F5': 'fea_9', 'F10': 'fea_6', 'F6': 'fea_10', 'F8': 'fea_1', 'F1': 'fea_7', 'F2': 'fea_11', 'F11': 'fea_3', 'F7': 'fea_5'}
{'F4': 'F3', 'F8': 'F9', 'F2': 'F4', 'F9': 'F5', 'F6': 'F10', 'F10': 'F6', 'F1': 'F8', 'F7': 'F1', 'F11': 'F2', 'F3': 'F11', 'F5': 'F7'}
{'C1': 'C1', 'C2': 'C2'}
Low
{'C1': 'Low', 'C2': 'High'}
KNeighborsClassifier
C2
Company Bankruptcy Prediction
For the case under consideration, the model's output labelling decision is as follows: there is no possibility that C1 is the label for the given case, C2 is the most likely class label, with a confidence level close of 100.0%. The values of the input features, F27, F74, F84, F79, F72, F45, and F42, are the main driving forces resulting in the above classification. The features with moderate influence on the decision here are F40, F52, F11, F20, F38, F56, F6, F25, F55, F47, F46, F75, and F1. Apart from all the abovementioned input features, all the remaining ones, such as F23, F34, F85, and F57, are shown to be irrelevant to the decision made here. Also per the attribution analysis, not all the influential features support labelling the given case as C2, and these are referred to as negative features since they reduce the probability that C2 is the right label here and these are F42, F52, F46, F75, and F1. The notable positive features increasing the probability that C2 is the right label are F27, F74, F84, and F79.
[ "0.03", "0.02", "0.02", "0.02", "0.02", "-0.02", "0.02", "0.02", "-0.02", "0.01", "0.01", "0.01", "0.01", "0.01", "0.01", "0.01", "0.01", "-0.01", "-0.01", "-0.01", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00" ]
[ "positive", "positive", "positive", "positive", "positive", "negative", "positive", "positive", "negative", "positive", "positive", "positive", "positive", "positive", "positive", "positive", "positive", "negative", "negative", "negative", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible" ]
423
201
{'C2': '100.00%', 'C1': '0.00%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F72, F42 and F45) with moderate impact on the prediction made for this test case." ]
[ "F27", "F74", "F84", "F79", "F72", "F42", "F45", "F40", "F52", "F11", "F38", "F20", "F56", "F6", "F25", "F55", "F47", "F46", "F75", "F1", "F23", "F34", "F85", "F57", "F54", "F37", "F92", "F43", "F91", "F12", "F81", "F77", "F7", "F48", "F4", "F65", "F18", "F93", "F63", "F24", "F44", "F71", "F90", "F22", "F21", "F15", "F35", "F33", "F5", "F53", "F50", "F36", "F10", "F59", "F60", "F32", "F70", "F16", "F17", "F89", "F80", "F3", "F64", "F19", "F14", "F41", "F87", "F13", "F58", "F76", "F26", "F2", "F49", "F86", "F39", "F51", "F62", "F31", "F73", "F28", "F66", "F82", "F8", "F83", "F68", "F30", "F69", "F88", "F61", "F67", "F29", "F78", "F9" ]
{'F27': ' Interest Coverage Ratio (Interest expense to EBIT)', 'F74': ' Net Income to Total Assets', 'F84': ' Realized Sales Gross Profit Growth Rate', 'F79': ' Accounts Receivable Turnover', 'F72': ' Operating Expense Rate', 'F42': ' Contingent liabilities\\/Net worth', 'F45': ' Non-industry income and expenditure\\/revenue', 'F40': ' Current Ratio', 'F52': ' Cash Flow to Liability', 'F11': ' Fixed Assets Turnover Frequency', 'F38': ' Regular Net Profit Growth Rate', 'F20': ' Quick Asset Turnover Rate', 'F56': ' Net Value Per Share (C)', 'F6': ' Operating Profit Growth Rate', 'F25': ' After-tax Net Profit Growth Rate', 'F55': ' Continuous Net Profit Growth Rate', 'F47': ' Net Value Per Share (B)', 'F46': ' Equity to Long-term Liability', 'F75': ' CFO to Assets', 'F1': ' Total debt\\/Total net worth', 'F23': ' Current Asset Turnover Rate', 'F34': " Net Income to Stockholder's Equity", 'F85': ' Operating Gross Margin', 'F57': ' Operating Profit Per Share (Yuan ¥)', 'F54': ' Operating Profit Rate', 'F37': ' Cash Flow Per Share', 'F92': ' Total income\\/Total expense', 'F43': ' No-credit Interval', 'F91': ' Liability to Equity', 'F12': ' Working Capital to Total Assets', 'F81': ' Working Capital\\/Equity', 'F77': ' Long-term Liability to Current Assets', 'F7': ' Interest-bearing debt interest rate', 'F48': ' Inventory and accounts receivable\\/Net value', 'F4': ' Realized Sales Gross Margin', 'F65': ' Current Liability to Equity', 'F18': ' Equity to Liability', 'F93': ' Current Liability to Liability', 'F63': ' Operating profit\\/Paid-in capital', 'F24': ' Operating Funds to Liability', 'F44': ' Current Liability to Current Assets', 'F71': ' Net worth\\/Assets', 'F90': ' Tax rate (A)', 'F22': ' Quick Assets\\/Current Liability', 'F21': ' After-tax net Interest Rate', 'F15': ' Per Share Net profit before tax (Yuan ¥)', 'F35': ' Total Asset Turnover', 'F33': ' Cash Reinvestment %', 'F5': ' Fixed Assets to Assets', 'F53': ' Working capitcal Turnover Rate', 'F50': ' Net profit before tax\\/Paid-in capital', 'F36': ' Net Worth Turnover Rate (times)', 'F10': ' Debt ratio %', 'F59': ' Cash Flow to Equity', 'F60': ' Long-term fund suitability ratio (A)', 'F32': ' Cash Flow to Sales', 'F70': ' Total Asset Growth Rate', 'F16': ' Inventory\\/Current Liability', 'F17': ' Allocation rate per person', 'F89': ' Inventory Turnover Rate (times)', 'F80': ' Operating profit per person', 'F3': ' Net Value Growth Rate', 'F64': ' Interest Expense Ratio', 'F19': ' ROA(B) before interest and depreciation after tax', 'F14': ' Continuous interest rate (after tax)', 'F41': ' Inventory\\/Working Capital', 'F87': ' Retained Earnings to Total Assets', 'F13': ' Total assets to GNP price', 'F58': ' Persistent EPS in the Last Four Seasons', 'F76': ' Quick Ratio', 'F26': ' Revenue per person', 'F2': ' Borrowing dependency', 'F49': ' Cash\\/Total Assets', 'F86': ' ROA(A) before interest and % after tax', 'F39': ' ROA(C) before interest and depreciation before interest', 'F51': ' Average Collection Days', 'F62': ' Current Liabilities\\/Liability', 'F31': ' Cash Flow to Total Assets', 'F73': ' Pre-tax net Interest Rate', 'F28': ' Current Liability to Assets', 'F66': ' Quick Assets\\/Total Assets', 'F82': ' Total expense\\/Assets', 'F8': ' Net Value Per Share (A)', 'F83': ' Current Assets\\/Total Assets', 'F68': ' Research and development expense rate', 'F30': ' Current Liabilities\\/Equity', 'F69': ' Cash flow rate', 'F88': ' Total Asset Return Growth Rate Ratio', 'F61': ' Degree of Financial Leverage (DFL)', 'F67': ' Cash Turnover Rate', 'F29': ' Cash\\/Current Liability', 'F78': ' Revenue Per Share (Yuan ¥)', 'F9': ' Gross Profit to Sales'}
{'F60': 'F27', 'F16': 'F74', 'F38': 'F84', 'F2': 'F79', 'F19': 'F72', 'F64': 'F42', 'F4': 'F45', 'F82': 'F40', 'F50': 'F52', 'F22': 'F11', 'F85': 'F38', 'F33': 'F20', 'F88': 'F56', 'F43': 'F6', 'F80': 'F25', 'F54': 'F55', 'F27': 'F47', 'F23': 'F46', 'F76': 'F75', 'F7': 'F1', 'F61': 'F23', 'F59': 'F34', 'F62': 'F85', 'F63': 'F57', 'F58': 'F54', 'F65': 'F37', 'F57': 'F92', 'F56': 'F43', 'F66': 'F91', 'F67': 'F12', 'F68': 'F81', 'F69': 'F77', 'F1': 'F7', 'F70': 'F48', 'F83': 'F4', 'F92': 'F65', 'F91': 'F18', 'F90': 'F93', 'F89': 'F63', 'F87': 'F24', 'F86': 'F44', 'F84': 'F71', 'F81': 'F90', 'F71': 'F22', 'F79': 'F21', 'F78': 'F15', 'F77': 'F35', 'F75': 'F33', 'F74': 'F5', 'F73': 'F53', 'F72': 'F50', 'F55': 'F36', 'F47': 'F10', 'F53': 'F59', 'F52': 'F60', 'F25': 'F32', 'F24': 'F70', 'F21': 'F16', 'F20': 'F17', 'F18': 'F89', 'F17': 'F80', 'F15': 'F3', 'F14': 'F64', 'F13': 'F19', 'F12': 'F14', 'F11': 'F41', 'F10': 'F87', 'F9': 'F13', 'F8': 'F58', 'F6': 'F76', 'F5': 'F26', 'F3': 'F2', 'F26': 'F49', 'F28': 'F86', 'F29': 'F39', 'F41': 'F51', 'F51': 'F62', 'F49': 'F31', 'F48': 'F73', 'F46': 'F28', 'F45': 'F66', 'F44': 'F82', 'F42': 'F8', 'F40': 'F83', 'F30': 'F68', 'F39': 'F30', 'F37': 'F69', 'F36': 'F88', 'F35': 'F61', 'F34': 'F67', 'F32': 'F29', 'F31': 'F78', 'F93': 'F9'}
{'C1': 'C2', 'C2': 'C1'}
No
{'C2': 'No', 'C1': 'Yes'}
KNeighborsClassifier
C1
Wine Quality Prediction
Based on the influence of features such as F10, F3, F9, and F1, the classifier is pretty confident that the correct label for the given data is C1, whilst, there is a 10.0% probability that the proper label could be C2. The majority of the features have positive contributions, while only F1, F11, and F8 are the negative features, decreasing the classifier's response towards choosing C1. The notal positive features that increase the classifier's response higher towards label C1 instead of C2 include F10, F3, F4, F2, F7, and F9. Taking into consideration the attributions of the input features, we can attribute the classifier's confidence associated with this prediction to the fact that the negative features only have a moderate impact on the classifier's decision for the given data.
[ "0.13", "0.08", "0.07", "-0.03", "0.03", "0.03", "0.01", "0.01", "-0.01", "0.01", "-0.01" ]
[ "positive", "positive", "positive", "negative", "positive", "positive", "positive", "positive", "negative", "positive", "negative" ]
234
140
{'C2': '10.00%', 'C1': '90.00%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F9, F1, F4 and F2) with moderate impact on the prediction made for this test case." ]
[ "F10", "F3", "F9", "F1", "F4", "F2", "F7", "F6", "F11", "F5", "F8" ]
{'F10': 'sulphates', 'F3': 'total sulfur dioxide', 'F9': 'volatile acidity', 'F1': 'residual sugar', 'F4': 'citric acid', 'F2': 'chlorides', 'F7': 'alcohol', 'F6': 'fixed acidity', 'F11': 'density', 'F5': 'pH', 'F8': 'free sulfur dioxide'}
{'F10': 'F10', 'F7': 'F3', 'F2': 'F9', 'F4': 'F1', 'F3': 'F4', 'F5': 'F2', 'F11': 'F7', 'F1': 'F6', 'F8': 'F11', 'F9': 'F5', 'F6': 'F8'}
{'C1': 'C2', 'C2': 'C1'}
high quality
{'C2': 'low_quality', 'C1': 'high quality'}
LogisticRegression
C2
Music Concert Attendance
The model's prediction for this test case is C2 with an almost 100% confidence level which implies that the likelihood of it being a different class label is closer to 0%. Among the top influential feature-set, F10 has a value shifting the label choice in favour of C1, while the others, F11, F5, and F18, all have a positive impact supporting the decision made by the model to assign the label C2. Other features with positive support or impact on the prediction made include F12, F14, F1, and F2. However, F7, F13, F3, and F15 are the other negatives shifting the prediction decision in the direction of the alternative class label. TO sum up, the positive features clearly outweigh the negative features interms of their contributions, hence the confidence level in the classification output.
[ "0.28", "0.26", "-0.24", "0.07", "0.05", "0.04", "-0.04", "-0.04", "-0.03", "0.03", "-0.03", "0.03", "-0.03", "-0.03", "0.02", "-0.02", "0.01", "-0.01", "-0.01", "0.00" ]
[ "positive", "positive", "negative", "positive", "positive", "positive", "negative", "negative", "negative", "positive", "negative", "positive", "negative", "negative", "positive", "negative", "positive", "negative", "negative", "positive" ]
71
422
{'C2': '98.44%', 'C1': '1.56%'}
[ "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Summarize the direction of influence of the features (F11, F5, F10, F18 and F2) on the prediction made for this test case.", "Compare the direction of impact of the features: F12, F7 and F15.", "Describe the degree of impact of the following features: F13, F14 and F3?" ]
[ "F11", "F5", "F10", "F18", "F2", "F12", "F7", "F15", "F13", "F14", "F3", "F1", "F20", "F16", "F9", "F6", "F8", "F19", "F17", "F4" ]
{'F11': 'X6', 'F5': 'X11', 'F10': 'X1', 'F18': 'X13', 'F2': 'X2', 'F12': 'X8', 'F7': 'X10', 'F15': 'X14', 'F13': 'X4', 'F14': 'X3', 'F3': 'X9', 'F1': 'X16', 'F20': 'X18', 'F16': 'X7', 'F9': 'X19', 'F6': 'X5', 'F8': 'X17', 'F19': 'X15', 'F17': 'X12', 'F4': 'X20'}
{'F6': 'F11', 'F11': 'F5', 'F1': 'F10', 'F13': 'F18', 'F2': 'F2', 'F8': 'F12', 'F10': 'F7', 'F14': 'F15', 'F4': 'F13', 'F3': 'F14', 'F9': 'F3', 'F16': 'F1', 'F18': 'F20', 'F7': 'F16', 'F19': 'F9', 'F5': 'F6', 'F17': 'F8', 'F15': 'F19', 'F12': 'F17', 'F20': 'F4'}
{'C1': 'C2', 'C2': 'C1'}
< 10k
{'C2': '< 10k', 'C1': '> 10k'}
MLPClassifier
C1
Ethereum Fraud Detection
The classification verdict for the selected case is C1, and the model is very certain about that considering the prediction probabilities across the possible classes. The top variables influencing this decision are F24, F7, F6, F38, and F11. Other variables that are regarded as somewhat important are F19, F26, F14, F18, F37, F4, F28, F25, F3, F22, F21, F30, F8, F15, and F34. Among the top variables, F24 and F7 decrease the prediction response; therefore, they are pushing the verdict toward C2. Similar to these features, F19, F26, and F37 negatively support assigning C1 to the case. Positively supporting the predicted label are the features F6, F38, F11, and F14. Unlike all the features mentioned above, the values of the remaining features such as F23, F17, F32, and F13, are unessential when determining the correct label for this case.
[ "-0.14", "-0.10", "0.08", "0.07", "0.07", "-0.07", "-0.06", "0.06", "0.06", "-0.06", "0.05", "0.05", "-0.03", "0.02", "0.02", "-0.02", "-0.02", "-0.01", "-0.01", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00" ]
[ "negative", "negative", "positive", "positive", "positive", "negative", "negative", "positive", "positive", "negative", "positive", "positive", "negative", "positive", "positive", "negative", "negative", "negative", "negative", "positive", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible" ]
166
92
{'C1': '100.00%', 'C2': '0.00%'}
[ "Summarize the prediction for the given test example?", "For this test case, summarize the top features influencing the model's decision.", "For these top features, what are the respective directions of influence on the prediction?", "Provide a statement on the set of features has limited impact on the prediction of C1 by the model for the given test example?" ]
[ "F24", "F7", "F6", "F38", "F11", "F19", "F26", "F14", "F18", "F37", "F4", "F28", "F25", "F3", "F22", "F21", "F30", "F8", "F34", "F15", "F23", "F17", "F32", "F13", "F35", "F29", "F2", "F9", "F10", "F16", "F12", "F36", "F33", "F20", "F31", "F1", "F5", "F27" ]
{'F24': 'Unique Received From Addresses', 'F7': ' ERC20 total Ether sent contract', 'F6': 'total ether received', 'F38': 'Number of Created Contracts', 'F11': 'Sent tnx', 'F19': ' ERC20 uniq rec token name', 'F26': ' ERC20 uniq rec contract addr', 'F14': 'max value received ', 'F18': 'total transactions (including tnx to create contract', 'F37': ' ERC20 uniq sent addr.1', 'F4': ' ERC20 uniq sent addr', 'F28': 'Received Tnx', 'F25': ' ERC20 uniq rec addr', 'F3': 'avg val sent', 'F22': 'min value received', 'F21': 'Unique Sent To Addresses', 'F30': ' ERC20 uniq sent token name', 'F8': ' Total ERC20 tnxs', 'F34': 'Time Diff between first and last (Mins)', 'F15': 'Avg min between received tnx', 'F23': 'total Ether sent', 'F17': 'min val sent', 'F32': 'avg val received', 'F13': ' ERC20 avg val sent', 'F35': ' ERC20 max val sent', 'F29': ' ERC20 min val sent', 'F2': ' ERC20 avg val rec', 'F9': ' ERC20 max val rec', 'F10': ' ERC20 min val rec', 'F16': 'max val sent', 'F12': 'min value sent to contract', 'F36': 'max val sent to contract', 'F33': ' ERC20 total ether sent', 'F20': ' ERC20 total Ether received', 'F31': 'avg value sent to contract', 'F1': 'total ether balance', 'F5': 'total ether sent contracts', 'F27': 'Avg min between sent tnx'}
{'F7': 'F24', 'F26': 'F7', 'F20': 'F6', 'F6': 'F38', 'F4': 'F11', 'F38': 'F19', 'F30': 'F26', 'F10': 'F14', 'F18': 'F18', 'F29': 'F37', 'F27': 'F4', 'F5': 'F28', 'F28': 'F25', 'F14': 'F3', 'F9': 'F22', 'F8': 'F21', 'F37': 'F30', 'F23': 'F8', 'F3': 'F34', 'F2': 'F15', 'F19': 'F23', 'F12': 'F17', 'F11': 'F32', 'F36': 'F13', 'F35': 'F35', 'F34': 'F29', 'F33': 'F2', 'F32': 'F9', 'F31': 'F10', 'F13': 'F16', 'F15': 'F12', 'F16': 'F36', 'F25': 'F33', 'F24': 'F20', 'F17': 'F31', 'F22': 'F1', 'F21': 'F5', 'F1': 'F27'}
{'C1': 'C1', 'C2': 'C2'}
Not Fraud
{'C1': 'Not Fraud', 'C2': 'Fraud'}
LogisticRegression
C1
Employee Promotion Prediction
Classifying the given case based on the values of its features, C1 is the best label for the given case since its prediction probability is 99.45%, while C2's is just 0.55 percent. The most relevant factors for the classification or prediction declaration above are F2, F8, and F4, whereas the least influential factors are F3, F1, F10, and F7. The other factors' influence can be described as modest and after further inspecting the direction of effect of the factors, F2, F8, F5, F10, and F7 all contribute positively to giving the label C1. These are the favourable factors that raise the likelihood of C1 being the correct designation, however, F4, F9, and F6 are mostly responsible for minimising the chances of C1 and promoting C2.
[ "0.54", "0.13", "-0.13", "-0.04", "0.03", "-0.03", "-0.02", "-0.01", "-0.01", "0.01", "0.01" ]
[ "positive", "positive", "negative", "negative", "positive", "negative", "negative", "negative", "negative", "positive", "positive" ]
236
327
{'C2': '0.55%', 'C1': '99.45%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F1, F10 and F7?" ]
[ "F2", "F8", "F4", "F9", "F5", "F6", "F11", "F3", "F1", "F10", "F7" ]
{'F2': 'avg_training_score', 'F8': 'KPIs_met >80%', 'F4': 'department', 'F9': 'age', 'F5': 'no_of_trainings', 'F6': 'recruitment_channel', 'F11': 'previous_year_rating', 'F3': 'length_of_service', 'F1': 'education', 'F10': 'region', 'F7': 'gender'}
{'F11': 'F2', 'F10': 'F8', 'F1': 'F4', 'F7': 'F9', 'F6': 'F5', 'F5': 'F6', 'F8': 'F11', 'F9': 'F3', 'F3': 'F1', 'F2': 'F10', 'F4': 'F7'}
{'C1': 'C2', 'C2': 'C1'}
Promote
{'C2': 'Ignore', 'C1': 'Promote'}
LogisticRegression
C2
Concrete Strength Classification
Per the predicted likelihoods across the classes, the model predicts label C2 in this case with a high confidence level. Features F4, F5, F1, and F7 are all driving the model towards the C2 classification, with feature F4 being the strongest driver and F7 being the weak driver among the above mentioned set of features. Features F8 and F6 have moderate negative impact on the C2 classification, while feature F2 has a strong positive impact. Finally, feature F3 has a very weak negative impact on the C2 classification decision driving the model towards assigning C1 to the case here.
[ "0.15", "0.13", "0.13", "0.08", "0.08", "-0.02", "-0.02", "-0.01" ]
[ "positive", "positive", "positive", "positive", "positive", "negative", "negative", "negative" ]
23
9
{'C2': '90.65%', 'C1': '9.35%'}
[ "Provide a statement summarizing the prediction made for the test case.", "For the current test instance, describe the direction of influence of the following features: F4, F5, F1 and F7.", "Compare and contrast the impact of the following features (F2, F8 and F6) on the model’s prediction of C2.", "Describe the degree of impact of the following features: F3?" ]
[ "F4", "F5", "F1", "F7", "F2", "F8", "F6", "F3" ]
{'F4': 'water', 'F5': 'cement', 'F1': 'age_days', 'F7': 'flyash', 'F2': 'superplasticizer', 'F8': 'coarseaggregate', 'F6': 'fineaggregate', 'F3': 'slag'}
{'F4': 'F4', 'F1': 'F5', 'F8': 'F1', 'F3': 'F7', 'F5': 'F2', 'F6': 'F8', 'F7': 'F6', 'F2': 'F3'}
{'C1': 'C2', 'C2': 'C1'}
Weak
{'C2': 'Weak', 'C1': 'Strong'}
KNeighborsClassifier
C1
E-Commerce Shipping
The classifier is very uncertain about the correct class for this example and this is because both classes are shown to be equally likely. The above prediction conclusion is mainly based on the influence of the top input features F1, F7, and F4, while F2, F6, and F5 have less influence on the classifier when classifying the given case. When the direction of influence or contribution of each input feature is examined, only F7, F7, F2, and F5 are revealed to have a positive contribution, improving the classifier's affinity to produce the label C1. The remaining features, F4, F1, F8, F9, F3, and F6 have a negative influence and contribution to the final decision.
[ "-0.12", "0.11", "-0.04", "-0.04", "-0.03", "-0.02", "0.02", "0.01", "-0.01", "0.01" ]
[ "negative", "positive", "negative", "negative", "negative", "negative", "positive", "positive", "negative", "positive" ]
203
257
{'C1': '50.00%', 'C2': '50.00%'}
[ "Summarize the prediction for the given test example?", "For this test case, summarize the top features influencing the model's decision.", "For these top features, what are the respective directions of influence on the prediction?", "Provide a statement on the set of features has limited impact on the prediction of C1 by the model for the given test example?" ]
[ "F1", "F7", "F4", "F8", "F9", "F3", "F10", "F2", "F6", "F5" ]
{'F1': 'Discount_offered', 'F7': 'Weight_in_gms', 'F4': 'Prior_purchases', 'F8': 'Customer_care_calls', 'F9': 'Product_importance', 'F3': 'Mode_of_Shipment', 'F10': 'Warehouse_block', 'F2': 'Cost_of_the_Product', 'F6': 'Customer_rating', 'F5': 'Gender'}
{'F2': 'F1', 'F3': 'F7', 'F8': 'F4', 'F6': 'F8', 'F9': 'F9', 'F5': 'F3', 'F4': 'F10', 'F1': 'F2', 'F7': 'F6', 'F10': 'F5'}
{'C1': 'C1', 'C2': 'C2'}
On-time
{'C1': 'On-time', 'C2': 'Late'}
LogisticRegression
C1
Airline Passenger Satisfaction
C1 is the label assigned to this data instance based on the fact that C2 is shown to be very unlikely, with a prediction probability of only 0.68%. The variables most relevant to increasing the probability of the prediction here are F2, F14, F20, and F22. Other positive features that increase the chances of predicting C1 are F6, F3, and F19, however, unlike F20, F14, F2, and F22, these have only moderate contributions to the model's classification decision for this instance. In contrast, F15 is the only top-ranked feature that led the model to classify towards C2, while other negative features with a moderately low contribution included F11, F1, F7, and F12. The least relevant features are F21, F8, F18, and F9, with a very low influence on the C1 prediction, however, unlike these features, F16 and F13 are shown to have no impact, since their attributions are very close to zero, when determining the correct label for the case under consideration. Finally, F13 and F16, according to the attribution analysis have no impact on the classification decision here.
[ "0.38", "-0.32", "0.11", "0.09", "0.08", "-0.07", "-0.07", "-0.06", "-0.06", "0.05", "0.05", "0.04", "0.04", "-0.04", "-0.04", "-0.03", "0.03", "0.03", "-0.02", "-0.02", "0.00", "0.00" ]
[ "positive", "negative", "positive", "positive", "positive", "negative", "negative", "negative", "negative", "positive", "positive", "positive", "positive", "negative", "negative", "negative", "positive", "positive", "negative", "negative", "negligible", "negligible" ]
162
288
{'C1': '99.32%', 'C2': '0.68%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F14, F22, F2 and F7) with moderate impact on the prediction made for this test case." ]
[ "F20", "F15", "F14", "F22", "F2", "F7", "F12", "F11", "F1", "F6", "F3", "F19", "F5", "F17", "F4", "F10", "F21", "F8", "F18", "F9", "F16", "F13" ]
{'F20': 'Type of Travel', 'F15': 'Customer Type', 'F14': 'Inflight entertainment', 'F22': 'Inflight wifi service', 'F2': 'Departure\\/Arrival time convenient', 'F7': 'Gate location', 'F12': 'Arrival Delay in Minutes', 'F11': 'Seat comfort', 'F1': 'Online boarding', 'F6': 'Ease of Online booking', 'F3': 'Class', 'F19': 'Age', 'F5': 'On-board service', 'F17': 'Cleanliness', 'F4': 'Checkin service', 'F10': 'Inflight service', 'F21': 'Food and drink', 'F8': 'Departure Delay in Minutes', 'F18': 'Baggage handling', 'F9': 'Gender', 'F16': 'Flight Distance', 'F13': 'Leg room service'}
{'F4': 'F20', 'F2': 'F15', 'F14': 'F14', 'F7': 'F22', 'F8': 'F2', 'F10': 'F7', 'F22': 'F12', 'F13': 'F11', 'F12': 'F1', 'F9': 'F6', 'F5': 'F3', 'F3': 'F19', 'F15': 'F5', 'F20': 'F17', 'F18': 'F4', 'F19': 'F10', 'F11': 'F21', 'F21': 'F8', 'F17': 'F18', 'F1': 'F9', 'F6': 'F16', 'F16': 'F13'}
{'C1': 'C1', 'C2': 'C2'}
neutral or dissatisfied
{'C1': 'neutral or dissatisfied', 'C2': 'satisfied'}
BernoulliNB
C1
Customer Churn Modelling
C1 is the class assigned to this case or instance. However, according to the classifier, there is a 5.75% chance that the other label, C2, is the correct one. The labelling decision above is mainly due to the values F2, F6, and F3. F8 and F5 are the least ranked features since they have marginal attributions. F6, F1, F9, and F2 have values, increasing the odds of C1 being the correct label and these four features are commonly known as positive variables given that they support the classifier's output decision for the given case. The remaining variables had negative attributions, driving the classification decision towards label C2 and the most negative variables are F3, F7, and F10.
[ "0.22", "0.17", "-0.14", "-0.14", "-0.12", "-0.02", "0.02", "0.01", "-0.01", "-0.00" ]
[ "positive", "positive", "negative", "negative", "negative", "negative", "positive", "positive", "negative", "negative" ]
172
96
{'C1': '94.25%', 'C2': '5.75%'}
[ "Provide a statement summarizing the prediction made for the test case.", "For the current test instance, describe the direction of influence of the following features: F2 and F6.", "Compare and contrast the impact of the following features (F3, F7, F10 and F4) on the model’s prediction of C1.", "Describe the degree of impact of the following features: F1, F9, F8 and F5?" ]
[ "F2", "F6", "F3", "F7", "F10", "F4", "F1", "F9", "F8", "F5" ]
{'F2': 'IsActiveMember', 'F6': 'NumOfProducts', 'F3': 'Gender', 'F7': 'Geography', 'F10': 'Age', 'F4': 'CreditScore', 'F1': 'EstimatedSalary', 'F9': 'Balance', 'F8': 'HasCrCard', 'F5': 'Tenure'}
{'F9': 'F2', 'F7': 'F6', 'F3': 'F3', 'F2': 'F7', 'F4': 'F10', 'F1': 'F4', 'F10': 'F1', 'F6': 'F9', 'F8': 'F8', 'F5': 'F5'}
{'C1': 'C1', 'C2': 'C2'}
Stay
{'C1': 'Stay', 'C2': 'Leave'}
LogisticRegression
C2
Real Estate Investment
The model predicts the class label of this test case or instance as C2 and it is quite confident in the above prediction decision considering the predicted confidence level. The above prediction decision was made primarily based on the values of the following features: F6, F8, F3, and F18. The top features, F6 and F8, positively contribute to the final prediction of C2. Besides, F18 also has a positive impact, pushing the model to output C2. However, the value of F3 supports the prediction of the alternative label, C1. However, compared to F6 and F8, the influence of F3 is very small. The features with moderate influence or impact on the prediction made for this test case are F14, F16, and F1. While F14 moderately supports the C2 prediction, F16 and F1 have values, pushing the model toward predicting C1.
[ "0.45", "0.25", "-0.12", "0.11", "-0.03", "-0.03", "0.03", "-0.03", "-0.02", "0.02", "-0.01", "-0.01", "0.01", "-0.01", "0.01", "-0.01", "0.00", "0.00", "0.00", "-0.00" ]
[ "positive", "positive", "negative", "positive", "negative", "negative", "positive", "negative", "negative", "positive", "negative", "negative", "positive", "negative", "positive", "negative", "positive", "positive", "positive", "negative" ]
77
27
{'C1': '2.40%', 'C2': '97.60%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F14, F16 and F1 (equal to V0)?" ]
[ "F6", "F8", "F3", "F18", "F19", "F5", "F14", "F16", "F1", "F17", "F20", "F9", "F2", "F12", "F10", "F11", "F4", "F7", "F13", "F15" ]
{'F6': 'Feature7', 'F8': 'Feature4', 'F3': 'Feature2', 'F18': 'Feature14', 'F19': 'Feature15', 'F5': 'Feature8', 'F14': 'Feature20', 'F16': 'Feature1', 'F1': 'Feature17', 'F17': 'Feature3', 'F20': 'Feature16', 'F9': 'Feature18', 'F2': 'Feature10', 'F12': 'Feature5', 'F10': 'Feature6', 'F11': 'Feature12', 'F4': 'Feature19', 'F7': 'Feature13', 'F13': 'Feature9', 'F15': 'Feature11'}
{'F11': 'F6', 'F9': 'F8', 'F1': 'F3', 'F17': 'F18', 'F4': 'F19', 'F3': 'F5', 'F20': 'F14', 'F7': 'F16', 'F6': 'F1', 'F8': 'F17', 'F18': 'F20', 'F19': 'F9', 'F13': 'F2', 'F2': 'F12', 'F10': 'F10', 'F15': 'F11', 'F5': 'F4', 'F16': 'F7', 'F12': 'F13', 'F14': 'F15'}
{'C1': 'C1', 'C2': 'C2'}
Invest
{'C1': 'Ignore', 'C2': 'Invest'}
DecisionTreeClassifier
C2
Concrete Strength Classification
The case is labelled as C2 by the classification model, and according to the model, there is little to no chance that the correct label could be C1. Per the feature attribution inspection, F8 and F5 are the least influential features. The classification decision to label this case as C2 is mainly due to the positive contributions of F3, F7, and F4. However, the strong negative influence of F6 indicates that the true label could be C1, but since the likelihood of C1 is 0.0%, we can say that the positive features successfully drive the decision in favour of the C2 label. F2, F1, and F5 are the other negative features that unsuccessfully attempt to shift the decision in favour of C1. From the attribution analysis and the predicted likelihoods across the classes, we can conclude that the model is certain that C1 is not the true label.
[ "-0.32", "0.30", "0.16", "0.10", "-0.07", "-0.03", "0.03", "-0.02" ]
[ "negative", "positive", "positive", "positive", "negative", "negative", "positive", "negative" ]
184
439
{'C1': '0.00%', 'C2': '100.00%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F1, F8 and F5) with moderate impact on the prediction made for this test case." ]
[ "F6", "F3", "F7", "F4", "F2", "F1", "F8", "F5" ]
{'F6': 'cement', 'F3': 'age_days', 'F7': 'water', 'F4': 'superplasticizer', 'F2': 'coarseaggregate', 'F1': 'fineaggregate', 'F8': 'flyash', 'F5': 'slag'}
{'F1': 'F6', 'F8': 'F3', 'F4': 'F7', 'F5': 'F4', 'F6': 'F2', 'F7': 'F1', 'F3': 'F8', 'F2': 'F5'}
{'C1': 'C1', 'C2': 'C2'}
Strong
{'C1': 'Weak', 'C2': 'Strong'}
SVC
C1
Real Estate Investment
The decision of the classification model on the true label with respect to the given case is based on the information provided to it. From the prediction probabilities, C1 is selected by the model as the most likely label, with a very high confidence level equal to 97.49%. According to the attributions analysis, the very high confidence in the validity of C1 can be attributed to the very strong positive influence of F15, F18, and F13. The contributions of all the other features are moderate to low. The least relevant features are F1, F2, F10, and F5, whereas the moderate ones include F14, F6, F11, and F7. The very marginal uncertainty with respect to the classification decision here can be blamed on the moderate influence of negative features such as F14, F6, F11, F16, F4, and F7. Aside from F15, F18, and F13, some of the other positive features are F19, F12, and F2, with moderate to low contributions, pushing the decision further higher towards C1 away from C2. Finally, F5 has a negligible contribution to the decision above.
[ "0.44", "0.29", "0.08", "-0.04", "-0.03", "-0.03", "-0.03", "-0.03", "-0.02", "-0.02", "-0.02", "-0.02", "0.02", "-0.02", "0.01", "-0.01", "-0.01", "0.00", "-0.00", "0.00" ]
[ "positive", "positive", "positive", "negative", "negative", "negative", "negative", "negative", "negative", "negative", "negative", "negative", "positive", "negative", "positive", "negative", "negative", "positive", "negative", "positive" ]
438
464
{'C2': '2.51%', 'C1': '97.49%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F6, F11 and F7) with moderate impact on the prediction made for this test case." ]
[ "F15", "F18", "F13", "F14", "F6", "F11", "F7", "F16", "F4", "F20", "F9", "F17", "F19", "F3", "F12", "F8", "F1", "F2", "F10", "F5" ]
{'F15': 'Feature7', 'F18': 'Feature4', 'F13': 'Feature14', 'F14': 'Feature2', 'F6': 'Feature3', 'F11': 'Feature8', 'F7': 'Feature13', 'F16': 'Feature15', 'F4': 'Feature1', 'F20': 'Feature11', 'F9': 'Feature9', 'F17': 'Feature16', 'F19': 'Feature12', 'F3': 'Feature18', 'F12': 'Feature19', 'F8': 'Feature5', 'F1': 'Feature6', 'F2': 'Feature10', 'F10': 'Feature20', 'F5': 'Feature17'}
{'F11': 'F15', 'F9': 'F18', 'F17': 'F13', 'F1': 'F14', 'F8': 'F6', 'F3': 'F11', 'F16': 'F7', 'F4': 'F16', 'F7': 'F4', 'F14': 'F20', 'F12': 'F9', 'F18': 'F17', 'F15': 'F19', 'F19': 'F3', 'F5': 'F12', 'F2': 'F8', 'F10': 'F1', 'F13': 'F2', 'F20': 'F10', 'F6': 'F5'}
{'C1': 'C2', 'C2': 'C1'}
Invest
{'C2': 'Ignore', 'C1': 'Invest'}
KNeighborsClassifier
C3
Cab Surge Pricing System
With a moderate likelihood of 50.0%, the label for this case is judged to be C3. The classifier, on the other hand, says that C1 and C2 are equally likely, with a predicted probability of 25.0 percent. The aforementioned decision is mostly dependent on the features of the given case and the values of F7, F5, and F11 are demonstrated to be the primary factors influencing the classification output decision. When compared to F7, F5, and F11, the other variables, such as F1, F12, and F6, have lower attributions. According to the attribution assessment, F7, F5, F11, F12, and F10 are the factors that positively contribute to the choice, implying that they are the ones that push the classification closer towards C3. F1, F6, F3, F4, and F9, on the other hand, are the top negative factors that sway the choice somewhat toward the other labels, C1 and C2. In fact, it is because of these negative variables that the classifier presents the probabilities across the C2 and C1.
[ "0.07", "0.06", "0.05", "-0.04", "0.04", "-0.03", "-0.03", "-0.02", "0.02", "-0.01", "-0.00", "-0.00" ]
[ "positive", "positive", "positive", "negative", "positive", "negative", "negative", "negative", "positive", "negative", "negative", "negative" ]
60
416
{'C1': '25.00%', 'C2': '25.00%', 'C3': '50.00%'}
[ "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Summarize the direction of influence of the features (F7 (when it is equal to V0) and F5) on the prediction made for this test case.", "Compare the direction of impact of the features: F11, F1, F12 and F6.", "Describe the degree of impact of the following features: F3 (value equal to V2), F4 and F10?" ]
[ "F7", "F5", "F11", "F1", "F12", "F6", "F3", "F4", "F10", "F9", "F8", "F2" ]
{'F7': 'Destination_Type', 'F5': 'Cancellation_Last_1Month', 'F11': 'Trip_Distance', 'F1': 'Customer_Rating', 'F12': 'Var1', 'F6': 'Life_Style_Index', 'F3': 'Confidence_Life_Style_Index', 'F4': 'Var3', 'F10': 'Customer_Since_Months', 'F9': 'Gender', 'F8': 'Var2', 'F2': 'Type_of_Cab'}
{'F6': 'F7', 'F8': 'F5', 'F1': 'F11', 'F7': 'F1', 'F9': 'F12', 'F4': 'F6', 'F5': 'F3', 'F11': 'F4', 'F3': 'F10', 'F12': 'F9', 'F10': 'F8', 'F2': 'F2'}
{'C1': 'C1', 'C2': 'C2', 'C3': 'C3'}
C3
{'C1': 'Low', 'C2': 'Medium', 'C3': 'High'}
LogisticRegression
C1
Music Concert Attendance
With a prediction probability of around 82.06 percent, the algorithm predicts class C1. In the aforementioned prediction judgment, F8, F10, F16, and F3 are all important. The top positively contributing features supporting the C1 prediction are F8, F10, and F3, while F16 is pushing the final prediction away. F12 also has a positive impact on the categorization, but F9 has a negative impact and finally, F17, F5, F19, and F7 have very little influence on the algorithm among the features, when picking the most appropriate label in this case.
[ "0.29", "0.27", "-0.22", "0.13", "-0.06", "0.04", "0.04", "-0.04", "0.04", "-0.03", "-0.03", "0.03", "-0.03", "0.02", "0.02", "-0.02", "0.02", "0.01", "-0.00", "0.00" ]
[ "positive", "positive", "negative", "positive", "negative", "positive", "positive", "negative", "positive", "negative", "negative", "positive", "negative", "positive", "positive", "negative", "positive", "positive", "negative", "positive" ]
46
294
{'C2': '17.94%', 'C1': '82.06%'}
[ "Summarize the prediction for the given test example?", "In two sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Compare and contrast the impact of the following attributes (F3, F9 and F12) on the model’s prediction of C1.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F8", "F10", "F16", "F3", "F9", "F12", "F4", "F1", "F20", "F14", "F15", "F18", "F13", "F11", "F6", "F2", "F7", "F17", "F19", "F5" ]
{'F8': 'X11', 'F10': 'X1', 'F16': 'X13', 'F3': 'X3', 'F9': 'X8', 'F12': 'X6', 'F4': 'X2', 'F1': 'X9', 'F20': 'X17', 'F14': 'X10', 'F15': 'X4', 'F18': 'X14', 'F13': 'X20', 'F11': 'X18', 'F6': 'X19', 'F2': 'X7', 'F7': 'X12', 'F17': 'X15', 'F19': 'X16', 'F5': 'X5'}
{'F11': 'F8', 'F1': 'F10', 'F13': 'F16', 'F3': 'F3', 'F8': 'F9', 'F6': 'F12', 'F2': 'F4', 'F9': 'F1', 'F17': 'F20', 'F10': 'F14', 'F4': 'F15', 'F14': 'F18', 'F20': 'F13', 'F18': 'F11', 'F19': 'F6', 'F7': 'F2', 'F12': 'F7', 'F15': 'F17', 'F16': 'F19', 'F5': 'F5'}
{'C1': 'C2', 'C2': 'C1'}
> 10k
{'C2': '< 10k', 'C1': '> 10k'}
LogisticRegression
C2
House Price Classification
For this test case, the model predicts C2 with 99.93% certainty and what this means is that there is only 0.07% chance that C1 could be the right one. The features with the highest impact are F4, F5, F13, and F6, which are all shown to contribute positively to the prediction decision mentioned above. While F3 and F1 support the prediction, F10 is the feature with the strongest negative support for the prediction. Of the features with a small impact, namely F9, F8, F2, F12, F11, and F7, only F8 and F12 negatively support the prediction while the others positively support it.
[ "0.35", "0.27", "0.21", "0.18", "-0.16", "0.07", "0.07", "0.06", "-0.04", "0.03", "-0.02", "0.01", "0.00" ]
[ "positive", "positive", "positive", "positive", "negative", "positive", "positive", "positive", "negative", "positive", "negative", "positive", "positive" ]
38
12
{'C1': '0.07%', 'C2': '99.93%'}
[ "Summarize the prediction for the given test example?", "In two sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Compare and contrast the impact of the following attributes (F10, F3 and F1) on the model’s prediction of C2.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F4", "F5", "F13", "F6", "F10", "F3", "F1", "F9", "F8", "F2", "F12", "F11", "F7" ]
{'F4': 'LSTAT', 'F5': 'RM', 'F13': 'PTRATIO', 'F6': 'RAD', 'F10': 'CHAS', 'F3': 'TAX', 'F1': 'CRIM', 'F9': 'DIS', 'F8': 'AGE', 'F2': 'B', 'F12': 'ZN', 'F11': 'NOX', 'F7': 'INDUS'}
{'F13': 'F4', 'F6': 'F5', 'F11': 'F13', 'F9': 'F6', 'F4': 'F10', 'F10': 'F3', 'F1': 'F1', 'F8': 'F9', 'F7': 'F8', 'F12': 'F2', 'F2': 'F12', 'F5': 'F11', 'F3': 'F7'}
{'C1': 'C1', 'C2': 'C2'}
High
{'C1': 'Low', 'C2': 'High'}
BernoulliNB
C2
Employee Promotion Prediction
This model trained on eleven attributes predicts class label C2 for this case with a confidence level equal to 54.21%. This suggests that the likelihood of C1 being the correct label is 45.79%. The classification decision above is mainly based on the influence of the features F10, F8, F1, and F4. The most relevant features are the negative features, F10, F8, and F1. These features are regarded as negative features given that their values are shifting the prediction decision in the direction of C1. The positive attributes are F4, F6, F3, F7, and F11, supporting the model's prediction for this case.
[ "-0.32", "-0.14", "-0.08", "0.07", "0.04", "0.03", "-0.02", "-0.02", "0.01", "-0.01", "0.01" ]
[ "negative", "negative", "negative", "positive", "positive", "positive", "negative", "negative", "positive", "negative", "positive" ]
157
84
{'C2': '54.21%', 'C1': '45.79%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F2, F7 and F9?" ]
[ "F10", "F8", "F1", "F4", "F6", "F3", "F5", "F2", "F7", "F9", "F11" ]
{'F10': 'KPIs_met >80%', 'F8': 'previous_year_rating', 'F1': 'avg_training_score', 'F4': 'department', 'F6': 'education', 'F3': 'recruitment_channel', 'F5': 'no_of_trainings', 'F2': 'length_of_service', 'F7': 'region', 'F9': 'age', 'F11': 'gender'}
{'F10': 'F10', 'F8': 'F8', 'F11': 'F1', 'F1': 'F4', 'F3': 'F6', 'F5': 'F3', 'F6': 'F5', 'F9': 'F2', 'F2': 'F7', 'F7': 'F9', 'F4': 'F11'}
{'C1': 'C2', 'C2': 'C1'}
Ignore
{'C2': 'Ignore', 'C1': 'Promote'}
LogisticRegression
C2
Used Cars Price-Range Prediction
With a moderate confidence level of 67.95%, the model predicts C2 for the case under consideration, but it is important to consider the fact that there is a 32.05% chance that C1 could be the correct label instead. The most influential variables resulting in the aforementioned classification decision are F9, F5, and F7. While F9 and F5 have negative contributions towards the C2 prediction; favouring the assignment of C1 instead, F7 is the top positive contributing feature. F8, F3, and F10 had a small positive effect on prediction, whereas F1 had a smaller negative effect. Finally, F2 is the least relevant variable, and therefore, its negative attribution has no significant influence on the model with respect to the given case.
[ "-0.21", "-0.12", "0.09", "-0.04", "-0.04", "0.04", "0.02", "-0.01", "0.01", "-0.00" ]
[ "negative", "negative", "positive", "negative", "negative", "positive", "positive", "negative", "positive", "negative" ]
20
279
{'C1': '32.05%', 'C2': '67.95%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F8, F10 and F1 (equal to V1)) with moderate impact on the prediction made for this test case." ]
[ "F9", "F5", "F7", "F6", "F4", "F8", "F10", "F1", "F3", "F2" ]
{'F9': 'Fuel_Type', 'F5': 'Seats', 'F7': 'car_age', 'F6': 'Name', 'F4': 'Owner_Type', 'F8': 'Power', 'F10': 'Engine', 'F1': 'Transmission', 'F3': 'Mileage', 'F2': 'Kilometers_Driven'}
{'F7': 'F9', 'F10': 'F5', 'F5': 'F7', 'F6': 'F6', 'F9': 'F4', 'F4': 'F8', 'F3': 'F10', 'F8': 'F1', 'F2': 'F3', 'F1': 'F2'}
{'C1': 'C1', 'C2': 'C2'}
High
{'C1': 'Low', 'C2': 'High'}
LogisticRegression
C2
Employee Promotion Prediction
As per the classification algorithm, the most appropriate label for the given case is C2 because its prediction likelihood is 99.45%, whereas that of C1 is only 0.55%. For the classification or prediction assertion above, the most important variables are F11, F3, and F4, while the least influential variables are F8, F2, F7, and F9. Regarding the direction of influence of the variables, the ones with positive contributions to assigning label C2 are F11, F3, F1, F7, and F9 which in fact increase the odds of C2 being the correct label. Finally, decreasing the odds of C2 and supporting C1 are mainly the values of the variables F4, F5, and F6.
[ "0.54", "0.13", "-0.13", "-0.04", "0.03", "-0.03", "-0.02", "-0.01", "-0.01", "0.01", "0.01" ]
[ "positive", "positive", "negative", "negative", "positive", "negative", "negative", "negative", "negative", "positive", "positive" ]
236
142
{'C1': '0.55%', 'C2': '99.45%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F2, F7 and F9?" ]
[ "F11", "F3", "F4", "F5", "F1", "F6", "F10", "F8", "F2", "F7", "F9" ]
{'F11': 'avg_training_score', 'F3': 'KPIs_met >80%', 'F4': 'department', 'F5': 'age', 'F1': 'no_of_trainings', 'F6': 'recruitment_channel', 'F10': 'previous_year_rating', 'F8': 'length_of_service', 'F2': 'education', 'F7': 'region', 'F9': 'gender'}
{'F11': 'F11', 'F10': 'F3', 'F1': 'F4', 'F7': 'F5', 'F6': 'F1', 'F5': 'F6', 'F8': 'F10', 'F9': 'F8', 'F3': 'F2', 'F2': 'F7', 'F4': 'F9'}
{'C1': 'C1', 'C2': 'C2'}
Promote
{'C1': 'Ignore', 'C2': 'Promote'}
SGDClassifier
C2
House Price Classification
C2 is the label predicted by the classification model employed and looking at the prediction probabilities, it valid to concluded that the model is very certain about the selected label. The features considered most relevant by the model for the above decision are F1, F3, F11, and F4, while those with the least consideration are F10, F9, and F12. On the basis of the analysis, majority of the input features positively affirm the prediction for this case; therefore, it is not surprising that the model chose the C2 label and the positive features include F1, F11, F4, F8, F6, F2, and F5. The three negative features that moderately bias the labelling decision towards C1 are F13, F3, and F7.
[ "0.38", "0.30", "-0.27", "0.26", "0.16", "-0.14", "0.11", "0.07", "0.07", "-0.07", "0.06", "0.03", "0.01" ]
[ "positive", "positive", "negative", "positive", "positive", "negative", "positive", "positive", "positive", "negative", "positive", "positive", "positive" ]
143
226
{'C2': '100.00%', 'C1': '0.00%'}
[ "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Summarize the direction of influence of the features (F1 and F11) on the prediction made for this test case.", "Compare the direction of impact of the features: F3, F4, F6 and F7.", "Describe the degree of impact of the following features: F8, F2 and F5?" ]
[ "F1", "F11", "F3", "F4", "F6", "F7", "F8", "F2", "F5", "F13", "F10", "F9", "F12" ]
{'F1': 'CRIM', 'F11': 'LSTAT', 'F3': 'RAD', 'F4': 'AGE', 'F6': 'CHAS', 'F7': 'DIS', 'F8': 'ZN', 'F2': 'TAX', 'F5': 'PTRATIO', 'F13': 'B', 'F10': 'RM', 'F9': 'NOX', 'F12': 'INDUS'}
{'F1': 'F1', 'F13': 'F11', 'F9': 'F3', 'F7': 'F4', 'F4': 'F6', 'F8': 'F7', 'F2': 'F8', 'F10': 'F2', 'F11': 'F5', 'F12': 'F13', 'F6': 'F10', 'F5': 'F9', 'F3': 'F12'}
{'C1': 'C2', 'C2': 'C1'}
Low
{'C2': 'Low', 'C1': 'High'}
LogisticRegression
C2
E-Commerce Shipping
The confidence level for the prediction made for the given case is 71.57%. F7 has a significant impact on the outcome in the negative. The values F10, F2, F8, F4, F1, F9, and F3 all have a positive impact on the results, but they are still less than the effects of F7. The analysis shows that F7 has the highest impact on the model's prediction decision here, it has an overwhelmingly negative effect. F2, F8, F4, and F1 have a positive effect on the model's prediction. Because of the strength of the F7 feature, all other features have little effect on the outcome. In addition, the uncertainty in the prediction could be attributed to the pull of F7, which drives the model to predict an alternative label.
[ "-0.25", "0.08", "0.04", "0.02", "0.01", "0.01", "0.01", "0.00", "-0.00", "-0.00" ]
[ "negative", "positive", "positive", "positive", "positive", "positive", "positive", "positive", "negative", "negative" ]
70
23
{'C2': '71.57%', 'C1': '28.43%'}
[ "Summarize the prediction for the given test example?", "In two sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Compare and contrast the impact of the following attributes (F2 (with a value equal to V4), F8 (when it is equal to V2), F4 and F1 (when it is equal to V0)) on the model’s prediction of C2.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F7", "F10", "F2", "F8", "F4", "F1", "F9", "F3", "F6", "F5" ]
{'F7': 'Discount_offered', 'F10': 'Weight_in_gms', 'F2': 'Prior_purchases', 'F8': 'Product_importance', 'F4': 'Cost_of_the_Product', 'F1': 'Gender', 'F9': 'Customer_rating', 'F3': 'Warehouse_block', 'F6': 'Customer_care_calls', 'F5': 'Mode_of_Shipment'}
{'F2': 'F7', 'F3': 'F10', 'F8': 'F2', 'F9': 'F8', 'F1': 'F4', 'F10': 'F1', 'F7': 'F9', 'F4': 'F3', 'F6': 'F6', 'F5': 'F5'}
{'C1': 'C2', 'C2': 'C1'}
On-time
{'C2': 'On-time', 'C1': 'Late'}
LogisticRegression
C2
E-Commerce Shipping
53.78% and 46.22%, respectively, are the chance or likelihood of any of the classes C2, and C1 being the appropriate label for the case given here. As a result, it's safe to say that C2 is the most likely label for this situation and F1 is identified as the most influential feature whereas F2, F4, and F5 have very low contributions to the decision made by the classification algorithm with respect to the given case. In addition, F8, F3, F10, F9, F6, and F7 have moderate contributions higher than F2, F4, and F5 but lower than F1. Despite the strong positive influence of F1 and F3 supporting the assignment of C2, the negative influence of F8, F10, F9, F7, and F5 shift the classification judgment fairly towards the C1 label which explains the 46.22% likelihood.
[ "0.25", "-0.08", "0.06", "-0.02", "-0.01", "0.01", "-0.01", "0.01", "0.00", "-0.00" ]
[ "positive", "negative", "positive", "negative", "negative", "positive", "negative", "positive", "positive", "negative" ]
452
409
{'C1': '46.22%', 'C2': '53.78%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F2, F4 and F5?" ]
[ "F1", "F8", "F3", "F10", "F9", "F6", "F7", "F2", "F4", "F5" ]
{'F1': 'Discount_offered', 'F8': 'Weight_in_gms', 'F3': 'Prior_purchases', 'F10': 'Product_importance', 'F9': 'Cost_of_the_Product', 'F6': 'Gender', 'F7': 'Customer_rating', 'F2': 'Customer_care_calls', 'F4': 'Mode_of_Shipment', 'F5': 'Warehouse_block'}
{'F2': 'F1', 'F3': 'F8', 'F8': 'F3', 'F9': 'F10', 'F1': 'F9', 'F10': 'F6', 'F7': 'F7', 'F6': 'F2', 'F5': 'F4', 'F4': 'F5'}
{'C1': 'C1', 'C2': 'C2'}
Late
{'C1': 'On-time', 'C2': 'Late'}
LogisticRegression
C1
Used Cars Price-Range Prediction
The output decision for the provided data is C1, with a very high confidence level, based on the output prediction probabilities across the two classes since C2 has a probability of around 0.00%. F9, F4, and F10 are the most influential factors in the above-mentioned label assignment, however F7 and F5 are the least influential. The unusually high degree of confidence associated with the classification choice in this case might be attributable to the fact that the bulk of the input variables exhibit attributions that improve the model's responsiveness towards label C1. F3, F6, and F7 have only the negative contributions, attempting to persuade the model to classify this case as C2. To cut a long story short, the joint contribution of the negative variables is quite low in comparison to that of the positive variables, resulting in the model's certainty in the decision above.
[ "0.53", "0.32", "0.18", "0.15", "0.13", "0.05", "-0.04", "-0.03", "-0.00", "0.00" ]
[ "positive", "positive", "positive", "positive", "positive", "positive", "negative", "negative", "negative", "positive" ]
362
357
{'C1': '100.00%', 'C2': '0.00%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F7 and F5?" ]
[ "F4", "F9", "F10", "F8", "F2", "F1", "F3", "F6", "F7", "F5" ]
{'F4': 'car_age', 'F9': 'Power', 'F10': 'Fuel_Type', 'F8': 'Engine', 'F2': 'Seats', 'F1': 'Transmission', 'F3': 'Kilometers_Driven', 'F6': 'Name', 'F7': 'Mileage', 'F5': 'Owner_Type'}
{'F5': 'F4', 'F4': 'F9', 'F7': 'F10', 'F3': 'F8', 'F10': 'F2', 'F8': 'F1', 'F1': 'F3', 'F6': 'F6', 'F2': 'F7', 'F9': 'F5'}
{'C1': 'C1', 'C2': 'C2'}
Low
{'C1': 'Low', 'C2': 'High'}
SVC
C2
Advertisement Prediction
When given the task of labelling the given case one of the possible labels, C2 and C1, the model assigns C2 as the most likely correct label, with a confidence level of roughly 99.90%. This degree of confidence indicates that the likelihood of C1 being the right designation is merely 0.10%. According to the attribution analysis, each variable has a distinct degree of effect or contribution to the model's arriving at the above-mentioned classification. F3, F4, F1, and F7 are the features accounting for the model's extremely high confidence in the assigned label. In fact, the only input variables having a negative impact are also the least relevant ones, F2 and F5.
[ "0.43", "0.25", "0.13", "0.07", "0.07", "-0.03", "-0.02" ]
[ "positive", "positive", "positive", "positive", "positive", "negative", "negative" ]
42
399
{'C2': '99.90%', 'C1': '0.10%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F2 (with a value equal to V3)?" ]
[ "F4", "F3", "F7", "F1", "F6", "F5", "F2" ]
{'F4': 'Daily Internet Usage', 'F3': 'Daily Time Spent on Site', 'F7': 'Age', 'F1': 'ad_day', 'F6': 'Area Income', 'F5': 'Gender', 'F2': 'ad_month'}
{'F4': 'F4', 'F1': 'F3', 'F2': 'F7', 'F7': 'F1', 'F3': 'F6', 'F5': 'F5', 'F6': 'F2'}
{'C1': 'C2', 'C2': 'C1'}
Skip
{'C2': 'Skip', 'C1': 'Watch'}
LogisticRegression
C2
Concrete Strength Classification
According to the classification model employed here, the most probable label for the given case is C2 with a confidence level equal to 98.97%. Per the attributions analysis, F4 and F8 are the most significant and influential features driving label selection. The least ranked features are F6 and F2, while F1, F7, F5, and F3 have moderate contributions. Negatively supporting the above classification output are F8, F5, and F3, pushing the model to assign the alternative label. However, given the fact that the prediction probability of C1 is only 1.03%, it can be concluded that the joint positive influence of F4, F1, F7, F6, and F2 strongly drives the model to label the case as C2 instead of C1.
[ "0.40", "-0.24", "0.14", "0.12", "-0.10", "-0.08", "0.02", "0.00" ]
[ "positive", "negative", "positive", "positive", "negative", "negative", "positive", "positive" ]
411
198
{'C1': '1.03%', 'C2': '98.97%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F1, F7, F5 and F3) with moderate impact on the prediction made for this test case." ]
[ "F4", "F8", "F1", "F7", "F5", "F3", "F6", "F2" ]
{'F4': 'cement', 'F8': 'age_days', 'F1': 'water', 'F7': 'superplasticizer', 'F5': 'fineaggregate', 'F3': 'flyash', 'F6': 'slag', 'F2': 'coarseaggregate'}
{'F1': 'F4', 'F8': 'F8', 'F4': 'F1', 'F5': 'F7', 'F7': 'F5', 'F3': 'F3', 'F2': 'F6', 'F6': 'F2'}
{'C1': 'C1', 'C2': 'C2'}
Strong
{'C1': 'Weak', 'C2': 'Strong'}
KNeighborsClassifier
C2
Wine Quality Prediction
The classifier is quite sure that the right label for the data given is C2 based on the influence of variables such as F7, F2, F5, and F11. There is a 10.0% chance that the correct label is C1 and per the attributions examination conducted, the bulk of the traits contribute positively, with only three contributing negatively. The negative variables are F11, F8, and F9, which reduce the classifier's preference for C2. F7, F2, and F5 are notable positive variables that boost the classifier's response to outputting C2 rather than C1. All in all, the classifier's confidence in this prediction may be attributed to the fact that the negative variables only have a minor influence on the prediction choice here.
[ "0.13", "0.08", "0.07", "-0.03", "0.03", "0.03", "0.01", "0.01", "-0.01", "0.01", "-0.01" ]
[ "positive", "positive", "positive", "negative", "positive", "positive", "positive", "positive", "negative", "positive", "negative" ]
234
329
{'C1': '10.00%', 'C2': '90.00%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F5, F11, F4 and F1) with moderate impact on the prediction made for this test case." ]
[ "F7", "F2", "F5", "F11", "F4", "F1", "F3", "F10", "F8", "F6", "F9" ]
{'F7': 'sulphates', 'F2': 'total sulfur dioxide', 'F5': 'volatile acidity', 'F11': 'residual sugar', 'F4': 'citric acid', 'F1': 'chlorides', 'F3': 'alcohol', 'F10': 'fixed acidity', 'F8': 'density', 'F6': 'pH', 'F9': 'free sulfur dioxide'}
{'F10': 'F7', 'F7': 'F2', 'F2': 'F5', 'F4': 'F11', 'F3': 'F4', 'F5': 'F1', 'F11': 'F3', 'F1': 'F10', 'F8': 'F8', 'F9': 'F6', 'F6': 'F9'}
{'C1': 'C1', 'C2': 'C2'}
high quality
{'C1': 'low_quality', 'C2': 'high quality'}
DecisionTreeClassifier
C2
Vehicle Insurance Claims
C2 was assigned to the given case by the classifier with a likelihood of 93.32%, leaving thhe likelihood of the C1 equal to only 6.68%. The most influential features were F3, F5, and F14. The remaining features with non-zero attributions are F20, F1, F12, F7, F33, F18, F10, F17, F27, F26, F19, F32, F11, F16, F31, and finally F21. F3 and F5 were highly influential in the positive direction, increasing the odds of the predicted label being correct, whereas F14 had a negative impact, driving the prediction in favour of a different label. Furthermore, F20 had a positive impact on the prediction, whereas F1 and F12 negatively influenced the prediction. Finally, the features that we can say have no impact at all on the prediction made here are as follows: F4, F22, F24, F9, and F15.
[ "0.20", "0.03", "-0.03", "0.03", "-0.03", "-0.03", "-0.03", "0.02", "0.02", "0.02", "0.02", "-0.02", "0.02", "-0.02", "-0.01", "-0.01", "-0.01", "-0.01", "0.01", "0.01", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00" ]
[ "positive", "positive", "negative", "positive", "negative", "negative", "negative", "positive", "positive", "positive", "positive", "negative", "positive", "negative", "negative", "negative", "negative", "negative", "positive", "positive", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible" ]
99
45
{'C2': '93.32%', 'C1': '6.68%'}
[ "Summarize the prediction made for the test under consideration along with the likelihood of the different possible class labels.", "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Compare the direction of impact of the features: F3 (with a value equal to V1), F5 (with a value equal to V2) and F14.", "Summarize the direction of influence of the features (F20 (value equal to V2), F1 and F12 (equal to V4)) with moderate impact on the prediction made for this test case.", "Provide a statement on the features with the least impact on the prediction made for this test case." ]
[ "F3", "F5", "F14", "F20", "F1", "F12", "F7", "F33", "F18", "F10", "F17", "F27", "F26", "F19", "F32", "F2", "F16", "F11", "F31", "F21", "F4", "F22", "F24", "F9", "F15", "F29", "F25", "F8", "F13", "F28", "F30", "F6", "F23" ]
{'F3': 'incident_severity', 'F5': 'incident_city', 'F14': 'injury_claim', 'F20': 'insured_occupation', 'F1': 'insured_zip', 'F12': 'authorities_contacted', 'F7': 'auto_year', 'F33': 'police_report_available', 'F18': 'bodily_injuries', 'F10': 'insured_hobbies', 'F17': 'insured_sex', 'F27': 'auto_make', 'F26': 'property_damage', 'F19': 'witnesses', 'F32': 'insured_relationship', 'F2': 'age', 'F16': 'vehicle_claim', 'F11': 'months_as_customer', 'F31': 'property_claim', 'F21': 'incident_type', 'F4': 'capital-gains', 'F22': 'policy_deductable', 'F24': 'policy_annual_premium', 'F9': 'incident_state', 'F15': 'umbrella_limit', 'F29': 'total_claim_amount', 'F25': 'collision_type', 'F8': 'incident_hour_of_the_day', 'F13': 'insured_education_level', 'F28': 'number_of_vehicles_involved', 'F30': 'policy_csl', 'F6': 'policy_state', 'F23': 'capital-loss'}
{'F27': 'F3', 'F30': 'F5', 'F14': 'F14', 'F22': 'F20', 'F6': 'F1', 'F28': 'F12', 'F17': 'F7', 'F32': 'F33', 'F11': 'F18', 'F23': 'F10', 'F20': 'F17', 'F33': 'F27', 'F31': 'F26', 'F12': 'F19', 'F24': 'F32', 'F2': 'F2', 'F16': 'F16', 'F1': 'F11', 'F15': 'F31', 'F25': 'F21', 'F7': 'F4', 'F3': 'F22', 'F4': 'F24', 'F29': 'F9', 'F5': 'F15', 'F13': 'F29', 'F26': 'F25', 'F9': 'F8', 'F21': 'F13', 'F10': 'F28', 'F19': 'F30', 'F18': 'F6', 'F8': 'F23'}
{'C1': 'C2', 'C2': 'C1'}
Not Fraud
{'C2': 'Not Fraud', 'C1': 'Fraud'}
AdaBoostClassifier
C1
Basketball Players Career Length Prediction
With moderately high confidence, the classifier indicates that the most probable label for the given data is C1 with only just a 21.80% chance that it could be C2. The main driving features for the above classification or prediction decision are F15 and F14. The remaining features such as F9, F2, F13, and F19 have moderate to low influence on the above decision. Inspecting the attributions of the the input features showed that the ones with negative impact or contribution are F9, F19, F5, F10, and F18. From the attributions, we can see that the remaining features have positive contributions or influence and as a matter of fact, the certainty of the classifier for this classification can be attributed mainly to the strong positive contributions of F15 and F14 coupled with the contributions of the other positive features such as F2, F13, F11, and F17.
[ "0.08", "0.06", "-0.00", "0.00", "0.00", "-0.00", "0.00", "0.00", "-0.00", "0.00", "-0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "-0.00", "0.00" ]
[ "positive", "positive", "negative", "positive", "positive", "negative", "positive", "positive", "negative", "positive", "negative", "positive", "positive", "positive", "positive", "positive", "positive", "negative", "positive" ]
256
166
{'C1': '78.20%', 'C2': '21.80%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F11, F17 and F5?" ]
[ "F15", "F14", "F9", "F2", "F13", "F19", "F11", "F17", "F5", "F12", "F10", "F3", "F7", "F4", "F8", "F6", "F16", "F18", "F1" ]
{'F15': 'GamesPlayed', 'F14': 'PointsPerGame', 'F9': 'Steals', 'F2': 'MinutesPlayed', 'F13': 'DefensiveRebounds', 'F19': 'Rebounds', 'F11': 'Blocks', 'F17': 'FreeThrowAttempt', 'F5': 'FieldGoalPercent', 'F12': 'FreeThrowMade', 'F10': 'OffensiveRebounds', 'F3': 'FieldGoalsMade', 'F7': '3PointAttempt', 'F4': 'FreeThrowPercent', 'F8': '3PointMade', 'F6': 'FieldGoalsAttempt', 'F16': 'Turnovers', 'F18': 'Assists', 'F1': '3PointPercent'}
{'F1': 'F15', 'F3': 'F14', 'F17': 'F9', 'F2': 'F2', 'F14': 'F13', 'F15': 'F19', 'F18': 'F11', 'F11': 'F17', 'F6': 'F5', 'F10': 'F12', 'F13': 'F10', 'F4': 'F3', 'F8': 'F7', 'F12': 'F4', 'F7': 'F8', 'F5': 'F6', 'F19': 'F16', 'F16': 'F18', 'F9': 'F1'}
{'C1': 'C1', 'C2': 'C2'}
More than 5
{'C1': 'More than 5', 'C2': 'Less than 5'}
GradientBoostingClassifier
C2
Health Care Services Satisfaction Prediction
Given the fact that the likelihood of C1 being the correct label for the case under consideration is only 36.34%, the model assigns the label C2. The prediction decision between the two classes is highly based on the values of the features F3, F6, F14, and F10, whereas those with the least attributions or contributions regarding this label assignment are F5 and F8. Among the top influential features, F3 and F6 have very strong positive contributions, increasing the probability of the label C2, while the value of F14 value suggests the other label, C1, could be the true label. This pull or shift towards label C1 is further supported by the values of F11, F4, F1, F13, F5, and F16. Conversely, the remaining features, together with F3 and F6, positively encourage the prediction of C2.
[ "0.08", "0.07", "-0.05", "0.05", "-0.04", "-0.03", "-0.02", "-0.02", "-0.02", "0.02", "0.02", "0.01", "0.01", "0.01", "-0.01", "0.01" ]
[ "positive", "positive", "negative", "positive", "negative", "negative", "negative", "negative", "negative", "positive", "positive", "positive", "positive", "positive", "negative", "positive" ]
147
76
{'C2': '63.66%', 'C1': '36.34%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F4, F1 and F13) with moderate impact on the prediction made for this test case." ]
[ "F3", "F6", "F14", "F10", "F11", "F4", "F1", "F13", "F16", "F7", "F12", "F2", "F9", "F15", "F5", "F8" ]
{'F3': 'Communication with dr', 'F6': 'Modern equipment', 'F14': 'Specialists avaliable', 'F10': 'Quality\\/experience dr.', 'F11': 'Time waiting', 'F4': 'Admin procedures', 'F1': 'Hygiene and cleaning', 'F13': 'waiting rooms', 'F16': 'avaliablity of drugs', 'F7': 'Time of appointment', 'F12': 'hospital rooms quality', 'F2': 'Exact diagnosis', 'F9': 'parking, playing rooms, caffes', 'F15': 'friendly health care workers', 'F5': 'Check up appointment', 'F8': 'lab services'}
{'F8': 'F3', 'F10': 'F6', 'F7': 'F14', 'F6': 'F10', 'F2': 'F11', 'F3': 'F4', 'F4': 'F1', 'F14': 'F13', 'F13': 'F16', 'F5': 'F7', 'F15': 'F12', 'F9': 'F2', 'F16': 'F9', 'F11': 'F15', 'F1': 'F5', 'F12': 'F8'}
{'C1': 'C2', 'C2': 'C1'}
Dissatisfied
{'C2': 'Dissatisfied', 'C1': 'Satisfied'}
KNeighborsClassifier
C3
Cab Surge Pricing System
C3, out of the three potential classes, is the the label assigned with a high probability of 50.0%. However, the classifier indicates that C2 and C1 are equally likely, with a predicted probability of 25.0%. The aforementioned judgement is mostly based on the variables of the given case. The variables F11, F7, and F1 are shown to be the main factors resulting in the classification output decision. The remaining variables, such as F9, F12, and F8, have lower attributions compared to F11, F7, and F1. The attribution analysis also indicated that F11, F7, F1, F12, and F10 are the variables that positively contribute to the decision, meaning they are the ones that shift the classification higher towards C3. On the contrary, F9, F8, F3, F6, and F5 are the top negative variables that steer the decision slightly towards the other labels, C2 and C1. In fact, it is because of these negative variables that the classifier indicates the probabilities across the C1 and C2.
[ "0.07", "0.06", "0.05", "-0.04", "0.04", "-0.03", "-0.03", "-0.02", "0.02", "-0.01", "-0.00", "-0.00" ]
[ "positive", "positive", "positive", "negative", "positive", "negative", "negative", "negative", "positive", "negative", "negative", "negative" ]
60
415
{'C2': '25.00%', 'C1': '25.00%', 'C3': '50.00%'}
[ "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Summarize the direction of influence of the features (F11 (when it is equal to V0) and F7) on the prediction made for this test case.", "Compare the direction of impact of the features: F1, F9, F12 and F8.", "Describe the degree of impact of the following features: F3 (value equal to V2), F6 and F10?" ]
[ "F11", "F7", "F1", "F9", "F12", "F8", "F3", "F6", "F10", "F5", "F2", "F4" ]
{'F11': 'Destination_Type', 'F7': 'Cancellation_Last_1Month', 'F1': 'Trip_Distance', 'F9': 'Customer_Rating', 'F12': 'Var1', 'F8': 'Life_Style_Index', 'F3': 'Confidence_Life_Style_Index', 'F6': 'Var3', 'F10': 'Customer_Since_Months', 'F5': 'Gender', 'F2': 'Var2', 'F4': 'Type_of_Cab'}
{'F6': 'F11', 'F8': 'F7', 'F1': 'F1', 'F7': 'F9', 'F9': 'F12', 'F4': 'F8', 'F5': 'F3', 'F11': 'F6', 'F3': 'F10', 'F12': 'F5', 'F10': 'F2', 'F2': 'F4'}
{'C1': 'C2', 'C2': 'C1', 'C3': 'C3'}
C3
{'C2': 'Low', 'C1': 'Medium', 'C3': 'High'}
LogisticRegression
C3
Flight Price-Range Classification
The chances of selecting the correct label from one of the possible labels C1, C2, and C3 are 18.51%, 5.86%, and 75.63%, respectively. As a result, it can be deduced that the classifier's anticipated label in this situation is C3. The values of the input features were used as the basis to make the aforementioned prediction judgments. Some of these features have values that positively support the assigned label, while others have values that contradict the classifier's decision, driving it toward one of the other two labels. F9 is the most influential feature, following which are the variables F10, F1, F7, and F2, enumerated according to their respective relevance to the aforementioned label selection. F9, F7, and F2 are positive features that increase the classifier's response towards generating the C3 label, but F10 and F1 are negative features, lowering the odds of C3 being the correct label. F5, F6, F11, F12, and F3 are features that have a moderate influence on the classifier in this case, while F4 and F8 have only a marginal impact. F10, F1, F11, and F8 are the features that have values supporting the assignment of any of the other labels, while the rest favour the C3 prediction, therefore, the predicted probabilities across labels is unsurprising. Furthermore, the predicted likelihood of C3 is higher than all the other labels which is attributed to the fact that the positive features' combined impact is bigger than negative features' combined impact.
[ "0.41", "-0.10", "-0.06", "0.05", "0.05", "0.04", "0.03", "-0.02", "0.02", "0.02", "0.02", "-0.00" ]
[ "positive", "negative", "negative", "positive", "positive", "positive", "positive", "negative", "positive", "positive", "positive", "negative" ]
134
230
{'C2': '5.86%', 'C1': '18.51%', 'C3': '75.63%'}
[ "Provide a statement summarizing the prediction made for the test case.", "For the current test instance, describe the direction of influence of the following features: F9 and F10.", "Compare and contrast the impact of the following features (F1, F7, F2 and F6) on the model’s prediction of C3.", "Describe the degree of impact of the following features: F5, F11, F3 and F12?" ]
[ "F9", "F10", "F1", "F7", "F2", "F6", "F5", "F11", "F3", "F12", "F4", "F8" ]
{'F9': 'Total_Stops', 'F10': 'Airline', 'F1': 'Journey_day', 'F7': 'Source', 'F2': 'Destination', 'F6': 'Journey_month', 'F5': 'Dep_hour', 'F11': 'Arrival_minute', 'F3': 'Arrival_hour', 'F12': 'Duration_hours', 'F4': 'Dep_minute', 'F8': 'Duration_mins'}
{'F12': 'F9', 'F9': 'F10', 'F1': 'F1', 'F10': 'F7', 'F11': 'F2', 'F2': 'F6', 'F3': 'F5', 'F6': 'F11', 'F5': 'F3', 'F7': 'F12', 'F4': 'F4', 'F8': 'F8'}
{'C1': 'C2', 'C2': 'C1', 'C3': 'C3'}
High
{'C2': 'Low', 'C1': 'Moderate', 'C3': 'High'}
GradientBoostingClassifier
C1
Broadband Sevice Signup
In this case, the model expects C1 to be a label since the probability that the label is the alternative class C2 is only 1.94%. This means that the model has a lot of confidence in the selected label, C1. F34 and F29 are the two most important prediction variables positively controlling the assignment of C1 in this case. Other variables that contributed positively to this prediction included F18, F3, F14, F37, and F23. On the other hand, the values F4, F39, F27, and F21 constitute a feature set with a negative impact on the above prediction decision. However, the above features have little effect on the model compared to the F38, F23, F3, and F29, which may explain why the model is confident that the true label is probably C1. Finally, for the case under consideration, F7, F16, F41, F12, F42, and F10 are some of the features, with practically no effect on the prediction decisions of the model, hence they can be considered negligible to the classification here.
[ "0.20", "0.11", "0.11", "0.10", "0.05", "0.04", "-0.04", "0.04", "-0.03", "-0.03", "0.02", "-0.02", "0.02", "-0.02", "0.02", "0.02", "-0.02", "0.02", "0.02", "-0.02", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00" ]
[ "positive", "positive", "positive", "positive", "positive", "positive", "negative", "positive", "negative", "negative", "positive", "negative", "positive", "negative", "positive", "positive", "negative", "positive", "positive", "negative", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible" ]
117
235
{'C1': '98.06%', 'C2': '1.94%'}
[ "Provide a statement summarizing the prediction made for the test case.", "For the current test instance, describe the direction of influence of the following features: F38 and F29.", "Compare and contrast the impact of the following features (F23, F3, F37 (with a value equal to V1) and F18) on the model’s prediction of C1.", "Describe the degree of impact of the following features: F4, F14 and F39?" ]
[ "F38", "F29", "F23", "F3", "F37", "F18", "F4", "F14", "F39", "F27", "F21", "F36", "F2", "F25", "F32", "F34", "F13", "F35", "F33", "F31", "F7", "F16", "F10", "F41", "F12", "F42", "F19", "F15", "F5", "F17", "F20", "F8", "F24", "F6", "F30", "F26", "F22", "F9", "F40", "F28", "F11", "F1" ]
{'F38': 'X38', 'F29': 'X22', 'F23': 'X32', 'F3': 'X19', 'F37': 'X1', 'F18': 'X13', 'F4': 'X11', 'F14': 'X3', 'F39': 'X16', 'F27': 'X2', 'F21': 'X12', 'F36': 'X14', 'F2': 'X42', 'F25': 'X18', 'F32': 'X28', 'F34': 'X35', 'F13': 'X24', 'F35': 'X20', 'F33': 'X8', 'F31': 'X40', 'F7': 'X34', 'F16': 'X5', 'F10': 'X4', 'F41': 'X41', 'F12': 'X6', 'F42': 'X39', 'F19': 'X7', 'F15': 'X37', 'F5': 'X36', 'F17': 'X33', 'F20': 'X21', 'F8': 'X9', 'F24': 'X31', 'F6': 'X30', 'F30': 'X10', 'F26': 'X27', 'F22': 'X26', 'F9': 'X25', 'F40': 'X15', 'F28': 'X23', 'F11': 'X17', 'F1': 'X29'}
{'F35': 'F38', 'F20': 'F29', 'F29': 'F23', 'F17': 'F3', 'F40': 'F37', 'F11': 'F18', 'F9': 'F4', 'F2': 'F14', 'F14': 'F39', 'F1': 'F27', 'F10': 'F21', 'F12': 'F36', 'F38': 'F2', 'F16': 'F25', 'F26': 'F32', 'F32': 'F34', 'F22': 'F13', 'F18': 'F35', 'F6': 'F33', 'F37': 'F31', 'F31': 'F7', 'F41': 'F16', 'F3': 'F10', 'F39': 'F41', 'F4': 'F12', 'F36': 'F42', 'F5': 'F19', 'F34': 'F15', 'F33': 'F5', 'F30': 'F17', 'F19': 'F20', 'F7': 'F8', 'F28': 'F24', 'F27': 'F6', 'F8': 'F30', 'F25': 'F26', 'F24': 'F22', 'F23': 'F9', 'F13': 'F40', 'F21': 'F28', 'F15': 'F11', 'F42': 'F1'}
{'C1': 'C1', 'C2': 'C2'}
No
{'C1': 'No', 'C2': 'Yes'}
KNeighborsClassifier
C1
Credit Risk Classification
The following classification assertions are based on the information provided on the case under consideration. The most probable or likely label judged by the classifier is C1 since its prediction probability is 60.0% compared to the 40.0% of C2. The influence of the features on the classifier's decision here can be ranked in the order F7, F10, F2, F9, F4, F5, F6, F8, F3, F1, F11. In fact, with the exception of F11, all the features are shown to have attributions, resulting in the predicted probabilities across the labels. The F7, F10, F2, and F3 have negative contributions, leading to the classifier's confidence in the validity of the C1 label and this is because they are the features that support labelling the case as C2. However, the positive features F9, F4, F5, F6, F8, and F1 tip the scales higher in favour of C1. Since the most influential features F7, F10, and F2 have negative contributions, it is not surprising that the classifier has the probability of C2 equal to just about 40.0%.
[ "-0.10", "-0.03", "-0.02", "0.02", "0.02", "0.02", "0.02", "0.01", "-0.01", "0.01", "-0.00" ]
[ "negative", "negative", "negative", "positive", "positive", "positive", "positive", "positive", "negative", "positive", "negative" ]
9
363
{'C2': '40.00%', 'C1': '60.00%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F2, F9, F4 and F5) with moderate impact on the prediction made for this test case." ]
[ "F7", "F10", "F2", "F9", "F4", "F5", "F6", "F8", "F3", "F1", "F11" ]
{'F7': 'fea_4', 'F10': 'fea_8', 'F2': 'fea_2', 'F9': 'fea_9', 'F4': 'fea_6', 'F5': 'fea_10', 'F6': 'fea_1', 'F8': 'fea_11', 'F3': 'fea_7', 'F1': 'fea_3', 'F11': 'fea_5'}
{'F4': 'F7', 'F8': 'F10', 'F2': 'F2', 'F9': 'F9', 'F6': 'F4', 'F10': 'F5', 'F1': 'F6', 'F11': 'F8', 'F7': 'F3', 'F3': 'F1', 'F5': 'F11'}
{'C1': 'C2', 'C2': 'C1'}
High
{'C2': 'Low', 'C1': 'High'}
SGDClassifier
C1
Airline Passenger Satisfaction
At a confidence level of 100.0%, the model labels this case as C1 and what this indicate is that there is no chance for C2 to be the correct label given the values of the input features. The above classification decision can be attributed to values for features such as F4, F3, F7, F21, F20, and F8. For this C1 prediction, the most important features are F4, F3, and F7. These are all positive features, meaning they strongly support the model's decision with respect to the case under consideration and a further push towards the assigned label is offered by the contributions of the other positive features such as F20, F8, F12, and F5. On the other hand, shifting the decision in the opposite direction are the negative features such as F21, F22, F19, F1, and F10. However, compared to F4, F3, and F7, the joint influence of the negative features mentioned above is weak. Finally, the values of the features F13 and F2, both with almost zero attributions, are not relevant when it comes to deciding the correct label for this case.
[ "0.54", "0.36", "0.28", "-0.10", "0.09", "0.09", "0.08", "-0.07", "0.05", "-0.05", "0.05", "-0.05", "-0.05", "0.04", "-0.04", "0.03", "-0.03", "0.03", "0.03", "-0.02", "0.00", "0.00" ]
[ "positive", "positive", "positive", "negative", "positive", "positive", "positive", "negative", "positive", "negative", "positive", "negative", "negative", "positive", "negative", "positive", "negative", "positive", "positive", "negative", "negligible", "negligible" ]
140
70
{'C2': '0.00%', 'C1': '100.00%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F21, F20 and F8) with moderate impact on the prediction made for this test case." ]
[ "F4", "F3", "F7", "F21", "F20", "F8", "F12", "F22", "F5", "F19", "F17", "F1", "F10", "F11", "F14", "F16", "F9", "F18", "F15", "F6", "F13", "F2" ]
{'F4': 'Inflight wifi service', 'F3': 'Type of Travel', 'F7': 'Customer Type', 'F21': 'Online boarding', 'F20': 'On-board service', 'F8': 'Baggage handling', 'F12': 'Inflight service', 'F22': 'Departure\\/Arrival time convenient', 'F5': 'Leg room service', 'F19': 'Inflight entertainment', 'F17': 'Seat comfort', 'F1': 'Class', 'F10': 'Departure Delay in Minutes', 'F11': 'Cleanliness', 'F14': 'Gate location', 'F16': 'Gender', 'F9': 'Arrival Delay in Minutes', 'F18': 'Age', 'F15': 'Ease of Online booking', 'F6': 'Flight Distance', 'F13': 'Food and drink', 'F2': 'Checkin service'}
{'F7': 'F4', 'F4': 'F3', 'F2': 'F7', 'F12': 'F21', 'F15': 'F20', 'F17': 'F8', 'F19': 'F12', 'F8': 'F22', 'F16': 'F5', 'F14': 'F19', 'F13': 'F17', 'F5': 'F1', 'F21': 'F10', 'F20': 'F11', 'F10': 'F14', 'F1': 'F16', 'F22': 'F9', 'F3': 'F18', 'F9': 'F15', 'F6': 'F6', 'F11': 'F13', 'F18': 'F2'}
{'C1': 'C2', 'C2': 'C1'}
satisfied
{'C2': 'neutral or dissatisfied', 'C1': 'satisfied'}
SVC
C1
German Credit Evaluation
For the case under consideration here, there is a 70.83% probability that the true label is C1 and what this means is that there is also a 29.71% chance that C2 could be the correct label. Among the features, the top two most impactful are F1 and F4. The next features, ranked in order of the magnitude of their respective attribution are F5, F7, F8, F9, F6, F3, and F2. Out of the nine features, only three of them have values pushing for the prediction of label C2 while the rest are referred to as positive features given that their values motivate the prediction of class C1. The three attributes with the negative impact, shifting the prediction decision away from C1, are F4, F5, and F7. The collective influence of positive features is higher than that of negative features F4, F5, and F7.
[ "0.13", "-0.05", "-0.05", "-0.05", "0.03", "0.02", "0.01", "0.00", "0.00" ]
[ "positive", "negative", "negative", "negative", "positive", "positive", "positive", "positive", "positive" ]
136
67
{'C1': '70.83%', 'C2': '29.17%'}
[ "Provide a statement summarizing the prediction made for the test case.", "For the current test instance, describe the direction of influence of the following features: F1, F4, F5, F7 and F8.", "Compare and contrast the impact of the following features (F9, F6 and F3) on the model’s prediction of C1.", "Describe the degree of impact of the following features: F2?" ]
[ "F1", "F4", "F5", "F7", "F8", "F9", "F6", "F3", "F2" ]
{'F1': 'Checking account', 'F4': 'Duration', 'F5': 'Housing', 'F7': 'Saving accounts', 'F8': 'Sex', 'F9': 'Age', 'F6': 'Purpose', 'F3': 'Job', 'F2': 'Credit amount'}
{'F6': 'F1', 'F8': 'F4', 'F4': 'F5', 'F5': 'F7', 'F2': 'F8', 'F1': 'F9', 'F9': 'F6', 'F3': 'F3', 'F7': 'F2'}
{'C1': 'C1', 'C2': 'C2'}
Good Credit
{'C1': 'Good Credit', 'C2': 'Bad Credit'}
BernoulliNB
C1
German Credit Evaluation
The algorithm labels the data given as C1 and the prediction probabilities across the possible labels C1 and C2, respectively, are 51.39% and 48.61%. Judging based on the prediction probabilities, the algorithm shows signs of uncertainty in the above decision. F7, F8, F6, and F1 are the primary contributors to the classification verdict here. The contributions of F1, F2, and F3 are moderate, while those of F9, F5, and F8 are lower compared to the other variables. Positively supporting the classification are F7, F6, F5, and F4, while all the remaining variables have a negative impact that decreases the probability of C1 being the correct label. F8, F1, and F2 are negative variables that can be blamed for the uncertainty in the classification decision being made here.
[ "0.22", "-0.22", "0.18", "-0.05", "-0.05", "-0.04", "-0.02", "0.02", "0.01" ]
[ "positive", "negative", "positive", "negative", "negative", "negative", "negative", "positive", "positive" ]
341
458
{'C1': '51.39%', 'C2': '48.61%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F2, F3 and F9) with moderate impact on the prediction made for this test case." ]
[ "F7", "F8", "F6", "F1", "F2", "F3", "F9", "F5", "F4" ]
{'F7': 'Housing', 'F8': 'Checking account', 'F6': 'Sex', 'F1': 'Purpose', 'F2': 'Job', 'F3': 'Duration', 'F9': 'Credit amount', 'F5': 'Age', 'F4': 'Saving accounts'}
{'F4': 'F7', 'F6': 'F8', 'F2': 'F6', 'F9': 'F1', 'F3': 'F2', 'F8': 'F3', 'F7': 'F9', 'F1': 'F5', 'F5': 'F4'}
{'C1': 'C1', 'C2': 'C2'}
Good Credit
{'C1': 'Good Credit', 'C2': 'Bad Credit'}
GradientBoostingClassifier
C2
Health Care Services Satisfaction Prediction
The label assignment decision is solely based on the values of the different input features passed to the classification algorithm since the values of these features are used as the basis to make the prediction judgments. The likelihood of any of the classes C2 and C1 being the correct label is 76.26% and 23.74%, respectively, therefore, it is valid to assert that the true label for this case is C2. From the attribution analysis, F14, F6, and F11 have the highest contribution to the decision, whilst F16 and F13 are the least relevant features. In between these two ends are the moderately influential features, such as F8, F10, F9, F15, and F1. Furthermore, the negative features F6, F9, F3, F7, F2, F4, and F16 can be blamed for the fact that the algorithm is not 100.0% certain about the labelling decision and this mainly because the negative features contribute towards choosing C1 instead of C2. Conversely, the positive features such as F14, F11, F8, F10, F15, F1, and F5 are the ones driving the decision higher towards C2.
[ "0.10", "0.06", "-0.05", "0.05", "0.04", "-0.03", "0.03", "0.03", "0.03", "-0.02", "0.01", "-0.01", "-0.01", "-0.01", "-0.00", "0.00" ]
[ "positive", "positive", "negative", "positive", "positive", "negative", "positive", "positive", "positive", "negative", "positive", "negative", "negative", "negative", "negative", "positive" ]
35
389
{'C1': '23.74%', 'C2': '76.26%'}
[ "Summarize the prediction for the given test example?", "In two sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Compare and contrast the impact of the following attributes (F9 (value equal to V3), F15 (with a value equal to V3) and F1 (equal to V2)) on the model’s prediction of C2.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F14", "F11", "F6", "F8", "F10", "F9", "F15", "F1", "F5", "F3", "F12", "F7", "F2", "F4", "F16", "F13" ]
{'F14': 'Exact diagnosis', 'F11': 'avaliablity of drugs', 'F6': 'lab services', 'F8': 'friendly health care workers', 'F10': 'Communication with dr', 'F9': 'Time waiting', 'F15': 'Specialists avaliable', 'F1': 'Modern equipment', 'F5': 'waiting rooms', 'F3': 'Check up appointment', 'F12': 'Hygiene and cleaning', 'F7': 'Admin procedures', 'F2': 'Time of appointment', 'F4': 'hospital rooms quality', 'F16': 'parking, playing rooms, caffes', 'F13': 'Quality\\/experience dr.'}
{'F9': 'F14', 'F13': 'F11', 'F12': 'F6', 'F11': 'F8', 'F8': 'F10', 'F2': 'F9', 'F7': 'F15', 'F10': 'F1', 'F14': 'F5', 'F1': 'F3', 'F4': 'F12', 'F3': 'F7', 'F5': 'F2', 'F15': 'F4', 'F16': 'F16', 'F6': 'F13'}
{'C1': 'C1', 'C2': 'C2'}
Satisfied
{'C1': 'Dissatisfied', 'C2': 'Satisfied'}
LogisticRegression
C1
Broadband Sevice Signup
Here the classifier labels the given case as C1 with a moderately high confidence level. Specifically, the prediction likelihood of class C2 is only 21.67%. The main drivers for the classification above are F26, F36, F18, and F34. Among these top features, F26 and F36 have the most significant influence on the classification outcome, and they happen to have positive contributions, increasing the likelihood of class C1. On the other hand, the F34, F18, and F14 have a moderate negative contribution, reducing the odds of a C1 prediction. F8, F19, F16, and F39 are other notable positive features, while F20, F11, F33, and F1 are notable negative features. However, the classifier did not take into account all of the input features when arriving at the above-mentioned classification verdict; the features including F41, F37, and F30 are deemed irrelevant. To summarise, considering the attributions of influential features such as F26, F36, and F34, it is evident why the classifier is quite certain that C1 is the most probable label for the given case.
[ "0.39", "0.31", "-0.10", "-0.08", "-0.06", "0.05", "0.05", "0.04", "-0.04", "-0.04", "-0.04", "-0.03", "-0.03", "-0.03", "0.03", "-0.03", "-0.02", "0.02", "-0.02", "0.02", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00" ]
[ "positive", "positive", "negative", "negative", "negative", "positive", "positive", "positive", "negative", "negative", "negative", "negative", "negative", "negative", "positive", "negative", "negative", "positive", "negative", "positive", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible" ]
262
172
{'C2': '21.67%', 'C1': '78.33%'}
[ "Provide a statement summarizing the prediction made for the test case.", "For the current test instance, describe the direction of influence of the following features: F26, F36 and F34.", "Compare and contrast the impact of the following features (F18, F14 and F8) on the model’s prediction of C1.", "Describe the degree of impact of the following features: F19, F16, F20 and F11?" ]
[ "F26", "F36", "F34", "F18", "F14", "F8", "F19", "F16", "F20", "F11", "F33", "F1", "F38", "F21", "F39", "F4", "F17", "F13", "F42", "F23", "F41", "F37", "F30", "F24", "F9", "F31", "F2", "F15", "F6", "F7", "F12", "F5", "F25", "F3", "F40", "F22", "F35", "F27", "F28", "F10", "F32", "F29" ]
{'F26': 'X38', 'F36': 'X32', 'F34': 'X3', 'F18': 'X22', 'F14': 'X16', 'F8': 'X25', 'F19': 'X41', 'F16': 'X35', 'F20': 'X4', 'F11': 'X19', 'F33': 'X12', 'F1': 'X11', 'F38': 'X1', 'F21': 'X10', 'F39': 'X28', 'F4': 'X18', 'F17': 'X21', 'F13': 'X36', 'F42': 'X42', 'F23': 'X27', 'F41': 'X34', 'F37': 'X2', 'F30': 'X37', 'F24': 'X39', 'F9': 'X40', 'F31': 'X5', 'F2': 'X33', 'F15': 'X24', 'F6': 'X31', 'F7': 'X30', 'F12': 'X26', 'F5': 'X23', 'F25': 'X20', 'F3': 'X17', 'F40': 'X15', 'F22': 'X14', 'F35': 'X13', 'F27': 'X9', 'F28': 'X8', 'F10': 'X7', 'F32': 'X6', 'F29': 'X29'}
{'F35': 'F26', 'F29': 'F36', 'F2': 'F34', 'F20': 'F18', 'F14': 'F14', 'F23': 'F8', 'F39': 'F19', 'F32': 'F16', 'F3': 'F20', 'F17': 'F11', 'F10': 'F33', 'F9': 'F1', 'F40': 'F38', 'F8': 'F21', 'F26': 'F39', 'F16': 'F4', 'F19': 'F17', 'F33': 'F13', 'F38': 'F42', 'F25': 'F23', 'F31': 'F41', 'F1': 'F37', 'F34': 'F30', 'F36': 'F24', 'F37': 'F9', 'F41': 'F31', 'F30': 'F2', 'F22': 'F15', 'F28': 'F6', 'F27': 'F7', 'F24': 'F12', 'F21': 'F5', 'F18': 'F25', 'F15': 'F3', 'F13': 'F40', 'F12': 'F22', 'F11': 'F35', 'F7': 'F27', 'F6': 'F28', 'F5': 'F10', 'F4': 'F32', 'F42': 'F29'}
{'C1': 'C2', 'C2': 'C1'}
Yes
{'C2': 'No', 'C1': 'Yes'}
LogisticRegression
C3
Cab Surge Pricing System
The label assigned in this case by the classifier is C3, with a moderately high prediction confidence of 66.11%. Since the confidence level with respect to this C3 is not 100.0%, it is possible that one of the other labels is the true or correct label, and C2 is the next most likely label. The input variables F4, F5, F3, and F6 have a significant impact on the abovementioned prediction judgement. The value of features F4, F3, F9, and F11 contributes positively to the C3 label, instead of the other labels. F5, F6, F1, and F2 are the variables having a contradictory influence, shifting the final decision in the direction of the other labels. The remaining positive variables are F8, F12, F10, and F7. Of all the predictors, the ones that contributed the least to the prediction included F1, F10, F2, and F7. In summary, given the attributions of the predictors, it is clear why the classifier indicates that C3 is the correct class in this scenario.
[ "0.41", "-0.03", "0.03", "-0.02", "0.02", "0.02", "0.01", "0.01", "-0.00", "0.00", "-0.00", "0.00" ]
[ "positive", "negative", "positive", "negative", "positive", "positive", "positive", "positive", "negative", "positive", "negative", "positive" ]
133
231
{'C2': '31.78%', 'C3': '66.11%', 'C1': '2.11%'}
[ "Provide a statement summarizing the ranking of the features as shown in the feature impact plot.", "Summarize the direction of influence of the features (F4, F5 and F3) on the prediction made for this test case.", "Compare the direction of impact of the features: F6, F9 and F11.", "Describe the degree of impact of the following features: F8, F12, F1 and F10?" ]
[ "F4", "F5", "F3", "F6", "F9", "F11", "F8", "F12", "F1", "F10", "F2", "F7" ]
{'F4': 'Type_of_Cab', 'F5': 'Trip_Distance', 'F3': 'Destination_Type', 'F6': 'Cancellation_Last_1Month', 'F9': 'Confidence_Life_Style_Index', 'F11': 'Life_Style_Index', 'F8': 'Gender', 'F12': 'Var3', 'F1': 'Customer_Since_Months', 'F10': 'Var1', 'F2': 'Customer_Rating', 'F7': 'Var2'}
{'F2': 'F4', 'F1': 'F5', 'F6': 'F3', 'F8': 'F6', 'F5': 'F9', 'F4': 'F11', 'F12': 'F8', 'F11': 'F12', 'F3': 'F1', 'F9': 'F10', 'F7': 'F2', 'F10': 'F7'}
{'C1': 'C2', 'C2': 'C3', 'C3': 'C1'}
C2
{'C2': 'Low', 'C3': 'Medium', 'C1': 'High'}
SVM_poly
C1
Mobile Price-Range Classification
The classification assertions arrived here are mainly based on the influence and contributions of the different input variables. The prediction probabilities across the four possible classes C3, C2, C4, and C1 are 0.05%, 0.04%, 0.47%, and 99.45%, respectively. Therefore according to the classifier, the most likely class label for the case under investigation is C1 and it is quite sure that neither C4 nor C3 nor C2 is the true label here. The influence of F11 is shown to be the major contributing factor resulting in the prediction decision made by the classifier and the contributions of the remaining features such as F6, F15, F12, and F8 are moderately low compared to that of F11. The strong positive influence of F11 coupled with other positive features such as F12, F20, and F8 can explain the very high confidence level in the prediction decision. On the flip-side, the input features F6, F15, and F17 are considered negatives since their attributions marginally reduce the prediction probability of the C1 label.
[ "0.78", "0.11", "-0.10", "-0.07", "0.04", "-0.04", "0.03", "-0.03", "0.03", "-0.02", "-0.02", "-0.02", "0.01", "-0.01", "-0.01", "-0.01", "0.01", "-0.00", "-0.00", "-0.00" ]
[ "positive", "positive", "negative", "negative", "positive", "negative", "positive", "negative", "positive", "negative", "negative", "negative", "positive", "negative", "negative", "negative", "positive", "negative", "negative", "negative" ]
448
405
{'C1': '99.45%', 'C4': '0.47%', 'C2': '0.04%', 'C3': '0.05%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F15, F8 and F17) with moderate impact on the prediction made for this test case." ]
[ "F11", "F12", "F6", "F15", "F8", "F17", "F20", "F16", "F4", "F18", "F10", "F1", "F5", "F13", "F7", "F14", "F3", "F19", "F2", "F9" ]
{'F11': 'ram', 'F12': 'battery_power', 'F6': 'px_height', 'F15': 'px_width', 'F8': 'dual_sim', 'F17': 'four_g', 'F20': 'touch_screen', 'F16': 'int_memory', 'F4': 'pc', 'F18': 'n_cores', 'F10': 'fc', 'F1': 'clock_speed', 'F5': 'three_g', 'F13': 'sc_w', 'F7': 'wifi', 'F14': 'm_dep', 'F3': 'mobile_wt', 'F19': 'talk_time', 'F2': 'sc_h', 'F9': 'blue'}
{'F11': 'F11', 'F1': 'F12', 'F9': 'F6', 'F10': 'F15', 'F16': 'F8', 'F17': 'F17', 'F19': 'F20', 'F4': 'F16', 'F8': 'F4', 'F7': 'F18', 'F3': 'F10', 'F2': 'F1', 'F18': 'F5', 'F13': 'F13', 'F20': 'F7', 'F5': 'F14', 'F6': 'F3', 'F14': 'F19', 'F12': 'F2', 'F15': 'F9'}
{'C1': 'C1', 'C2': 'C4', 'C3': 'C2', 'C4': 'C3'}
r1
{'C1': 'r1', 'C4': 'r2', 'C2': 'r3', 'C3': 'r4'}
BernoulliNB
C2
Job Change of Data Scientists
The prediction likelihood of class C2 is 84.87%, making it the most probable label for the given case. When making the above prediction, the most relevant features considered are F2, F7, F1, and F3. Conversely, F10, F11, and F9 are the least influential features, with their values receiving little consideration from the model regarding this classification. Assessing the direction of influence or contribution of the features suggest that there is a split between the number of features with a negative influence and those with a positive influence. However, only two of the negative features, F7 and F6, have a somewhat high influence; the others , F5, F10, F11, and F8, have a lower negative influence. To put it concisely, the combined influence of the positive features, such as F2, F3, F4, F12, and F1, outweighs that of all the negative features combined, therefore, it is entirely plausible to see such confidence level of the model for the classification here.
[ "0.36", "0.24", "-0.17", "0.15", "-0.09", "0.09", "0.04", "0.03", "-0.02", "-0.01", "-0.00", "-0.00" ]
[ "positive", "positive", "negative", "positive", "negative", "positive", "positive", "positive", "negative", "negative", "negative", "negative" ]
248
158
{'C1': '15.13%', 'C2': '84.87%'}
[ "In a single sentence, state the prediction output of the model for the selected test case along with the confidence level of the prediction (if applicable).", "In no less three sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Describe the degree of impact of the following features: F4, F9 and F5?" ]
[ "F2", "F3", "F7", "F1", "F6", "F12", "F4", "F9", "F5", "F10", "F11", "F8" ]
{'F2': 'city', 'F3': 'enrolled_university', 'F7': 'relevent_experience', 'F1': 'city_development_index', 'F6': 'experience', 'F12': 'education_level', 'F4': 'major_discipline', 'F9': 'last_new_job', 'F5': 'gender', 'F10': 'company_size', 'F11': 'company_type', 'F8': 'training_hours'}
{'F3': 'F2', 'F6': 'F3', 'F5': 'F7', 'F1': 'F1', 'F9': 'F6', 'F7': 'F12', 'F8': 'F4', 'F12': 'F9', 'F4': 'F5', 'F10': 'F10', 'F11': 'F11', 'F2': 'F8'}
{'C1': 'C1', 'C2': 'C2'}
Leave
{'C1': 'Stay', 'C2': 'Leave'}
MLPClassifier
C2
Annual Income Earnings
With respect to the given case, the most probable label for the given case is C2, with a 99.81% chance of being the correct label, therefore the probability of C1 is only 0.19% for this case. Among the input variables, only four features are shown to have a negative influence on the classification decision above: F3, F14, F12, and F5 since their contributions to the decision only favour labelling the given case as C1 instead. On the flip side, pushing the classification strongly towards C2 are the features F8, F6, F7, and F1 explaining the very high confidence in the choice of label assigned here.
[ "0.60", "0.17", "0.14", "0.12", "0.08", "0.07", "-0.06", "-0.04", "0.03", "0.02", "-0.02", "0.02", "-0.01", "0.00" ]
[ "positive", "positive", "positive", "positive", "positive", "positive", "negative", "negative", "positive", "positive", "negative", "positive", "negative", "positive" ]
36
393
{'C2': '99.81%', 'C1': '0.19%'}
[ "Summarize the prediction for the given test example?", "For this test case, summarize the top features influencing the model's decision.", "For these top features, what are the respective directions of influence on the prediction?", "Provide a statement on the set of features has limited impact on the prediction of C2 by the model for the given test example?" ]
[ "F8", "F6", "F7", "F1", "F10", "F4", "F3", "F14", "F2", "F13", "F12", "F9", "F5", "F11" ]
{'F8': 'Capital Gain', 'F6': 'Marital Status', 'F7': 'Capital Loss', 'F1': 'Age', 'F10': 'Hours per week', 'F4': 'Education', 'F3': 'Occupation', 'F14': 'Country', 'F2': 'Relationship', 'F13': 'Workclass', 'F12': 'Sex', 'F9': 'fnlwgt', 'F5': 'Education-Num', 'F11': 'Race'}
{'F11': 'F8', 'F6': 'F6', 'F12': 'F7', 'F1': 'F1', 'F13': 'F10', 'F4': 'F4', 'F7': 'F3', 'F14': 'F14', 'F8': 'F2', 'F2': 'F13', 'F10': 'F12', 'F3': 'F9', 'F5': 'F5', 'F9': 'F11'}
{'C1': 'C2', 'C2': 'C1'}
Under 50K
{'C2': 'Under 50K', 'C1': 'Above 50K'}
GaussianNB
C1
Tic-Tac-Toe Strategy
For a particular case, the model predicted the class designation C1 with 75.50% confidence. Based on the attributions analysis, the feature that had the biggest impact on the final labelling decision were the F6 and F1, which happened to strongly support the assignment of label C1. Contributing differently to F6, the feature F3 is the top negative feature, reducing the odds that C1 is the correct label. F7, F4, F3, and F2 have similar influences on the model in terms of the magnitude of their contributions or attributions, however, the directions of their respective effects are different: the features F7 and F4 positively support the model, driving the prediction towards class C1, while F3 and F2 work against it. F9, F5, and F8 are features that have little effect on the model when assigning the label for the given case, and all of them negatively contributed to the C1 class selection. Among all the features with little contribution to the prediction verdict above, F8 is the least relevant.
[ "0.53", "0.15", "0.10", "0.10", "-0.09", "-0.09", "-0.07", "-0.07", "-0.03" ]
[ "positive", "positive", "positive", "positive", "negative", "negative", "negative", "negative", "negative" ]
86
246
{'C2': '24.50%', 'C1': '75.50%'}
[ "Summarize the prediction for the given test example?", "In two sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Compare and contrast the impact of the following attributes (F7 (value equal to V2), F4 (value equal to V2), F3 (when it is equal to V2) and F2 (value equal to V2)) on the model’s prediction of C1.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F6", "F1", "F7", "F4", "F3", "F2", "F9", "F5", "F8" ]
{'F6': 'middle-middle-square', 'F1': ' top-right-square', 'F7': 'bottom-middle-square', 'F4': 'middle-right-square', 'F3': 'bottom-left-square', 'F2': 'bottom-right-square', 'F9': 'top-left-square', 'F5': 'middle-left-square', 'F8': 'top-middle-square'}
{'F5': 'F6', 'F3': 'F1', 'F8': 'F7', 'F6': 'F4', 'F7': 'F3', 'F9': 'F2', 'F1': 'F9', 'F4': 'F5', 'F2': 'F8'}
{'C1': 'C2', 'C2': 'C1'}
player B win
{'C2': 'player B lose', 'C1': 'player B win'}
RandomForestClassifier
C2
Mobile Price-Range Classification
The model reveals that C4 and C3 each has a zero prediction probability, while C1 has a 3.85%. This indicates that C2 is the most likely label for the present context with approximately 96.15% certainty. F7, F11, and F20 are the most important elements driving the above classification, whereas F5, F15, F14, F16, and F13 are the least important. The intermediate elements, which comprise F6, F8, and F12, have varied degrees of influence, ranging from moderate to low. F6 is the only with a negative contribution among the top influential features, F7, F11, F20, F6, and F8, skewing the forecast slightly towards a different possible label. Furthermore, the top two positive elements, F11 and F7, have a greater effect than the sum of all the negative ones.
[ "0.75", "0.11", "0.09", "-0.02", "0.02", "-0.02", "-0.01", "-0.01", "-0.01", "-0.01", "-0.01", "-0.01", "0.01", "0.01", "-0.01", "0.01", "0.00", "-0.00", "-0.00", "-0.00" ]
[ "positive", "positive", "positive", "negative", "positive", "negative", "negative", "negative", "negative", "negative", "negative", "negative", "positive", "positive", "negative", "positive", "positive", "negative", "negative", "negative" ]
247
349
{'C4': '0.00%', 'C3': '0.00%', 'C1': '3.85%', 'C2': '96.15%'}
[ "For this test instance, provide information on the predicted label along with the confidence level of the model's decision.", "Summarize the top features influencing the model's decision along with the respective directions of influence on the prediction?", "Summarize the direction of influence of the features (F20, F6, F8 and F12) with moderate impact on the prediction made for this test case." ]
[ "F11", "F7", "F20", "F6", "F8", "F12", "F18", "F19", "F1", "F17", "F3", "F10", "F9", "F4", "F2", "F5", "F15", "F14", "F16", "F13" ]
{'F11': 'ram', 'F7': 'battery_power', 'F20': 'px_width', 'F6': 'int_memory', 'F8': 'pc', 'F12': 'touch_screen', 'F18': 'four_g', 'F19': 'm_dep', 'F1': 'px_height', 'F17': 'clock_speed', 'F3': 'sc_h', 'F10': 'n_cores', 'F9': 'talk_time', 'F4': 'blue', 'F2': 'dual_sim', 'F5': 'fc', 'F15': 'mobile_wt', 'F14': 'sc_w', 'F16': 'wifi', 'F13': 'three_g'}
{'F11': 'F11', 'F1': 'F7', 'F10': 'F20', 'F4': 'F6', 'F8': 'F8', 'F19': 'F12', 'F17': 'F18', 'F5': 'F19', 'F9': 'F1', 'F2': 'F17', 'F12': 'F3', 'F7': 'F10', 'F14': 'F9', 'F15': 'F4', 'F16': 'F2', 'F3': 'F5', 'F6': 'F15', 'F13': 'F14', 'F20': 'F16', 'F18': 'F13'}
{'C1': 'C4', 'C2': 'C3', 'C3': 'C1', 'C4': 'C2'}
r4
{'C4': 'r1', 'C3': 'r2', 'C1': 'r3', 'C2': 'r4'}
LogisticRegression
C2
House Price Classification
The prediction is that class label C2 is very likely the correct label, given that the associated confidence level is 99.93%. The features F13, F6, and F4 appear to have very smaller or little impact on the prediction of C2 compared to F1, F5, F10, F12, and F9, according to the attribution analysis. F1 and F5 are the features with the highest impact on the model's output prediction verdict above and fortunately the values of these features positively support the C2 classification verdict. Other positive features increasing the odds in favour of C2 include F10, F12, F7, and F8. On the contrarily, the feature F9 negatively influences the model's prediction of C2, shifting the verdict in the opposite direction. It is important to note that, only the features F9, F2, and F4 have negative attributions, while all the remaining ones have positive attributions. The joint positive attribution outweighs the negative attributions from F9, F2, and F4.
[ "0.35", "0.27", "0.21", "0.18", "-0.16", "0.07", "0.07", "0.06", "-0.04", "0.03", "-0.02", "0.01", "0.00" ]
[ "positive", "positive", "positive", "positive", "negative", "positive", "positive", "positive", "negative", "positive", "negative", "positive", "positive" ]
67
22
{'C1': '0.07%', 'C2': '99.93%'}
[ "Summarize the prediction for the given test example?", "In two sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Compare and contrast the impact of the following attributes (F9, F7 and F8) on the model’s prediction of C2.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F1", "F5", "F10", "F12", "F9", "F7", "F8", "F3", "F2", "F11", "F4", "F6", "F13" ]
{'F1': 'LSTAT', 'F5': 'RM', 'F10': 'PTRATIO', 'F12': 'RAD', 'F9': 'CHAS', 'F7': 'TAX', 'F8': 'CRIM', 'F3': 'DIS', 'F2': 'AGE', 'F11': 'B', 'F4': 'ZN', 'F6': 'NOX', 'F13': 'INDUS'}
{'F13': 'F1', 'F6': 'F5', 'F11': 'F10', 'F9': 'F12', 'F4': 'F9', 'F10': 'F7', 'F1': 'F8', 'F8': 'F3', 'F7': 'F2', 'F12': 'F11', 'F2': 'F4', 'F5': 'F6', 'F3': 'F13'}
{'C1': 'C1', 'C2': 'C2'}
High
{'C1': 'Low', 'C2': 'High'}
GaussianNB
C2
Tic-Tac-Toe Strategy
For the given case, the model predicted the class label C2 with a certainty of around 75.50%. By far, the feature with the most impact on the final classification was F4, which positively supports the decision. Feature F7 was the feature that contributed the most to pushing away the classification decision from C2, that is, they are decreasing the likelihood of C2 being the correct label. F1, F5, F7, and F8 all had a similar impact on the classification. However, the direction of influence is different, with features F1 and F5 pushing the model's decision to class C2 and features F7 and F8 doing the opposite. F9, F3, and F6 are the features that had closer to negligible impact on the final classification, all of which had a negative contribution towards class C2.
[ "0.53", "0.15", "0.10", "0.10", "-0.09", "-0.09", "-0.07", "-0.07", "-0.03" ]
[ "positive", "positive", "positive", "positive", "negative", "negative", "negative", "negative", "negative" ]
86
34
{'C1': '24.50%', 'C2': '75.50%'}
[ "Summarize the prediction for the given test example?", "In two sentences, provide a brief overview of the features with a higher impact on the model's output prediction.", "Compare and contrast the impact of the following attributes (F1 (value equal to V2), F5 (value equal to V2), F7 (when it is equal to V2) and F8 (value equal to V2)) on the model’s prediction of C2.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F4", "F2", "F1", "F5", "F7", "F8", "F9", "F3", "F6" ]
{'F4': 'middle-middle-square', 'F2': ' top-right-square', 'F1': 'bottom-middle-square', 'F5': 'middle-right-square', 'F7': 'bottom-left-square', 'F8': 'bottom-right-square', 'F9': 'top-left-square', 'F3': 'middle-left-square', 'F6': 'top-middle-square'}
{'F5': 'F4', 'F3': 'F2', 'F8': 'F1', 'F6': 'F5', 'F7': 'F7', 'F9': 'F8', 'F1': 'F9', 'F4': 'F3', 'F2': 'F6'}
{'C1': 'C1', 'C2': 'C2'}
player B win
{'C1': 'player B lose', 'C2': 'player B win'}
LogisticRegression
C2
Food Ordering Customer Churn Prediction
Judging based on the values of the input features, a decision is made by the classifier to label the given data as C2 with a prediction confidence equal to 84.90%. The major influential features resulting in the classification here are F33, F3, F11, and F29. F33 and F3 are identified as the most negative features, with contributions that lead to a decrease in the classification confidence of label C2. F29 and F11, on the other hand, are the top positive features, leading the classifier to label the case as C2. Other notable negative features are F6, F12, and F38 while other notable positives are F35, F20, F2, and F43. Unlike all those mentioned above, F31, F41, F4, and F10 are among the many irrelevant features with negligible contributions to the classification decision here.
[ "-0.20", "-0.12", "0.11", "0.11", "-0.09", "-0.09", "-0.09", "0.08", "0.08", "0.07", "0.07", "-0.06", "-0.06", "0.06", "0.06", "-0.06", "0.06", "-0.05", "0.05", "0.05", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00" ]
[ "negative", "negative", "positive", "positive", "negative", "negative", "negative", "positive", "positive", "positive", "positive", "negative", "negative", "positive", "positive", "negative", "positive", "negative", "positive", "positive", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible", "negligible" ]
271
178
{'C2': '84.90%', 'C1': '15.10%'}
[ "Summarize the prediction made for the test under consideration along with the likelihood of the different possible class labels.", "Summarize the direction of influence of the variables (F33, F3 and F29) on the prediction made for this test case.", "Compare the direction of impact of the variables: F11, F6 and F12.", "Describe the degree of impact of the following variables: F38, F35, F20 and F2?" ]
[ "F33", "F3", "F29", "F11", "F6", "F12", "F38", "F35", "F20", "F2", "F43", "F1", "F40", "F25", "F17", "F34", "F39", "F27", "F8", "F37", "F31", "F41", "F10", "F4", "F22", "F21", "F28", "F30", "F13", "F42", "F36", "F45", "F44", "F18", "F14", "F7", "F32", "F9", "F15", "F24", "F5", "F23", "F46", "F16", "F19", "F26" ]
{'F33': 'Unaffordable', 'F3': 'Late Delivery', 'F29': 'Good Food quality', 'F11': 'Perference(P2)', 'F6': 'Delay of delivery person picking up food', 'F12': 'Influence of rating', 'F38': 'Wrong order delivered', 'F35': 'Time saving', 'F20': 'Ease and convenient', 'F2': 'Order Time', 'F43': 'Google Maps Accuracy', 'F1': 'Freshness ', 'F40': 'Politeness', 'F25': 'Long delivery time', 'F17': 'Good Road Condition', 'F34': 'High Quality of package', 'F39': 'Monthly Income', 'F27': 'Missing item', 'F8': 'More Offers and Discount', 'F37': 'Unavailability', 'F31': 'Influence of time', 'F41': 'Delivery person ability', 'F10': 'Low quantity low time', 'F4': 'Less Delivery time', 'F22': 'Residence in busy location', 'F21': 'Maximum wait time', 'F28': 'Temperature', 'F30': 'Good Taste ', 'F13': 'Number of calls', 'F42': 'Age', 'F36': 'Order placed by mistake', 'F45': 'Delay of delivery person getting assigned', 'F44': 'Family size', 'F18': 'Bad past experience', 'F14': 'Poor Hygiene', 'F7': 'Health Concern', 'F32': 'Self Cooking', 'F9': 'Good Tracking system', 'F15': 'Easy Payment option', 'F24': 'More restaurant choices', 'F5': 'Perference(P1)', 'F23': 'Educational Qualifications', 'F46': 'Occupation', 'F16': 'Marital Status', 'F19': 'Gender', 'F26': 'Good Quantity'}
{'F23': 'F33', 'F19': 'F3', 'F15': 'F29', 'F9': 'F11', 'F26': 'F6', 'F38': 'F12', 'F27': 'F38', 'F11': 'F35', 'F10': 'F20', 'F31': 'F2', 'F34': 'F43', 'F43': 'F1', 'F42': 'F40', 'F24': 'F25', 'F35': 'F17', 'F40': 'F34', 'F5': 'F39', 'F28': 'F27', 'F14': 'F8', 'F22': 'F37', 'F30': 'F31', 'F37': 'F41', 'F36': 'F10', 'F39': 'F4', 'F33': 'F22', 'F32': 'F21', 'F44': 'F28', 'F45': 'F30', 'F41': 'F13', 'F1': 'F42', 'F29': 'F36', 'F25': 'F45', 'F7': 'F44', 'F21': 'F18', 'F20': 'F14', 'F18': 'F7', 'F17': 'F32', 'F16': 'F9', 'F13': 'F15', 'F12': 'F24', 'F8': 'F5', 'F6': 'F23', 'F4': 'F46', 'F3': 'F16', 'F2': 'F19', 'F46': 'F26'}
{'C1': 'C2', 'C2': 'C1'}
Return
{'C2': 'Return', 'C1': 'Go Away'}