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
3.42k
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
stringlengths
24
48
predicted_class_label
stringlengths
2
23
class2name
stringlengths
25
85
SVM_linear
C1
Wine Quality Prediction
The classifier assigns the label C1 since the probability associated with C1 is greater than that of C2. For the case under consideration, F5, F3, F10, and F7 are the sets of features significantly influencing the decision made by the classifier. However, features such as F4, F11, and F8 have limited to no impact on the classifier's output decision. F3, F5, and F7 are the features that are positively shifting the verdict toward predicting C1, not C2. In contrast, F10, F1, F11, and F8 have negative attributions, implying that they decrease the likelihood of C1 in favour of C2.
[ "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
{'C2': '32.46%', 'C1': '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 (F5, F3, F7 and F10) on the prediction made for this test case.", "Compare the direction of impact of the features: F2, F1 and F6.", "Describe the degree of impact of the following features: F9, F4 and F11?" ]
[ "F5", "F3", "F7", "F10", "F2", "F1", "F6", "F9", "F4", "F11", "F8" ]
{'F5': 'residual sugar', 'F3': 'volatile acidity', 'F7': 'alcohol', 'F10': 'fixed acidity', 'F2': 'chlorides', 'F1': 'sulphates', 'F6': 'citric acid', 'F9': 'free sulfur dioxide', 'F4': 'density', 'F11': 'total sulfur dioxide', 'F8': 'pH'}
{'F4': 'F5', 'F2': 'F3', 'F11': 'F7', 'F1': 'F10', 'F5': 'F2', 'F10': 'F1', 'F3': 'F6', 'F6': 'F9', 'F8': 'F4', 'F7': 'F11', 'F9': 'F8'}
{'C1': 'C2', 'C2': 'C1'}
high quality
{'C2': 'low_quality', 'C1': 'high quality'}
KNeighborsClassifier
C1
Cab Surge Pricing System
The probability that C3 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 C1 given its likelihood of 75.0%. The features are ranked in order of their respective impacts, from most important to least relevant: F5, F3, F11, F9, F10, F4, F2, F7, F12, F6, F1, and F8. 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, F2, F4, F9, F11, and F7, decrease the classifier's response towards the generated class but the F5 value has the strongest positive contribution, increasing the response of the classifier to support the C1 assignment. Lastly, the least ranked features, F12, F6, F1, and F8, have a weak positive effect on the above prediction outcome, further increasing the odds in favour of label C1.
[ "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
{'C2': '25.00%', 'C1': '75.00%', 'C3': '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: F5 and F3.", "Summarize the direction of influence of the features (F11, F9, F10 and F4) 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", "F3", "F11", "F9", "F10", "F4", "F2", "F7", "F12", "F6", "F1", "F8" ]
{'F5': 'Type_of_Cab', 'F3': 'Confidence_Life_Style_Index', 'F11': 'Trip_Distance', 'F9': 'Cancellation_Last_1Month', 'F10': 'Life_Style_Index', 'F4': 'Customer_Since_Months', 'F2': 'Customer_Rating', 'F7': 'Var2', 'F12': 'Destination_Type', 'F6': 'Gender', 'F1': 'Var1', 'F8': 'Var3'}
{'F2': 'F5', 'F5': 'F3', 'F1': 'F11', 'F8': 'F9', 'F4': 'F10', 'F3': 'F4', 'F7': 'F2', 'F10': 'F7', 'F6': 'F12', 'F12': 'F6', 'F9': 'F1', 'F11': 'F8'}
{'C1': 'C2', 'C3': 'C1', 'C2': 'C3'}
C2
{'C2': 'Low', 'C1': 'Medium', 'C3': '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 F4, F7, and F2, while on the contrary, the least relevant variables are F9 and F1. F4, F3, and F2 are positive variables that boost the classifier's response in favour of C1. The primary negative variables are F7 and F5, however they have a little impact on the above classification when compared to F4. 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: F1?" ]
[ "F4", "F7", "F2", "F3", "F5", "F8", "F6", "F9", "F1" ]
{'F4': 'CD Account', 'F7': 'Income', 'F2': 'CCAvg', 'F3': 'Securities Account', 'F5': 'Education', 'F8': 'Family', 'F6': 'Mortgage', 'F9': 'Age', 'F1': 'Extra_service'}
{'F8': 'F4', 'F2': 'F7', 'F4': 'F2', 'F7': 'F3', 'F5': 'F5', 'F3': 'F8', 'F6': 'F6', 'F1': 'F9', 'F9': 'F1'}
{'C1': 'C1', 'C2': 'C2'}
Reject
{'C1': 'Reject', 'C2': 'Accept'}
BernoulliNB
C1
Hotel Satisfaction
The given case is labelled as C1 since it has a prediction probability of 98.33% which implies that C2 is the least probable label. The higher confidence in the assigned label is mainly due to the contributions of input features F7, F11, and F8. In contrast, F2, F4, and F6 are the least ranked features. Based on feature attribution analysis, the top features F7, F11, and F8 have a strong positive influence, increasing the response of the classifier to assigning the label C1. Furthermore, pushing the decision further towards C1 are the other positive features such as F9, F1, F15, and F10. Supporting the prediction of the least probable class are the features F13, F14, F3, F12, and F6. 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 C1 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
{'C2': '1.67%', 'C1': '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: F10, F5 and F12?" ]
[ "F7", "F11", "F8", "F13", "F14", "F9", "F1", "F15", "F10", "F5", "F12", "F3", "F2", "F4", "F6" ]
{'F7': 'Type Of Booking', 'F11': 'Type of Travel', 'F8': 'Common Room entertainment', 'F13': 'Stay comfort', 'F14': 'Hotel wifi service', 'F9': 'Checkin\\/Checkout service', 'F1': 'Cleanliness', 'F15': 'Other service', 'F10': 'Age', 'F5': 'Food and drink', 'F12': 'Ease of Online booking', 'F3': 'Departure\\/Arrival convenience', 'F2': 'Hotel location', 'F4': 'Gender', 'F6': 'purpose_of_travel'}
{'F4': 'F7', 'F3': 'F11', 'F12': 'F8', 'F11': 'F13', 'F6': 'F14', 'F13': 'F9', 'F15': 'F1', 'F14': 'F15', 'F5': 'F10', 'F10': 'F5', 'F8': 'F12', 'F7': 'F3', 'F9': 'F2', 'F1': 'F4', 'F2': 'F6'}
{'C1': 'C2', 'C2': 'C1'}
satisfied
{'C2': 'dissatisfied', 'C1': 'satisfied'}
KNeighborsClassifier
C2
Cab Surge Pricing System
The correct label, according to the classifier, is neither C3 nor C1, but C2, 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: F6, F5, F9, F2, F12, F7, F3, F4, F10, F1, F11, and F8. Among the twelve features considered by the classifier for the prediction verdict, seven have a positive influence on the classifier. F9, F2, F3, F7, and F4 are the five negative features that swing the assessment decision towards other classes. The value of F6 has a strong positive contribution to increasing classifier's response, favouring the assigning of C2. The last four features, F10, F1, F11, and F8, 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%', 'C2': '75.00%', 'C1': '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 F5.", "Summarize the direction of influence of the features (F9, F2, F12 and F7) 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", "F5", "F9", "F2", "F12", "F7", "F3", "F4", "F10", "F1", "F11", "F8" ]
{'F6': 'Type_of_Cab', 'F5': 'Confidence_Life_Style_Index', 'F9': 'Trip_Distance', 'F2': 'Cancellation_Last_1Month', 'F12': 'Life_Style_Index', 'F7': 'Customer_Since_Months', 'F3': 'Customer_Rating', 'F4': 'Var2', 'F10': 'Destination_Type', 'F1': 'Gender', 'F11': 'Var1', 'F8': 'Var3'}
{'F2': 'F6', 'F5': 'F5', 'F1': 'F9', 'F8': 'F2', 'F4': 'F12', 'F3': 'F7', 'F7': 'F3', 'F10': 'F4', 'F6': 'F10', 'F12': 'F1', 'F9': 'F11', 'F11': 'F8'}
{'C3': 'C3', 'C1': 'C2', 'C2': 'C1'}
C2
{'C3': 'Low', 'C2': 'Medium', 'C1': 'High'}
KNeighborsClassifier
C1
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: C1 is the most probable label with respect to the case under consideration, since the prediction likelihood of the other label, C2, is only 12.50%. The most important variables contributing to the abovementioned classification are F1, F6, and F18, whereas remaining variables such as F8, F9, F14, F13, and F3 have a modest effect on the classifier's labelling decision for the given case. All the top features positively support the selection of C1 as the correct label and the negative variables increasing the chances of C2 are F15, F7, and F17. Given that these are the variables reducing the classifier's response towards generating label C1, it is not surprising that the classifier is very confident that C1 is likely the true label. In addition, the joint negative attribution of F15, F7, and F17 is very small when compared with the positive attributions of F1, F18, F8, and F6.
[ "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
{'C1': '87.50%', 'C2': '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 (F1, F18 and F6) on the prediction made for this test case.", "Compare the direction of impact of the features: F8, F9 and F14.", "Describe the degree of impact of the following features: F13, F3, F10 and F15?" ]
[ "F1", "F18", "F6", "F8", "F9", "F14", "F13", "F3", "F10", "F15", "F16", "F11", "F12", "F19", "F4", "F7", "F2", "F17", "F5" ]
{'F1': 'GamesPlayed', 'F18': 'OffensiveRebounds', 'F6': 'FieldGoalPercent', 'F8': 'FreeThrowMade', 'F9': 'FreeThrowPercent', 'F14': 'Rebounds', 'F13': 'FreeThrowAttempt', 'F3': 'FieldGoalsMade', 'F10': 'PointsPerGame', 'F15': '3PointAttempt', 'F16': 'DefensiveRebounds', 'F11': 'MinutesPlayed', 'F12': 'Blocks', 'F19': 'Turnovers', 'F4': '3PointPercent', 'F7': 'Assists', 'F2': 'FieldGoalsAttempt', 'F17': '3PointMade', 'F5': 'Steals'}
{'F1': 'F1', 'F13': 'F18', 'F6': 'F6', 'F10': 'F8', 'F12': 'F9', 'F15': 'F14', 'F11': 'F13', 'F4': 'F3', 'F3': 'F10', 'F8': 'F15', 'F14': 'F16', 'F2': 'F11', 'F18': 'F12', 'F19': 'F19', 'F9': 'F4', 'F16': 'F7', 'F5': 'F2', 'F7': 'F17', 'F17': 'F5'}
{'C2': 'C1', 'C1': 'C2'}
More than 5
{'C1': 'More than 5', 'C2': 'Less than 5'}
DecisionTreeClassifier
C2
Concrete Strength Classification
According to the classification algorithm or model, C2 is the most likely class, with a very high confidence level, and C1 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: F4, F5, F6, F2, F1, F7, F8, and F3. It is clear from the attributions of the input attributes that the algorithm is quite certain that C1 is not the proper label for the given case since each attribute contributes positively, resulting in a significant push towards C2.
[ "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
{'C2': '100.00%', 'C1': '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: F4?" ]
[ "F3", "F8", "F7", "F1", "F2", "F6", "F5", "F4" ]
{'F3': 'age_days', 'F8': 'superplasticizer', 'F7': 'cement', 'F1': 'coarseaggregate', 'F2': 'fineaggregate', 'F6': 'water', 'F5': 'slag', 'F4': 'flyash'}
{'F8': 'F3', 'F5': 'F8', 'F1': 'F7', 'F6': 'F1', 'F7': 'F2', 'F4': 'F6', 'F2': 'F5', 'F3': 'F4'}
{'C1': 'C2', 'C2': 'C1'}
Weak
{'C2': 'Weak', 'C1': 'Strong'}
RandomForestClassifier
C3
Mobile Price-Range Classification
The model indicates that C4 and C1 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 F10, F14, and F7, while the least relevant features are F3, F4, F17, F16, and F19. The intermediate features have varying degrees of influence, from moderate to low, and these include F11, F13, and F1. Among the top influential features, only F11 has a negative contribution, driving the prediction slightly towards one of the other possible classes. Furthermore, the top two positive features, F14 and F10, 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
{'C4': '0.00%', 'C1': '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 (F7, F11, F13 and F1) with moderate impact on the prediction made for this test case." ]
[ "F14", "F10", "F7", "F11", "F13", "F1", "F18", "F2", "F6", "F20", "F12", "F5", "F15", "F8", "F9", "F16", "F4", "F17", "F3", "F19" ]
{'F14': 'ram', 'F10': 'battery_power', 'F7': 'px_width', 'F11': 'int_memory', 'F13': 'pc', 'F1': 'touch_screen', 'F18': 'four_g', 'F2': 'm_dep', 'F6': 'px_height', 'F20': 'clock_speed', 'F12': 'sc_h', 'F5': 'n_cores', 'F15': 'talk_time', 'F8': 'blue', 'F9': 'dual_sim', 'F16': 'fc', 'F4': 'mobile_wt', 'F17': 'sc_w', 'F3': 'wifi', 'F19': 'three_g'}
{'F11': 'F14', 'F1': 'F10', 'F10': 'F7', 'F4': 'F11', 'F8': 'F13', 'F19': 'F1', 'F17': 'F18', 'F5': 'F2', 'F9': 'F6', 'F2': 'F20', 'F12': 'F12', 'F7': 'F5', 'F14': 'F15', 'F15': 'F8', 'F16': 'F9', 'F3': 'F16', 'F6': 'F4', 'F13': 'F17', 'F20': 'F3', 'F18': 'F19'}
{'C1': 'C4', 'C4': 'C1', 'C2': 'C2', 'C3': 'C3'}
r4
{'C4': 'r1', 'C1': 'r2', 'C2': 'r3', 'C3': 'r4'}
SVM_poly
C4
Mobile Price-Range Classification
The predicted output label from the model is C4 with almost 100% certainty, indicating it is very certain it is correct and this is mainly because the likelihoods across the other labels C3, C1, and C2 are 0.47%, 0.05%, and 0.04%, respectively. Among the top features F11, F12, and F5, the features F5 and F12 positively influence the classification decision above in the direction of C4, whereas F11 influences in the opposite direction in favour of an alternative label. With a similar direction of influence as F11, the features F14, F4, F19, and F20 negatively impact the prediction of C4, whereas F2 positively impacts it. Features F17, F4, F15, and F9 also have a smaller influence on the prediction output for the given case and finally, the features F13, F16, and F7, 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
{'C4': '99.45%', 'C3': '0.47%', 'C2': '0.04%', 'C1': '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: F5, F12 and F11.", "Compare and contrast the impact of the following features (F14, F2 (value equal to V1) and F20 (value equal to V1)) on the model’s prediction of C4.", "Describe the degree of impact of the following features: F17 (when it is equal to V0), F4, F15 and F9?" ]
[ "F5", "F12", "F11", "F14", "F2", "F20", "F17", "F4", "F15", "F9", "F19", "F8", "F6", "F18", "F1", "F3", "F10", "F7", "F13", "F16" ]
{'F5': 'ram', 'F12': 'battery_power', 'F11': 'px_height', 'F14': 'px_width', 'F2': 'dual_sim', 'F20': 'four_g', 'F17': 'touch_screen', 'F4': 'int_memory', 'F15': 'pc', 'F9': 'n_cores', 'F19': 'fc', 'F8': 'clock_speed', 'F6': 'three_g', 'F18': 'sc_w', 'F1': 'wifi', 'F3': 'm_dep', 'F10': 'mobile_wt', 'F7': 'talk_time', 'F13': 'sc_h', 'F16': 'blue'}
{'F11': 'F5', 'F1': 'F12', 'F9': 'F11', 'F10': 'F14', 'F16': 'F2', 'F17': 'F20', 'F19': 'F17', 'F4': 'F4', 'F8': 'F15', 'F7': 'F9', 'F3': 'F19', 'F2': 'F8', 'F18': 'F6', 'F13': 'F18', 'F20': 'F1', 'F5': 'F3', 'F6': 'F10', 'F14': 'F7', 'F12': 'F13', 'F15': 'F16'}
{'C2': 'C4', 'C3': 'C3', 'C1': 'C2', 'C4': 'C1'}
r1
{'C4': 'r1', 'C3': 'r2', 'C2': 'r3', 'C1': 'r4'}
SVC
C2
Paris House Classification
The prediction probabilities associated with the classes C2 and C1 are 99.56% and 0.44%, respectively. Therefore, we can conclude that the most probable label for the given data is C2. The classification model's decision here is largely based on the impacts of the F6, F8, and F15, whereas the F17, F4, and F14 have very little to say about the decision here. In terms of the direction of influence of the features, F6, F16, F7, F10, and F11 are the top positive features contributing to the prediction outcome of C2. Conversely, the marginal doubt in the classification decision (represented by the probability of C1) is largely due to the negative contributions of F8, F9, F2, and F12. 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
{'C2': '99.56%', 'C1': '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 (F10, F11 and F13) with moderate impact on the prediction made for this test case." ]
[ "F6", "F8", "F15", "F7", "F16", "F10", "F11", "F13", "F2", "F9", "F3", "F1", "F12", "F5", "F4", "F17", "F14" ]
{'F6': 'isNewBuilt', 'F8': 'hasYard', 'F15': 'hasPool', 'F7': 'hasStormProtector', 'F16': 'hasStorageRoom', 'F10': 'made', 'F11': 'numberOfRooms', 'F13': 'basement', 'F2': 'squareMeters', 'F9': 'numPrevOwners', 'F3': 'floors', 'F1': 'garage', 'F12': 'attic', 'F5': 'price', 'F4': 'cityCode', 'F17': 'cityPartRange', 'F14': 'hasGuestRoom'}
{'F3': 'F6', 'F1': 'F8', 'F2': 'F15', 'F4': 'F7', 'F5': 'F16', 'F12': 'F10', 'F7': 'F11', 'F13': 'F13', 'F6': 'F2', 'F11': 'F9', 'F8': 'F3', 'F15': 'F1', 'F14': 'F12', 'F17': 'F5', 'F9': 'F4', 'F10': 'F17', 'F16': 'F14'}
{'C1': 'C2', 'C2': 'C1'}
Basic
{'C2': 'Basic', 'C1': '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. F7, F14, F4, F19, and F3 are among the features that contribute negatively. Furthermore, these features' values are ranked higher than any of the positive features, which are F2, F5, F9, and F18. Finally, it can be concluded that the values of F16, F1, 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: F7, F14 and F4.", "Summarize the direction of influence of the features (F19, F3 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." ]
[ "F7", "F14", "F4", "F19", "F3", "F2", "F17", "F10", "F13", "F12", "F5", "F8", "F9", "F15", "F11", "F18", "F16", "F1", "F6" ]
{'F7': 'GamesPlayed', 'F14': 'OffensiveRebounds', 'F4': 'FieldGoalPercent', 'F19': 'FreeThrowPercent', 'F3': '3PointPercent', 'F2': '3PointAttempt', 'F17': 'FieldGoalsMade', 'F10': 'Blocks', 'F13': 'DefensiveRebounds', 'F12': 'Turnovers', 'F5': 'Rebounds', 'F8': 'FreeThrowAttempt', 'F9': 'MinutesPlayed', 'F15': 'Assists', 'F11': 'FieldGoalsAttempt', 'F18': '3PointMade', 'F16': 'PointsPerGame', 'F1': 'FreeThrowMade', 'F6': 'Steals'}
{'F1': 'F7', 'F13': 'F14', 'F6': 'F4', 'F12': 'F19', 'F9': 'F3', 'F8': 'F2', 'F4': 'F17', 'F18': 'F10', 'F14': 'F13', 'F19': 'F12', 'F15': 'F5', 'F11': 'F8', 'F2': 'F9', 'F16': 'F15', 'F5': 'F11', 'F7': 'F18', 'F3': 'F16', 'F10': 'F1', 'F17': 'F6'}
{'C2': 'C2', 'C1': 'C1'}
Less than 5
{'C2': 'More than 5', 'C1': 'Less than 5'}
KNeighborsClassifier
C1
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 C1 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: F5, F4, F10, F11, F7, F8, F9, F6, F3, F2, F1, and F12. 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 F10, F11, F9, F8, and F6 since their contribution decrease the probability that C1 is the true label for the given case. The value of F5 has the strongest positive contribution increasing the classifier's response in support of assigning C1 but the last four features, F3, F2, F1, and F12, 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
{'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: F5 and F4.", "Summarize the direction of influence of the features (F10, F11, F7 and F8) 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", "F4", "F10", "F11", "F7", "F8", "F9", "F6", "F3", "F2", "F1", "F12" ]
{'F5': 'Type_of_Cab', 'F4': 'Confidence_Life_Style_Index', 'F10': 'Trip_Distance', 'F11': 'Cancellation_Last_1Month', 'F7': 'Life_Style_Index', 'F8': 'Customer_Since_Months', 'F9': 'Customer_Rating', 'F6': 'Var2', 'F3': 'Destination_Type', 'F2': 'Gender', 'F1': 'Var1', 'F12': 'Var3'}
{'F2': 'F5', 'F5': 'F4', 'F1': 'F10', 'F8': 'F11', 'F4': 'F7', 'F3': 'F8', 'F7': 'F9', 'F10': 'F6', 'F6': 'F3', 'F12': 'F2', 'F9': 'F1', 'F11': 'F12'}
{'C1': 'C3', 'C3': 'C1', 'C2': 'C2'}
C2
{'C3': 'Low', 'C1': '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 F8, F13, F3, and F2 while F6, F11, and F12 are the least relevant features. The values of F7, F5, F10, F1, F4, and F9 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 F3, F5, and F9 is clearly outweighed by the positive attributions of features such as F8, F13, F7, and F2.
[ "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 (F3, F2, F7 and F5) with moderate impact on the prediction made for this test case." ]
[ "F13", "F8", "F3", "F2", "F7", "F5", "F10", "F1", "F4", "F9", "F6", "F11", "F12" ]
{'F13': 'CRIM', 'F8': 'LSTAT', 'F3': 'RAD', 'F2': 'AGE', 'F7': 'CHAS', 'F5': 'DIS', 'F10': 'ZN', 'F1': 'TAX', 'F4': 'PTRATIO', 'F9': 'B', 'F6': 'RM', 'F11': 'NOX', 'F12': 'INDUS'}
{'F1': 'F13', 'F13': 'F8', 'F9': 'F3', 'F7': 'F2', 'F4': 'F7', 'F8': 'F5', 'F2': 'F10', 'F10': 'F1', 'F11': 'F4', 'F12': 'F9', 'F6': 'F6', 'F5': 'F11', 'F3': 'F12'}
{'C2': 'C2', 'C1': '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 F8, F12, and F9 have lower contributions to the classifier's decision, F7, F2, and F16 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, F16, F14, F6, F15, F4, F8, and F12. Driving the classifier's decision in favour of C1 are the positive features such as F7, F2, F11, F5, F13, F3, and F1.
[ "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 (F14 (value equal to V3), F13 (with a value equal to V3) and F3 (equal to V2)) on the model’s prediction of C1.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F7", "F2", "F16", "F11", "F5", "F14", "F13", "F3", "F1", "F6", "F10", "F15", "F4", "F8", "F12", "F9" ]
{'F7': 'Exact diagnosis', 'F2': 'avaliablity of drugs', 'F16': 'lab services', 'F11': 'friendly health care workers', 'F5': 'Communication with dr', 'F14': 'Time waiting', 'F13': 'Specialists avaliable', 'F3': 'Modern equipment', 'F1': 'waiting rooms', 'F6': 'Check up appointment', 'F10': 'Hygiene and cleaning', 'F15': 'Admin procedures', 'F4': 'Time of appointment', 'F8': 'hospital rooms quality', 'F12': 'parking, playing rooms, caffes', 'F9': 'Quality\\/experience dr.'}
{'F9': 'F7', 'F13': 'F2', 'F12': 'F16', 'F11': 'F11', 'F8': 'F5', 'F2': 'F14', 'F7': 'F13', 'F10': 'F3', 'F14': 'F1', 'F1': 'F6', 'F4': 'F10', 'F3': 'F15', 'F5': 'F4', 'F15': 'F8', 'F16': 'F12', 'F6': 'F9'}
{'C2': 'C2', 'C1': 'C1'}
Satisfied
{'C2': 'Dissatisfied', 'C1': 'Satisfied'}
SVC
C2
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 C2. Specifically, per the model, the probability of labelling the case as C1 is equal to 48.66%, hence not as likely as C2. The decision made here can be attributed to the influence of features such as F14, F4, F11, F16, and F15. However, F12, F3, F8, F7, and F10 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 F6, F14, F5, F2, F12, F7, and F10. The negative features shift the prediction decision in the direction of C1, however, the positive contributions of other features such as F4, F11, F16, and F15 improve the odds of the C2 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
{'C1': '48.66%', 'C2': '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: F5, F13, F9 and F1?" ]
[ "F14", "F4", "F11", "F16", "F15", "F6", "F5", "F13", "F9", "F1", "F2", "F12", "F3", "F8", "F7", "F10" ]
{'F14': 'lab services', 'F4': 'Specialists avaliable', 'F11': 'Quality\\/experience dr.', 'F16': 'Exact diagnosis', 'F15': 'Hygiene and cleaning', 'F6': 'avaliablity of drugs', 'F5': 'Time waiting', 'F13': 'Check up appointment', 'F9': 'hospital rooms quality', 'F1': 'Modern equipment', 'F2': 'Time of appointment', 'F12': 'friendly health care workers', 'F3': 'Communication with dr', 'F8': 'waiting rooms', 'F7': 'parking, playing rooms, caffes', 'F10': 'Admin procedures'}
{'F12': 'F14', 'F7': 'F4', 'F6': 'F11', 'F9': 'F16', 'F4': 'F15', 'F13': 'F6', 'F2': 'F5', 'F1': 'F13', 'F15': 'F9', 'F10': 'F1', 'F5': 'F2', 'F11': 'F12', 'F8': 'F3', 'F14': 'F8', 'F16': 'F7', 'F3': 'F10'}
{'C2': 'C1', 'C1': 'C2'}
Satisfied
{'C1': 'Dissatisfied', 'C2': 'Satisfied'}
SVC
C2
Flight Price-Range Classification
The prediction results are as follows: the probability that C2 is the correct label is 97.12%, the probability that C3 is the correct label is 2.55%, and the probability that C1 is the correct label is 0.33%. Judging based on the prediction probabilities across the classes, C2 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 F10, F9, F8, F5, and F12. The other positive variables are F1, F6, and F4. The positive variables increase the probability that C2 is the correct label for the given case. Decreasing the probability of C2 are the negative variables F11, F2, F7, and F3. 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 C3 nor C2 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
{'C2': '97.12%', 'C3': '2.55%', 'C1': '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 (F8, F5, F12 and F11) with moderate impact on the prediction made for this test case." ]
[ "F10", "F9", "F8", "F5", "F12", "F11", "F2", "F1", "F7", "F3", "F6", "F4" ]
{'F10': 'Total_Stops', 'F9': 'Airline', 'F8': 'Duration_hours', 'F5': 'Journey_month', 'F12': 'Source', 'F11': 'Journey_day', 'F2': 'Arrival_hour', 'F1': 'Duration_mins', 'F7': 'Arrival_minute', 'F3': 'Dep_hour', 'F6': 'Destination', 'F4': 'Dep_minute'}
{'F12': 'F10', 'F9': 'F9', 'F7': 'F8', 'F2': 'F5', 'F10': 'F12', 'F1': 'F11', 'F5': 'F2', 'F8': 'F1', 'F6': 'F7', 'F3': 'F3', 'F11': 'F6', 'F4': 'F4'}
{'C1': 'C2', 'C2': 'C3', 'C3': 'C1'}
Low
{'C2': 'Low', 'C3': 'Moderate', 'C1': 'High'}
DecisionTreeClassifier
C2
Insurance Churn
C2 is the model's predicted output for this given case, with an accuracy of 87.13% meaning the likelihood of C1 is only 12.87%. F14, F6, F16, F8, and F1 have the most effect on the output prediction choice in this case, whereas on the other hand, F7, F11, F4, and F13 are not that important to the decision made here. F14, F1, and F8 are the top negative features when you consider direction of their respective impacts, decreasing the model's reaction to labelling the given scenario as C2 and also F12, F3, F11, F4, and F13 are the other features that contribute negatively. In a nutshell, F6, F16, F9, F15, and F10 are primarily positive improving the odds of C2 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
{'C2': '87.13%', 'C1': '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: F15, F10 and F12 (equal to V6)?" ]
[ "F14", "F6", "F1", "F16", "F8", "F9", "F15", "F10", "F12", "F2", "F5", "F3", "F7", "F11", "F4", "F13" ]
{'F14': 'feature3', 'F6': 'feature15', 'F1': 'feature11', 'F16': 'feature12', 'F8': 'feature13', 'F9': 'feature14', 'F15': 'feature5', 'F10': 'feature0', 'F12': 'feature7', 'F2': 'feature10', 'F5': 'feature6', 'F3': 'feature4', 'F7': 'feature9', 'F11': 'feature2', 'F4': 'feature8', 'F13': 'feature1'}
{'F13': 'F14', 'F9': 'F6', 'F5': 'F1', 'F6': 'F16', 'F7': 'F8', 'F8': 'F9', 'F15': 'F15', 'F10': 'F10', 'F1': 'F12', 'F4': 'F2', 'F16': 'F5', 'F14': 'F3', 'F3': 'F7', 'F12': 'F11', 'F2': 'F4', 'F11': 'F13'}
{'C1': 'C2', 'C2': 'C1'}
Stay
{'C2': 'Stay', 'C1': 'Leave'}
SVM_linear
C2
Employee Promotion Prediction
The classification model or algorithm classifies the provided data or case as C2 with a predicted likelihood of 94.16%, meaning that the chance of C1 being the true label is only 5.84%. The most relevant features driving the classification above are F11, F9, F10, F3, and F1, however, arranging the input features in-order of their contributions revealed that the least influential features are F8, F2, F6, and F7 since their values receive little consideration or emphasis from the algorithm. In relation to the directions of influence of input features, only F3 and F6 are shown to have negative contributions, which tends to drive the labelling judgement towards C1 instead of C2. Considering that the combined effect of all the negative features is lower than that of the positive features such as F11, F9, F10, F1, F5, and F4, it is valid to say that C2 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
{'C1': '5.84%', 'C2': '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 (F10, F3 (equal to V0), F1 (value equal to V31) and F5 (when it is equal to V0)) with moderate impact on the prediction made for this test case." ]
[ "F11", "F9", "F10", "F3", "F1", "F5", "F4", "F2", "F6", "F7", "F8" ]
{'F11': 'department', 'F9': 'avg_training_score', 'F10': 'KPIs_met >80%', 'F3': 'recruitment_channel', 'F1': 'region', 'F5': 'education', 'F4': 'length_of_service', 'F2': 'age', 'F6': 'no_of_trainings', 'F7': 'gender', 'F8': 'previous_year_rating'}
{'F1': 'F11', 'F11': 'F9', 'F10': 'F10', 'F5': 'F3', 'F2': 'F1', 'F3': 'F5', 'F9': 'F4', 'F7': 'F2', 'F6': 'F6', 'F4': 'F7', 'F8': 'F8'}
{'C2': 'C1', 'C1': 'C2'}
Promote
{'C1': 'Ignore', 'C2': 'Promote'}
GradientBoostingClassifier
C1
Basketball Players Career Length Prediction
The final classification made was C1, but with a likelihood of only 55.19%, the model is uncertain about this prediction. By far, feature F16 had the most impact and following F16 are F3, F15, and F6 have been identified as having the comparable influence on classification. The combination of F16, F3, F15, F6, and F7 features has shifted the classification decision from C1 to C2. While F1, F12, and F19 are all features with a moderate impact on the classification, F1 is the only one of that set that has had a positive impact on the C1 classification and the remaining positives are F11, F9, and F2. Lastly, the features F4, F5, F14, F17, and F10 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
{'C2': '44.81%', 'C1': '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: F16, F3, F15, F6 and F7.", "Summarize the direction of influence of the features (F1, F12 and F19) 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", "F3", "F15", "F6", "F7", "F1", "F12", "F19", "F8", "F13", "F11", "F9", "F18", "F2", "F4", "F5", "F14", "F17", "F10" ]
{'F16': 'GamesPlayed', 'F3': 'OffensiveRebounds', 'F15': 'FieldGoalPercent', 'F6': 'FreeThrowPercent', 'F7': '3PointPercent', 'F1': '3PointAttempt', 'F12': 'FieldGoalsMade', 'F19': 'Blocks', 'F8': 'DefensiveRebounds', 'F13': 'Turnovers', 'F11': 'Rebounds', 'F9': 'MinutesPlayed', 'F18': 'FreeThrowAttempt', 'F2': '3PointMade', 'F4': 'Assists', 'F5': 'PointsPerGame', 'F14': 'FreeThrowMade', 'F17': 'FieldGoalsAttempt', 'F10': 'Steals'}
{'F1': 'F16', 'F13': 'F3', 'F6': 'F15', 'F12': 'F6', 'F9': 'F7', 'F8': 'F1', 'F4': 'F12', 'F18': 'F19', 'F14': 'F8', 'F19': 'F13', 'F15': 'F11', 'F2': 'F9', 'F11': 'F18', 'F7': 'F2', 'F16': 'F4', 'F3': 'F5', 'F10': 'F14', 'F5': 'F17', 'F17': 'F10'}
{'C1': 'C2', 'C2': 'C1'}
Less than 5
{'C2': 'More than 5', 'C1': 'Less than 5'}
BernoulliNB
C2
Personal Loan Modelling
Based on the prediction probabilities, C2 is the most likely label for the given case considering the values of the input variables and because the likelihood of C1 is very marginal, so the classifier is very confident that C2 is the right label. An analysis of the contributions of the variables has shown that F4 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, F8 and F9. 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. F4, F1, and F6 are the top positive variables that increase the likelihood of C2. Having a different direction of influence, F7, F9, F8, and F3 are the negative factors, but compared to F4, 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
{'C2': '99.99%', 'C1': '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: F8?" ]
[ "F4", "F7", "F6", "F1", "F3", "F5", "F2", "F9", "F8" ]
{'F4': 'CD Account', 'F7': 'Income', 'F6': 'CCAvg', 'F1': 'Securities Account', 'F3': 'Education', 'F5': 'Family', 'F2': 'Mortgage', 'F9': 'Age', 'F8': 'Extra_service'}
{'F8': 'F4', 'F2': 'F7', 'F4': 'F6', 'F7': 'F1', 'F5': 'F3', 'F3': 'F5', 'F6': 'F2', 'F1': 'F9', 'F9': 'F8'}
{'C1': 'C2', 'C2': 'C1'}
Reject
{'C2': 'Reject', 'C1': '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: F16, F11, F18, and F9 while the least relevant variables are F14, F8, and F2. Positive variables like F9, F18, F1, and F13 increase the model's response in favour of the assigned label. Nevertheless, negative variables such as F16, F6, F7, and F11 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, F16 and F11, 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: F16 and F11.", "Summarize the direction of influence of the features (F18, F9, F13 and F6) 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", "F11", "F18", "F9", "F13", "F6", "F7", "F1", "F12", "F19", "F4", "F20", "F10", "F15", "F5", "F17", "F3", "F14", "F8", "F2" ]
{'F16': 'Feature7', 'F11': 'Feature4', 'F18': 'Feature2', 'F9': 'Feature8', 'F13': 'Feature20', 'F6': 'Feature1', 'F7': 'Feature12', 'F1': 'Feature15', 'F12': 'Feature6', 'F19': 'Feature9', 'F4': 'Feature17', 'F20': 'Feature3', 'F10': 'Feature19', 'F15': 'Feature13', 'F5': 'Feature18', 'F17': 'Feature5', 'F3': 'Feature11', 'F14': 'Feature16', 'F8': 'Feature10', 'F2': 'Feature14'}
{'F11': 'F16', 'F9': 'F11', 'F1': 'F18', 'F3': 'F9', 'F20': 'F13', 'F7': 'F6', 'F15': 'F7', 'F4': 'F1', 'F10': 'F12', 'F12': 'F19', 'F6': 'F4', 'F8': 'F20', 'F5': 'F10', 'F16': 'F15', 'F19': 'F5', 'F2': 'F17', 'F14': 'F3', 'F18': 'F14', 'F13': 'F8', 'F17': 'F2'}
{'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 F9, F4, F8, and F6. For the algorithm, the least relevant feature is F5, 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 F9, F1, F8, and F6 have positive attributions, pushing the algorithm higher towards the C2 label. Negative features such as F4, F7, and F3 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 (F8, F6, F1 and F3) with moderate impact on the prediction made for this test case." ]
[ "F9", "F4", "F8", "F6", "F1", "F3", "F7", "F2", "F5" ]
{'F9': 'bottom-right-square', 'F4': 'middle-middle-square', 'F8': 'bottom-left-square', 'F6': 'middle-left-square', 'F1': 'top-left-square', 'F3': ' top-right-square', 'F7': 'middle-right-square', 'F2': 'top-middle-square', 'F5': 'bottom-middle-square'}
{'F9': 'F9', 'F5': 'F4', 'F7': 'F8', 'F4': 'F6', 'F1': 'F1', 'F3': 'F3', 'F6': 'F7', 'F2': 'F2', 'F8': 'F5'}
{'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, F11, and F2 which are followed in the decreasing order of influence by F3, F7, F9, F5, F14, F4, F15, F12, F13, F6, F1, and F10. Inspecting the direction of influence of the input features showed that, F8, F14, F4, F10, and F11 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 F2, F3, F7, F9, F5, and F15.
[ "-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), F11 (value equal to V0), F2 and F3) on the prediction made for this test case.", "Compare the direction of impact of the features: F7, F9 and F5.", "Describe the degree of impact of the following features: F14, F4 and F15?" ]
[ "F8", "F11", "F2", "F3", "F7", "F9", "F5", "F14", "F4", "F15", "F12", "F13", "F6", "F1", "F10" ]
{'F8': 'Type of Travel', 'F11': 'Type Of Booking', 'F2': 'Common Room entertainment', 'F3': 'Other service', 'F7': 'Stay comfort', 'F9': 'Cleanliness', 'F5': 'Hotel wifi service', 'F14': 'Ease of Online booking', 'F4': 'Checkin\\/Checkout service', 'F15': 'Age', 'F12': 'Food and drink', 'F13': 'Hotel location', 'F6': 'Departure\\/Arrival convenience', 'F1': 'purpose_of_travel', 'F10': 'Gender'}
{'F3': 'F8', 'F4': 'F11', 'F12': 'F2', 'F14': 'F3', 'F11': 'F7', 'F15': 'F9', 'F6': 'F5', 'F8': 'F14', 'F13': 'F4', 'F5': 'F15', 'F10': 'F12', 'F9': 'F13', 'F7': 'F6', 'F2': 'F1', 'F1': 'F10'}
{'C1': 'C1', 'C2': 'C2'}
dissatisfied
{'C1': 'dissatisfied', 'C2': 'satisfied'}
DecisionTreeClassifier
C1
Insurance Churn
The likelihood of the true label for the given test case being equal to the model's output prediction, C1, 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, F12, F6, F9, F1, F3, and F16 are the top features influencing the model's prediction decision. The features with the strongest positive influence are F12 and F6 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 F1, F3, F2, F5, and F16. However, the atrribution of F9, F4, F8, F7, and F11 indicates the true label could perhaps be C2. While the different input features have some sort of contribution to the prediction made for this test case, the features F10, F15, and F14 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
{'C2': '14.29%', 'C1': '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: F12 (equal to V2) and F6 (when it is equal to V10).", "Summarize the direction of influence of the features (F9 (with a value equal to V0), F1 (when it is equal to V0), F3 and F16 (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." ]
[ "F12", "F6", "F9", "F1", "F3", "F16", "F4", "F8", "F7", "F11", "F2", "F5", "F13", "F10", "F15", "F14" ]
{'F12': 'feature15', 'F6': 'feature7', 'F9': 'feature10', 'F1': 'feature11', 'F3': 'feature5', 'F16': 'feature13', 'F4': 'feature3', 'F8': 'feature4', 'F7': 'feature12', 'F11': 'feature14', 'F2': 'feature1', 'F5': 'feature6', 'F13': 'feature2', 'F10': 'feature9', 'F15': 'feature8', 'F14': 'feature0'}
{'F9': 'F12', 'F1': 'F6', 'F4': 'F9', 'F5': 'F1', 'F15': 'F3', 'F7': 'F16', 'F13': 'F4', 'F14': 'F8', 'F6': 'F7', 'F8': 'F11', 'F11': 'F2', 'F16': 'F5', 'F12': 'F13', 'F3': 'F10', 'F2': 'F15', 'F10': 'F14'}
{'C1': 'C2', 'C2': 'C1'}
Leave
{'C2': 'Stay', 'C1': 'Leave'}
SVC
C1
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, C1 has a 61.61 percent probability of being the true label, whereas C2 has a 38.39 percent chance of being the true label. Because the estimated probability of C1 is greater than that of C2, it is reasonable to assume that C1 is the most probable true label. The key variable responsible for this classification is F4, with a very significant positive effect on the model's conclusion, pushing it higher towards C1. F20, F2, F6, F12, F14, F27, F33, and F3 are the next set of relevant variables. F20, F6, F12, F27, F15, F16, and F33 have negative contributions that are responsible for the decrease in the chance that C1 is the actual label since they prefer to assign the C2 label instead. This means that the contributions of F2, F14, F10, F9, and F3, together with F4, can explain why the model is rather confident that C1 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
{'C1': '61.61%', 'C2': '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: F3, F15 and F9 (with a value equal to V2)?" ]
[ "F4", "F20", "F2", "F6", "F12", "F14", "F27", "F33", "F3", "F15", "F9", "F16", "F10", "F26", "F11", "F19", "F23", "F17", "F7", "F28", "F13", "F29", "F32", "F30", "F22", "F5", "F18", "F8", "F1", "F21", "F24", "F31", "F25" ]
{'F4': 'incident_severity', 'F20': 'insured_hobbies', 'F2': 'authorities_contacted', 'F6': 'insured_education_level', 'F12': 'umbrella_limit', 'F14': 'insured_relationship', 'F27': 'auto_make', 'F33': 'insured_occupation', 'F3': 'capital-gains', 'F15': 'policy_deductable', 'F9': 'policy_state', 'F16': 'auto_year', 'F10': 'insured_sex', 'F26': 'vehicle_claim', 'F11': 'incident_city', 'F19': 'number_of_vehicles_involved', 'F23': 'insured_zip', 'F17': 'injury_claim', 'F7': 'property_claim', 'F28': 'incident_type', 'F13': 'total_claim_amount', 'F29': 'police_report_available', 'F32': 'property_damage', 'F30': 'incident_state', 'F22': 'policy_annual_premium', 'F5': 'incident_hour_of_the_day', 'F18': 'collision_type', 'F8': 'capital-loss', 'F1': 'bodily_injuries', 'F21': 'policy_csl', 'F24': 'witnesses', 'F31': 'age', 'F25': 'months_as_customer'}
{'F27': 'F4', 'F23': 'F20', 'F28': 'F2', 'F21': 'F6', 'F5': 'F12', 'F24': 'F14', 'F33': 'F27', 'F22': 'F33', 'F7': 'F3', 'F3': 'F15', 'F18': 'F9', 'F17': 'F16', 'F20': 'F10', 'F16': 'F26', 'F30': 'F11', 'F10': 'F19', 'F6': 'F23', 'F14': 'F17', 'F15': 'F7', 'F25': 'F28', 'F13': 'F13', 'F32': 'F29', 'F31': 'F32', 'F29': 'F30', 'F4': 'F22', 'F9': 'F5', 'F26': 'F18', 'F8': 'F8', 'F11': 'F1', 'F19': 'F21', 'F12': 'F24', 'F2': 'F31', 'F1': 'F25'}
{'C2': 'C1', 'C1': 'C2'}
Fraud
{'C1': 'Not Fraud', 'C2': '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 F4, F2, and F8. The least important variables, on the other hand, are F5, F3, and F1. Furthermore, the impact of F11, F10, and F9 is regarded as moderate. F8 and F11 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 (F11, F10 and F9) on the model’s prediction of C1.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F2", "F4", "F8", "F11", "F10", "F9", "F6", "F7", "F5", "F3", "F1" ]
{'F2': 'department', 'F4': 'avg_training_score', 'F8': 'recruitment_channel', 'F11': 'KPIs_met >80%', 'F10': 'no_of_trainings', 'F9': 'length_of_service', 'F6': 'age', 'F7': 'region', 'F5': 'education', 'F3': 'previous_year_rating', 'F1': 'gender'}
{'F1': 'F2', 'F11': 'F4', 'F5': 'F8', 'F10': 'F11', 'F6': 'F10', 'F9': 'F9', 'F7': 'F6', 'F2': 'F7', 'F3': 'F5', 'F8': 'F3', 'F4': 'F1'}
{'C2': 'C2', 'C1': '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 F28, F15, F22, and F11. Other variables with moderate attributions include F30, F25, F20, F7, F1, and F32. Each variable mentioned above is shown to have different direction of contribution or impact for instance while F28, F11, F1, and F7 positively support the model's output decision, F15, F22, F30, F25, F32, and F20 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 F12, F13, F4, and F2.
[ "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: F28 and F15.", "Summarize the direction of influence of the features (F11, F22, F30 and F25) 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." ]
[ "F28", "F15", "F11", "F22", "F30", "F25", "F20", "F32", "F7", "F1", "F35", "F10", "F24", "F46", "F18", "F36", "F33", "F31", "F17", "F19", "F12", "F13", "F4", "F2", "F3", "F40", "F16", "F26", "F29", "F42", "F34", "F39", "F43", "F9", "F21", "F14", "F37", "F8", "F41", "F23", "F44", "F5", "F45", "F6", "F27", "F38" ]
{'F28': 'Ease and convenient', 'F15': 'Unaffordable', 'F11': 'Good Food quality', 'F22': 'Wrong order delivered', 'F30': 'Delay of delivery person picking up food', 'F25': 'Politeness', 'F20': 'Self Cooking', 'F32': 'Late Delivery', 'F7': 'Health Concern', 'F1': 'More Offers and Discount', 'F35': 'Easy Payment option', 'F10': 'Time saving', 'F24': 'Perference(P2)', 'F46': 'Gender', 'F18': 'Good Road Condition', 'F36': 'Google Maps Accuracy', 'F33': 'Good Taste ', 'F31': 'Good Tracking system', 'F17': 'Bad past experience', 'F19': 'Marital Status', 'F12': 'Influence of rating', 'F13': 'Delivery person ability', 'F4': 'Low quantity low time', 'F2': 'Age', 'F3': 'Less Delivery time', 'F40': 'High Quality of package', 'F16': 'Maximum wait time', 'F26': 'Number of calls', 'F29': 'Freshness ', 'F42': 'Temperature', 'F34': 'Residence in busy location', 'F39': 'Long delivery time', 'F43': 'Order Time', 'F9': 'Influence of time', 'F21': 'Order placed by mistake', 'F14': 'Missing item', 'F37': 'Delay of delivery person getting assigned', 'F8': 'Family size', 'F41': 'Unavailability', 'F23': 'Poor Hygiene', 'F44': 'More restaurant choices', 'F5': 'Perference(P1)', 'F45': 'Educational Qualifications', 'F6': 'Monthly Income', 'F27': 'Occupation', 'F38': 'Good Quantity'}
{'F10': 'F28', 'F23': 'F15', 'F15': 'F11', 'F27': 'F22', 'F26': 'F30', 'F42': 'F25', 'F17': 'F20', 'F19': 'F32', 'F18': 'F7', 'F14': 'F1', 'F13': 'F35', 'F11': 'F10', 'F9': 'F24', 'F2': 'F46', 'F35': 'F18', 'F34': 'F36', 'F45': 'F33', 'F16': 'F31', 'F21': 'F17', 'F3': 'F19', 'F38': 'F12', 'F37': 'F13', 'F36': 'F4', 'F1': 'F2', 'F39': 'F3', 'F40': 'F40', 'F32': 'F16', 'F41': 'F26', 'F43': 'F29', 'F44': 'F42', 'F33': 'F34', 'F24': 'F39', 'F31': 'F43', 'F30': 'F9', 'F29': 'F21', 'F28': 'F14', 'F25': 'F37', 'F7': 'F8', 'F22': 'F41', 'F20': 'F23', 'F12': 'F44', 'F8': 'F5', 'F6': 'F45', 'F5': 'F6', 'F4': 'F27', 'F46': 'F38'}
{'C2': 'C2', 'C1': '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 F5, F1, F14, and F8. Increasing the prediction likelihood of label C2 are mainly the positive features F5, F14, and F8. These features are termed positive features since their direction of influence is in support of the assigned label C2. On the contrary, F1, F9, and F10 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: F5, F1, F8 and F14.", "Compare and contrast the impact of the following features (F10, F9 and F13) on the model’s prediction of C2.", "Describe the degree of impact of the following features: F3, F12 and F4?" ]
[ "F5", "F1", "F8", "F14", "F10", "F9", "F13", "F3", "F12", "F4", "F2", "F16", "F15", "F6", "F11", "F7" ]
{'F5': 'Communication with dr', 'F1': 'Quality\\/experience dr.', 'F8': 'Time of appointment', 'F14': 'Specialists avaliable', 'F10': 'Modern equipment', 'F9': 'parking, playing rooms, caffes', 'F13': 'waiting rooms', 'F3': 'Admin procedures', 'F12': 'hospital rooms quality', 'F4': 'Check up appointment', 'F2': 'Exact diagnosis', 'F16': 'friendly health care workers', 'F15': 'Time waiting', 'F6': 'lab services', 'F11': 'avaliablity of drugs', 'F7': 'Hygiene and cleaning'}
{'F8': 'F5', 'F6': 'F1', 'F5': 'F8', 'F7': 'F14', 'F10': 'F10', 'F16': 'F9', 'F14': 'F13', 'F3': 'F3', 'F15': 'F12', 'F1': 'F4', 'F9': 'F2', 'F11': 'F16', 'F2': 'F15', 'F12': 'F6', 'F13': 'F11', 'F4': 'F7'}
{'C2': 'C2', 'C1': '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 F5 and F2 are the most important features, whereas F4 and F6 are the least influential. F7, F1, 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. F5, F2, F8, F4, and F6, 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 F6?" ]
[ "F5", "F2", "F7", "F1", "F8", "F3", "F4", "F6" ]
{'F5': 'slag', 'F2': 'water', 'F7': 'cement', 'F1': 'fineaggregate', 'F8': 'flyash', 'F3': 'coarseaggregate', 'F4': 'age_days', 'F6': 'superplasticizer'}
{'F2': 'F5', 'F4': 'F2', 'F1': 'F7', 'F7': 'F1', 'F3': 'F8', 'F6': 'F3', 'F8': 'F4', 'F5': 'F6'}
{'C2': 'C2', 'C1': '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 F31 and F1. F8, F32, F9, F23, and F12 were some of the other factors that positively helped with this prediction. F35, F30, F36, and F17, on the other hand, are the features with a negative influence on the above prediction judgement. In comparison to the F10, F12, F32, 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 F2, F28, F25, and F15 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: F10 and F1.", "Compare and contrast the impact of the following features (F12, F32, F23 (with a value equal to V1) and F8) on the model’s prediction of C1.", "Describe the degree of impact of the following features: F35, F9 and F30?" ]
[ "F10", "F1", "F12", "F32", "F23", "F8", "F35", "F9", "F30", "F36", "F17", "F40", "F3", "F20", "F22", "F31", "F34", "F18", "F24", "F38", "F25", "F28", "F15", "F2", "F4", "F21", "F16", "F39", "F5", "F14", "F6", "F27", "F37", "F26", "F33", "F41", "F13", "F7", "F29", "F11", "F19", "F42" ]
{'F10': 'X38', 'F1': 'X22', 'F12': 'X32', 'F32': 'X19', 'F23': 'X1', 'F8': 'X13', 'F35': 'X11', 'F9': 'X3', 'F30': 'X16', 'F36': 'X2', 'F17': 'X12', 'F40': 'X14', 'F3': 'X42', 'F20': 'X18', 'F22': 'X28', 'F31': 'X35', 'F34': 'X24', 'F18': 'X20', 'F24': 'X8', 'F38': 'X40', 'F25': 'X34', 'F28': 'X5', 'F15': 'X4', 'F2': 'X41', 'F4': 'X6', 'F21': 'X39', 'F16': 'X7', 'F39': 'X37', 'F5': 'X36', 'F14': 'X33', 'F6': 'X21', 'F27': 'X9', 'F37': 'X31', 'F26': 'X30', 'F33': 'X10', 'F41': 'X27', 'F13': 'X26', 'F7': 'X25', 'F29': 'X15', 'F11': 'X23', 'F19': 'X17', 'F42': 'X29'}
{'F35': 'F10', 'F20': 'F1', 'F29': 'F12', 'F17': 'F32', 'F40': 'F23', 'F11': 'F8', 'F9': 'F35', 'F2': 'F9', 'F14': 'F30', 'F1': 'F36', 'F10': 'F17', 'F12': 'F40', 'F38': 'F3', 'F16': 'F20', 'F26': 'F22', 'F32': 'F31', 'F22': 'F34', 'F18': 'F18', 'F6': 'F24', 'F37': 'F38', 'F31': 'F25', 'F41': 'F28', 'F3': 'F15', 'F39': 'F2', 'F4': 'F4', 'F36': 'F21', 'F5': 'F16', 'F34': 'F39', 'F33': 'F5', 'F30': 'F14', 'F19': 'F6', 'F7': 'F27', 'F28': 'F37', 'F27': 'F26', 'F8': 'F33', 'F25': 'F41', 'F24': 'F13', 'F23': 'F7', 'F13': 'F29', 'F21': 'F11', 'F15': 'F19', 'F42': 'F42'}
{'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 F1, F2, F3, and F8 on the model supports the class assignment of C1. Both F9 and F5 are features with a small positive impact on the classification decision for the given case. F4 and F12, in contrast, has a small negative impact on the output verdict that drives the decision away in favour of the other label. The features F11 and F7 have only a very small impact on the final classification decision. Finally, F6 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: F1, F2, F3 (with a value equal to V0) and F8 (equal to V1).", "Compare and contrast the impact of the following features (F9 (with a value equal to V0), F4 (equal to V2) and F5) on the model’s prediction of C1.", "Describe the degree of impact of the following features: F11, F12 (equal to V0) and F7 (with a value equal to V0)?" ]
[ "F1", "F2", "F3", "F8", "F9", "F4", "F5", "F11", "F12", "F7", "F10", "F6" ]
{'F1': 'ssc_p', 'F2': 'hsc_p', 'F3': 'workex', 'F8': 'specialisation', 'F9': 'gender', 'F4': 'hsc_s', 'F5': 'degree_p', 'F11': 'etest_p', 'F12': 'degree_t', 'F7': 'ssc_b', 'F10': 'hsc_b', 'F6': 'mba_p'}
{'F1': 'F1', 'F2': 'F2', 'F11': 'F3', 'F12': 'F8', 'F6': 'F9', 'F9': 'F4', 'F3': 'F5', 'F4': 'F11', 'F10': 'F12', 'F7': 'F7', 'F8': 'F10', 'F5': 'F6'}
{'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 F6, F8, F9, and F3. On the other hand, the values of F1 and F4 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 F9, F3, F2, and F7.
[ "-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: F7, F10, F1 and F4?" ]
[ "F6", "F8", "F9", "F3", "F5", "F2", "F7", "F10", "F1", "F4" ]
{'F6': 'Fuel_Type', 'F8': 'Transmission', 'F9': 'Power', 'F3': 'Kilometers_Driven', 'F5': 'Mileage', 'F2': 'car_age', 'F7': 'Engine', 'F10': 'Seats', 'F1': 'Owner_Type', 'F4': 'Name'}
{'F7': 'F6', 'F8': 'F8', 'F4': 'F9', 'F1': 'F3', 'F2': 'F5', 'F5': 'F2', 'F3': 'F7', 'F10': 'F10', 'F9': 'F1', 'F6': 'F4'}
{'C2': 'C2', 'C1': 'C1'}
High
{'C2': 'Low', 'C1': 'High'}
SVM_linear
C2
Employee Promotion Prediction
The model generated the label, C2, with a very high likelihood of 99.69%, hence the probability that C1 is the right label is only 0.31%. Based on the analysis performed to understand the attributions of the different features, F5 was by far the most impactful positive feature whereas, the most negative feature is identified as F7. F6 also had a positive influence on the model's prediction, as did F1, F8, and F4. This is in contrast to F2 and F9, 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 F3, F11, F4, F10, and F8. Considering the attributions of the input features, only F7, F2, F9, F3, F11, and F10 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
{'C1': '0.31%', 'C2': '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 (F6, F2 (with a value equal to V2), F9 and F1) on the model’s prediction of C2.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F5", "F7", "F6", "F2", "F9", "F1", "F3", "F11", "F4", "F10", "F8" ]
{'F5': 'avg_training_score', 'F7': 'department', 'F6': 'KPIs_met >80%', 'F2': 'recruitment_channel', 'F9': 'age', 'F1': 'no_of_trainings', 'F3': 'previous_year_rating', 'F11': 'education', 'F4': 'region', 'F10': 'length_of_service', 'F8': 'gender'}
{'F11': 'F5', 'F1': 'F7', 'F10': 'F6', 'F5': 'F2', 'F7': 'F9', 'F6': 'F1', 'F8': 'F3', 'F3': 'F11', 'F2': 'F4', 'F9': 'F10', 'F4': 'F8'}
{'C2': 'C1', 'C1': 'C2'}
Promote
{'C1': 'Ignore', 'C2': 'Promote'}
KNeighborsClassifier
C1
Advertisement Prediction
The item is labelled as C1 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 F7 and F1, are shown to drive the model towards predicting C2. 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, F5, F6, F4, F3, and F2, 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
{'C1': '100.00%', 'C2': '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 (F2, F7 and F1) with moderate impact on the prediction made for this test case." ]
[ "F5", "F6", "F3", "F4", "F2", "F7", "F1" ]
{'F5': 'Daily Internet Usage', 'F6': 'Daily Time Spent on Site', 'F3': 'Age', 'F4': 'Area Income', 'F2': 'ad_day', 'F7': 'ad_month', 'F1': 'Gender'}
{'F4': 'F5', 'F1': 'F6', 'F2': 'F3', 'F3': 'F4', 'F7': 'F2', 'F6': 'F7', 'F5': 'F1'}
{'C2': 'C1', 'C1': 'C2'}
Skip
{'C1': 'Skip', 'C2': 'Watch'}
SVC_linear
C1
Personal Loan Modelling
With the prediction probability distribution across the labels, C2 and C1, respectively, equal to 0.30% and 99.70%, the model labels this instance as C1. The most important features are F9, F7, and F8. The variables, F6, F2, F4, and F5, have values, increasing the chances of C2 being the label for this case. Increasing the odds of C1 being the correct label are the values of the remaining variables. The strong positive variables are F9, F7, and F8 coupled with the moderate positive influence of F1 and F3 pushes the prediction in favour of C1 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
{'C2': '0.30%', 'C1': '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: F9, F7, F8, F6 and F1.", "Compare and contrast the impact of the following features (F2, F4 and F3) on the model’s prediction of C1.", "Describe the degree of impact of the following features: F5?" ]
[ "F9", "F7", "F8", "F6", "F1", "F2", "F4", "F3", "F5" ]
{'F9': 'Income', 'F7': 'CD Account', 'F8': 'Education', 'F6': 'Family', 'F1': 'Securities Account', 'F2': 'CCAvg', 'F4': 'Mortgage', 'F3': 'Extra_service', 'F5': 'Age'}
{'F2': 'F9', 'F8': 'F7', 'F5': 'F8', 'F3': 'F6', 'F7': 'F1', 'F4': 'F2', 'F6': 'F4', 'F9': 'F3', 'F1': 'F5'}
{'C1': 'C2', 'C2': 'C1'}
Accept
{'C2': 'Reject', 'C1': '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, C1, C3, and C2, is the right label for this case since the predicted probability of C4 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: F4, F6, F2, F3, F1, and F5. From the attribution analysis, F4 is the only one that positively contribute and support the above classification decision, while the remaining features such as F6, F2, F1, and F3 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 F4 is enough to dwarf the contributions of the features F6, F2, F3, F1, and F5.
[ "0.42", "-0.24", "-0.11", "-0.09", "-0.05", "-0.04" ]
[ "positive", "negative", "negative", "negative", "negative", "negative" ]
18
5
{'C4': '100.00%', 'C1': '0.00%', 'C2': '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: ?" ]
[ "F4", "F6", "F2", "F3", "F1", "F5" ]
{'F4': 'safety', 'F6': 'persons', 'F2': 'buying', 'F3': 'maint', 'F1': 'lug_boot', 'F5': 'doors'}
{'F6': 'F4', 'F4': 'F6', 'F1': 'F2', 'F2': 'F3', 'F5': 'F1', 'F3': 'F5'}
{'C2': 'C4', 'C4': 'C1', 'C1': 'C2', 'C3': 'C3'}
Unacceptable
{'C4': 'Other B', 'C1': 'Acceptable', 'C2': 'Other A', 'C3': 'Unacceptable'}
KNeighborsClassifier
C1
German Credit Evaluation
In the present case, there is only a 12.50% chance that C2 is the correct label, which means there is an 87.50% chance that C1 is the true label. Therefore, the most probable class assigned by the model is C1. The above decision is mainly based on the influence of the following variables: F4, F9, and F6. Of these main variables, only F9 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 C1 being the correct label are F6 and F4. The remaining two variables moving the decision away from C1 are F1 and F7. F5 and F3 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
{'C1': '87.50%', 'C2': '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 C1 by the model for the given test example?" ]
[ "F9", "F6", "F4", "F1", "F7", "F2", "F8", "F5", "F3" ]
{'F9': 'Checking account', 'F6': 'Saving accounts', 'F4': 'Purpose', 'F1': 'Sex', 'F7': 'Duration', 'F2': 'Housing', 'F8': 'Age', 'F5': 'Job', 'F3': 'Credit amount'}
{'F6': 'F9', 'F5': 'F6', 'F9': 'F4', 'F2': 'F1', 'F8': 'F7', 'F4': 'F2', 'F1': 'F8', 'F3': 'F5', 'F7': 'F3'}
{'C2': 'C1', 'C1': 'C2'}
Good Credit
{'C1': 'Good Credit', 'C2': '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, F2, and F6, however, the least important or ranked ones are F8 and F1. The attributes F4, F3, F5, and F7 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 (F4, F3 and F5) with moderate impact on the prediction made for this test case." ]
[ "F9", "F2", "F6", "F4", "F3", "F5", "F7", "F8", "F1" ]
{'F9': 'middle-middle-square', 'F2': 'top-left-square', 'F6': 'bottom-left-square', 'F4': 'bottom-right-square', 'F3': 'top-middle-square', 'F5': ' top-right-square', 'F7': 'middle-right-square', 'F8': 'bottom-middle-square', 'F1': 'middle-left-square'}
{'F5': 'F9', 'F1': 'F2', 'F7': 'F6', 'F9': 'F4', 'F2': 'F3', 'F3': 'F5', 'F6': 'F7', 'F8': 'F8', 'F4': 'F1'}
{'C1': 'C1', 'C2': 'C2'}
player B lose
{'C1': 'player B lose', 'C2': 'player B win'}
SVC
C2
Water Quality Classification
The label assigned to the given sample is C2 at a confidence level of 56.81%. This means that there is a 43.19% chance that the sample could be C1, representing an uncertain classification decision. The values of F5, F3, F1, F4, and F8 are the major contributing factors resulting in the classification decision here. On the other hand, the least important features are F9, F6, and F7, with a low level of influence. Considering the direction of influence of the features (that is, either supporting or contradicting the prediction above), only F1, 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 F2, F5, F3, F6, F9, and F7 have negative attributions, shifting the verdict in the opposite direction in favour of C1. In simple terms, the correct label should be C1 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
{'C2': '56.81%', 'C1': '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 F2) with moderate impact on the prediction made for this test case." ]
[ "F5", "F3", "F1", "F4", "F8", "F2", "F6", "F9", "F7" ]
{'F5': 'ph', 'F3': 'Conductivity', 'F1': 'Sulfate', 'F4': 'Hardness', 'F8': 'Turbidity', 'F2': 'Solids', 'F6': 'Chloramines', 'F9': 'Trihalomethanes', 'F7': 'Organic_carbon'}
{'F1': 'F5', 'F6': 'F3', 'F5': 'F1', 'F2': 'F4', 'F9': 'F8', 'F3': 'F2', 'F4': 'F6', 'F8': 'F9', 'F7': 'F7'}
{'C1': 'C2', 'C2': 'C1'}
Not Portable
{'C2': 'Not Portable', 'C1': '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 F2, F6, and F14 are the major drivers for the above classification. Besides, most of the remaining predictors such as F4, F3, F8, F12, and F11, are positive variables, decreasing the likelihood of the C1 label and making the label C2 more likely. The only variables with negative contributions are F10, F11, F7, and F1, 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 (F4, F3 and F8) with moderate impact on the prediction made for this test case." ]
[ "F2", "F6", "F14", "F4", "F3", "F8", "F12", "F13", "F11", "F1", "F5", "F10", "F9", "F7" ]
{'F2': 'A8', 'F6': 'A9', 'F14': 'A14', 'F4': 'A12', 'F3': 'A7', 'F8': 'A4', 'F12': 'A5', 'F13': 'A11', 'F11': 'A1', 'F1': 'A13', 'F5': 'A10', 'F10': 'A2', 'F9': 'A6', 'F7': 'A3'}
{'F8': 'F2', 'F9': 'F6', 'F14': 'F14', 'F12': 'F4', 'F7': 'F3', 'F4': 'F8', 'F5': 'F12', 'F11': 'F13', 'F1': 'F11', 'F13': 'F1', 'F10': 'F5', 'F2': 'F10', 'F6': 'F9', 'F3': 'F7'}
{'C1': 'C1', 'C2': 'C2'}
Class 2
{'C1': 'Class 1', 'C2': 'Class 2'}
LogisticRegression
C1
Concrete Strength Classification
The odds are in favour of C1 being the correct label for the given case. This is because the probability of the other label, C2, is only 1.03%. Ranking the features in order of relevance to the classification decision above, F1, F7, F3, F2, F5, F4, F6, and F8. Among the set of features used for this prediction, F7, F5, and F4 are the only ones shown to decrease the likelihood of the C1 decision. The positive features increasing the chances of C1 being the correct label are F1, F3, F2, F6, and F8. The joint attribution of the positive features is stronger than that of the negative ones, which explains the confidence level associated with class 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" ]
178
102
{'C2': '1.03%', 'C1': '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, F7 and F3.", "Summarize the direction of influence of the features (F2, F5 and F4) 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", "F7", "F3", "F2", "F5", "F4", "F6", "F8" ]
{'F1': 'cement', 'F7': 'age_days', 'F3': 'water', 'F2': 'superplasticizer', 'F5': 'fineaggregate', 'F4': 'flyash', 'F6': 'slag', 'F8': 'coarseaggregate'}
{'F1': 'F1', 'F8': 'F7', 'F4': 'F3', 'F5': 'F2', 'F7': 'F5', 'F3': 'F4', 'F2': 'F6', 'F6': 'F8'}
{'C1': 'C2', 'C2': 'C1'}
Strong
{'C2': 'Weak', 'C1': '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: F10, F12, and F8 since their respective attributions are higher than any of the remaining features. F12 has a negative contribution to the prediction made by the model for this case, while in contrast, F10 and F8 have positive contributions, that push the classification decision in favour of C2. Unlike all the features mentioned above, the values of F15, F13, F6, and F2 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 (F8, F9, F1 and F16) on the model’s prediction of C2.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F10", "F12", "F8", "F9", "F1", "F16", "F4", "F17", "F14", "F11", "F5", "F7", "F3", "F15", "F13", "F6", "F2" ]
{'F10': 'isNewBuilt', 'F12': 'hasYard', 'F8': 'hasPool', 'F9': 'hasStormProtector', 'F1': 'made', 'F16': 'hasGuestRoom', 'F4': 'squareMeters', 'F17': 'floors', 'F14': 'cityCode', 'F11': 'basement', 'F5': 'price', 'F7': 'numPrevOwners', 'F3': 'numberOfRooms', 'F15': 'attic', 'F13': 'cityPartRange', 'F6': 'garage', 'F2': 'hasStorageRoom'}
{'F3': 'F10', 'F1': 'F12', 'F2': 'F8', 'F4': 'F9', 'F12': 'F1', 'F16': 'F16', 'F6': 'F4', 'F8': 'F17', 'F9': 'F14', 'F13': 'F11', 'F17': 'F5', 'F11': 'F7', 'F7': 'F3', 'F14': 'F15', 'F10': 'F13', 'F15': 'F6', 'F5': 'F2'}
{'C2': 'C2', 'C1': '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 F1, F12, F11, F21, F3, F14, F26, F13, F4, F34, F23, F27, F29, F17, F5, F22, F9, F25, F35, and F31 are the relevant features. However, F19, F24, and F28 are examples of irrelevant features since their contributions are mostly ignored by the classifier when classifying the given case. According to the attribution assessment, F1 and F12 have a very substantial combined positive influence, enhancing the classifier's response towards C1 rather than C2. In contrast, the top negative features are F11, F3, and F21, which weaken the classifier's response in favour of C2. When the attributions of F1, F14, and F12 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: F26, F13, F4 and F34?" ]
[ "F1", "F12", "F11", "F21", "F3", "F14", "F26", "F13", "F4", "F34", "F23", "F27", "F29", "F17", "F5", "F22", "F9", "F25", "F35", "F31", "F19", "F28", "F24", "F18", "F32", "F16", "F20", "F8", "F7", "F33", "F36", "F15", "F38", "F6", "F2", "F10", "F37", "F30" ]
{'F1': 'Unique Received From Addresses', 'F12': ' ERC20 total Ether sent contract', 'F11': 'total ether received', 'F21': 'Sent tnx', 'F3': 'Number of Created Contracts', 'F14': ' ERC20 uniq rec token name', 'F26': ' ERC20 uniq rec contract addr', 'F13': 'max value received ', 'F4': 'total transactions (including tnx to create contract', 'F34': ' ERC20 uniq sent addr.1', 'F23': ' ERC20 uniq sent addr', 'F27': 'Received Tnx', 'F29': 'avg val received', 'F17': ' ERC20 uniq rec addr', 'F5': 'avg val sent', 'F22': 'min value received', 'F9': 'Unique Sent To Addresses', 'F25': ' ERC20 uniq sent token name', 'F35': 'Avg min between received tnx', 'F31': 'Time Diff between first and last (Mins)', 'F19': ' ERC20 min val rec', 'F28': ' ERC20 max val rec', 'F24': ' ERC20 min val sent', 'F18': ' ERC20 max val sent', 'F32': ' ERC20 avg val sent', 'F16': ' ERC20 avg val rec', 'F20': ' Total ERC20 tnxs', 'F8': ' ERC20 total ether sent', 'F7': ' ERC20 total Ether received', 'F33': 'total ether balance', 'F36': 'total ether sent contracts', 'F15': 'total Ether sent', 'F38': 'avg value sent to contract', 'F6': 'max val sent to contract', 'F2': 'min value sent to contract', 'F10': 'max val sent', 'F37': 'min val sent', 'F30': 'Avg min between sent tnx'}
{'F7': 'F1', 'F26': 'F12', 'F20': 'F11', 'F4': 'F21', 'F6': 'F3', 'F38': 'F14', 'F30': 'F26', 'F10': 'F13', 'F18': 'F4', 'F29': 'F34', 'F27': 'F23', 'F5': 'F27', 'F11': 'F29', 'F28': 'F17', 'F14': 'F5', 'F9': 'F22', 'F8': 'F9', 'F37': 'F25', 'F2': 'F35', 'F3': 'F31', 'F31': 'F19', 'F32': 'F28', 'F34': 'F24', 'F35': 'F18', 'F36': 'F32', 'F33': 'F16', 'F23': 'F20', 'F25': 'F8', 'F24': 'F7', 'F22': 'F33', 'F21': 'F36', 'F19': 'F15', 'F17': 'F38', 'F16': 'F6', 'F15': 'F2', 'F13': 'F10', 'F12': 'F37', 'F1': 'F30'}
{'C2': 'C2', 'C1': '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, F9, F7, F5, and F4, 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 F1, F8, and F2, 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 F1 and F9, but F4 and F3 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 (F7, F8, F5 and F2) with moderate impact on the prediction made for this test case." ]
[ "F9", "F1", "F7", "F8", "F5", "F2", "F6", "F4", "F3" ]
{'F9': 'Saving accounts', 'F1': 'Sex', 'F7': 'Duration', 'F8': 'Purpose', 'F5': 'Housing', 'F2': 'Age', 'F6': 'Checking account', 'F4': 'Credit amount', 'F3': 'Job'}
{'F5': 'F9', 'F2': 'F1', 'F8': 'F7', 'F9': 'F8', 'F4': 'F5', 'F1': 'F2', 'F6': 'F6', 'F7': 'F4', 'F3': 'F3'}
{'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 F21, F8, F3, F24, F19, and F33. But, not all features are considered by the classifier to arrive at the decision made for the given case. These irrelevant features include F9, F30, F11, and F34. Among the influential features as shown, F21, F8, F3, F24, and F39 are the top positives that increase the probability of C2 being the true label. However, F19, F33, F37, F16, F25, F40, F42, and F29 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 F21 and F8, 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 (F21 (when it is equal to V1), F8 (value equal to V1), F3 (equal to V0), F24 (when it is equal to V1) and F19 (when it is equal to V3)) on the prediction made for this test case.", "Compare the direction of impact of the features: F33 (with a value equal to V1), F37 (with a value equal to V3) and F39 (equal to V2).", "Describe the degree of impact of the following features: F16 (equal to V2), F40 (when it is equal to V0) and F25 (when it is equal to V3)?" ]
[ "F21", "F8", "F3", "F24", "F19", "F33", "F37", "F39", "F16", "F40", "F25", "F42", "F29", "F46", "F45", "F10", "F20", "F32", "F5", "F15", "F9", "F11", "F30", "F34", "F27", "F7", "F44", "F26", "F43", "F28", "F41", "F17", "F23", "F1", "F13", "F4", "F12", "F6", "F2", "F14", "F22", "F36", "F38", "F35", "F31", "F18" ]
{'F21': 'More restaurant choices', 'F8': 'Ease and convenient', 'F3': 'Bad past experience', 'F24': 'Time saving', 'F19': 'Unaffordable', 'F33': 'Educational Qualifications', 'F37': 'Late Delivery', 'F39': 'Occupation', 'F16': 'Influence of rating', 'F40': 'Less Delivery time', 'F25': 'Order placed by mistake', 'F42': 'Delivery person ability', 'F29': 'Order Time', 'F46': 'Unavailability', 'F45': 'More Offers and Discount', 'F10': 'Delay of delivery person picking up food', 'F20': 'Good Taste ', 'F32': 'Wrong order delivered', 'F5': 'Freshness ', 'F15': 'Missing item', 'F9': 'Residence in busy location', 'F11': 'Google Maps Accuracy', 'F30': 'Age', 'F34': 'Good Road Condition', 'F27': 'Low quantity low time', 'F7': 'High Quality of package', 'F44': 'Number of calls', 'F26': 'Politeness', 'F43': 'Temperature', 'F28': 'Maximum wait time', 'F41': 'Long delivery time', 'F17': 'Influence of time', 'F23': 'Delay of delivery person getting assigned', 'F1': 'Family size', 'F13': 'Poor Hygiene', 'F4': 'Health Concern', 'F12': 'Self Cooking', 'F6': 'Good Tracking system', 'F2': 'Good Food quality', 'F14': 'Easy Payment option', 'F22': 'Perference(P2)', 'F36': 'Perference(P1)', 'F38': 'Monthly Income', 'F35': 'Marital Status', 'F31': 'Gender', 'F18': 'Good Quantity'}
{'F12': 'F21', 'F10': 'F8', 'F21': 'F3', 'F11': 'F24', 'F23': 'F19', 'F6': 'F33', 'F19': 'F37', 'F4': 'F39', 'F38': 'F16', 'F39': 'F40', 'F29': 'F25', 'F37': 'F42', 'F31': 'F29', 'F22': 'F46', 'F14': 'F45', 'F26': 'F10', 'F45': 'F20', 'F27': 'F32', 'F43': 'F5', 'F28': 'F15', 'F33': 'F9', 'F34': 'F11', 'F1': 'F30', 'F35': 'F34', 'F36': 'F27', 'F40': 'F7', 'F41': 'F44', 'F42': 'F26', 'F44': 'F43', 'F32': 'F28', 'F24': 'F41', 'F30': 'F17', 'F25': 'F23', 'F7': 'F1', 'F20': 'F13', 'F18': 'F4', 'F17': 'F12', 'F16': 'F6', 'F15': 'F2', 'F13': 'F14', 'F9': 'F22', 'F8': 'F36', 'F5': 'F38', 'F3': 'F35', 'F2': 'F31', 'F46': 'F18'}
{'C1': 'C1', 'C2': 'C2'}
Go Away
{'C1': 'Return', 'C2': 'Go Away'}
RandomForestClassifier
C2
Company Bankruptcy Prediction
The output labelling decision is C2 with almost 100% certainty, which indicates that there is practically no chance that C1 is the right label choice for the case under consideration. F71, F21, F70, F8, and F51 are the features with the highest joint positive impact, influencing the model's decision to output C2 and the feature F18 also has a high impact, but unlike F71, F21, F70, F8, and F51, F18 attempts to shift the decision away from C2 in the direction of C1. Also, F24 and F46 have a moderate impact on the decision towards C2, although this is still higher than features F33, F66, F84, and F68, which have a moderate impact, favouring the prediction of class C1. Besides, F46, F63, F45, F73, F50, and F82 all have a positive influence on the final classification verdict further increasing the odds in favour of the C2 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 F13, F52, F87, F20, and F30.
[ "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
{'C2': '99.00%', 'C1': '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: F46, F63 and F82?" ]
[ "F71", "F21", "F70", "F18", "F8", "F51", "F24", "F46", "F63", "F82", "F45", "F73", "F50", "F33", "F68", "F66", "F28", "F84", "F12", "F32", "F13", "F52", "F30", "F14", "F87", "F20", "F36", "F80", "F47", "F6", "F86", "F91", "F16", "F7", "F49", "F23", "F56", "F38", "F3", "F59", "F57", "F61", "F43", "F60", "F25", "F31", "F76", "F72", "F35", "F17", "F64", "F40", "F67", "F83", "F4", "F34", "F77", "F75", "F88", "F26", "F89", "F74", "F1", "F5", "F41", "F42", "F27", "F62", "F93", "F58", "F2", "F79", "F22", "F48", "F29", "F65", "F81", "F15", "F53", "F92", "F54", "F44", "F19", "F69", "F78", "F85", "F9", "F10", "F39", "F37", "F55", "F11", "F90" ]
{'F71': " Net Income to Stockholder's Equity", 'F21': ' Continuous interest rate (after tax)', 'F70': ' ROA(C) before interest and depreciation before interest', 'F18': ' Borrowing dependency', 'F8': ' Cash Flow Per Share', 'F51': ' Net worth\\/Assets', 'F24': ' Total income\\/Total expense', 'F46': ' Persistent EPS in the Last Four Seasons', 'F63': ' Retained Earnings to Total Assets', 'F82': ' Net Value Per Share (B)', 'F45': ' Cash Flow to Equity', 'F73': ' Net Value Per Share (A)', 'F50': ' Degree of Financial Leverage (DFL)', 'F33': ' Per Share Net profit before tax (Yuan ¥)', 'F68': ' Revenue Per Share (Yuan ¥)', 'F66': ' Inventory Turnover Rate (times)', 'F28': ' Net profit before tax\\/Paid-in capital', 'F84': ' Equity to Long-term Liability', 'F12': ' Operating profit\\/Paid-in capital', 'F32': ' Cash Turnover Rate', 'F13': ' Operating Funds to Liability', 'F52': ' Contingent liabilities\\/Net worth', 'F30': ' Working Capital to Total Assets', 'F14': ' Liability to Equity', 'F87': ' Current Liability to Liability', 'F20': ' Operating Gross Margin', 'F36': ' Operating Profit Per Share (Yuan ¥)', 'F80': ' Long-term Liability to Current Assets', 'F47': ' Current Asset Turnover Rate', 'F6': ' Interest Coverage Ratio (Interest expense to EBIT)', 'F86': ' Equity to Liability', 'F91': ' Operating Profit Rate', 'F16': ' Current Liability to Equity', 'F7': ' No-credit Interval', 'F49': ' Net Worth Turnover Rate (times)', 'F23': ' Working Capital\\/Equity', 'F56': ' Quick Assets\\/Current Liability', 'F38': ' Inventory and accounts receivable\\/Net value', 'F3': ' Current Liability to Current Assets', 'F59': ' Working capitcal Turnover Rate', 'F57': ' Fixed Assets to Assets', 'F61': ' Continuous Net Profit Growth Rate', 'F43': ' Cash Reinvestment %', 'F60': ' CFO to Assets', 'F25': ' Total Asset Turnover', 'F31': ' After-tax net Interest Rate', 'F76': ' After-tax Net Profit Growth Rate', 'F72': ' Tax rate (A)', 'F35': ' Current Ratio', 'F17': ' Realized Sales Gross Margin', 'F64': ' Net Value Per Share (C)', 'F40': ' Regular Net Profit Growth Rate', 'F67': ' Interest-bearing debt interest rate', 'F83': ' Debt ratio %', 'F4': ' Long-term fund suitability ratio (A)', 'F34': ' Net Value Growth Rate', 'F77': ' Total Asset Growth Rate', 'F75': ' Fixed Assets Turnover Frequency', 'F88': ' Inventory\\/Current Liability', 'F26': ' Allocation rate per person', 'F89': ' Operating Expense Rate', 'F74': ' Operating profit per person', 'F1': ' Net Income to Total Assets', 'F5': ' Interest Expense Ratio', 'F41': ' Cash\\/Total Assets', 'F42': ' ROA(B) before interest and depreciation after tax', 'F27': ' Inventory\\/Working Capital', 'F62': ' Total assets to GNP price', 'F93': ' Total debt\\/Total net worth', 'F58': ' Quick Ratio', 'F2': ' Revenue per person', 'F79': ' Non-industry income and expenditure\\/revenue', 'F22': ' Cash Flow to Sales', 'F48': ' ROA(A) before interest and % after tax', 'F29': ' Current Liabilities\\/Liability', 'F65': ' Operating Profit Growth Rate', 'F81': ' Cash Flow to Liability', 'F15': ' Cash Flow to Total Assets', 'F53': ' Pre-tax net Interest Rate', 'F92': ' Accounts Receivable Turnover', 'F54': ' Current Liability to Assets', 'F44': ' Quick Assets\\/Total Assets', 'F19': ' Total expense\\/Assets', 'F69': ' Average Collection Days', 'F78': ' Research and development expense rate', 'F85': ' Current Assets\\/Total Assets', 'F9': ' Current Liabilities\\/Equity', 'F10': ' Realized Sales Gross Profit Growth Rate', 'F39': ' Cash flow rate', 'F37': ' Total Asset Return Growth Rate Ratio', 'F55': ' Quick Asset Turnover Rate', 'F11': ' Cash\\/Current Liability', 'F90': ' Gross Profit to Sales'}
{'F59': 'F71', 'F12': 'F21', 'F29': 'F70', 'F3': 'F18', 'F65': 'F8', 'F84': 'F51', 'F57': 'F24', 'F8': 'F46', 'F10': 'F63', 'F27': 'F82', 'F53': 'F45', 'F42': 'F73', 'F35': 'F50', 'F78': 'F33', 'F31': 'F68', 'F18': 'F66', 'F72': 'F28', 'F23': 'F84', 'F89': 'F12', 'F34': 'F32', 'F87': 'F13', 'F64': 'F52', 'F67': 'F30', 'F66': 'F14', 'F90': 'F87', 'F62': 'F20', 'F63': 'F36', 'F69': 'F80', 'F61': 'F47', 'F60': 'F6', 'F91': 'F86', 'F58': 'F91', 'F92': 'F16', 'F56': 'F7', 'F55': 'F49', 'F68': 'F23', 'F71': 'F56', 'F70': 'F38', 'F86': 'F3', 'F73': 'F59', 'F74': 'F57', 'F54': 'F61', 'F75': 'F43', 'F76': 'F60', 'F77': 'F25', 'F79': 'F31', 'F80': 'F76', 'F81': 'F72', 'F82': 'F35', 'F83': 'F17', 'F88': 'F64', 'F85': 'F40', 'F1': 'F67', 'F47': 'F83', 'F52': 'F4', 'F15': 'F34', 'F24': 'F77', 'F22': 'F75', 'F21': 'F88', 'F20': 'F26', 'F19': 'F89', 'F17': 'F74', 'F16': 'F1', 'F14': 'F5', 'F26': 'F41', 'F13': 'F42', 'F11': 'F27', 'F9': 'F62', 'F7': 'F93', 'F6': 'F58', 'F5': 'F2', 'F4': 'F79', 'F25': 'F22', 'F28': 'F48', 'F51': 'F29', 'F43': 'F65', 'F50': 'F81', 'F49': 'F15', 'F48': 'F53', 'F2': 'F92', 'F46': 'F54', 'F45': 'F44', 'F44': 'F19', 'F41': 'F69', 'F30': 'F78', 'F40': 'F85', 'F39': 'F9', 'F38': 'F10', 'F37': 'F39', 'F36': 'F37', 'F33': 'F55', 'F32': 'F11', 'F93': 'F90'}
{'C1': 'C2', 'C2': 'C1'}
No
{'C2': 'No', 'C1': 'Yes'}
LogisticRegression
C1
House Price Classification
The label assigned by the classifier in this instance is C1, which had a very high prediction likelihood of about 99.93%. According to this classifier, the probability of C2 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 F3, F4, F9, and F10. The least relevant features to this classification verdict are F12, F1, F2, and F6 since the magnitude of their respective attribution is smaller compared to the remaining features. Furthermore, only the features, F13, F5, and F1, have a negative influence, increasing the chances of predicting the alternative label C2. However, when compared to the joint influence of the positive features such as F3, F4, and F9, the influence of the negative features is smaller, hence explaining the high degree of confidence in the predicted C1 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
{'C2': '0.07%', 'C1': '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: F8, F11, F13 and F12?" ]
[ "F3", "F4", "F9", "F10", "F5", "F7", "F8", "F11", "F13", "F12", "F1", "F2", "F6" ]
{'F3': 'LSTAT', 'F4': 'RM', 'F9': 'PTRATIO', 'F10': 'RAD', 'F5': 'CHAS', 'F7': 'TAX', 'F8': 'CRIM', 'F11': 'DIS', 'F13': 'AGE', 'F12': 'B', 'F1': 'ZN', 'F2': 'NOX', 'F6': 'INDUS'}
{'F13': 'F3', 'F6': 'F4', 'F11': 'F9', 'F9': 'F10', 'F4': 'F5', 'F10': 'F7', 'F1': 'F8', 'F8': 'F11', 'F7': 'F13', 'F12': 'F12', 'F2': 'F1', 'F5': 'F2', 'F3': 'F6'}
{'C1': 'C2', 'C2': 'C1'}
High
{'C2': 'Low', 'C1': 'High'}
BernoulliNB
C2
Credit Card Fraud Classification
The classifier is very certain that C1 is not the accurate label for the given data or example, but that C2 fits. F1, F9, F17, F15, F14, F27, and F2 are the input features that have the most influence on the choice or judgment. F23, F5, F24, F6, F22, F20, F28, F12, F8, and F29, on the other hand, are found to be irrelevant and have negligible inlfuence on the classifier. Amongst the top features, F1, F9, and F17 are the one shown to have negative contributions, greatly favouring C1, lowering C2's prediction probability. Despite the significant negative attributions of the top impactful attributes, the classifier is quite certain that C2 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
{'C2': '100.00%', 'C1': '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: F27, F10 and F26?" ]
[ "F1", "F9", "F17", "F15", "F14", "F2", "F27", "F10", "F26", "F30", "F13", "F3", "F11", "F25", "F19", "F4", "F16", "F7", "F18", "F21", "F23", "F5", "F24", "F6", "F22", "F20", "F28", "F12", "F8", "F29" ]
{'F1': 'Z4', 'F9': 'Z3', 'F17': 'Z23', 'F15': 'Z2', 'F14': 'Z10', 'F2': 'Z7', 'F27': 'Z12', 'F10': 'Z14', 'F26': 'Z24', 'F30': 'Z28', 'F13': 'Time', 'F3': 'Z19', 'F11': 'Z26', 'F25': 'Z16', 'F19': 'Z5', 'F4': 'Z22', 'F16': 'Amount', 'F7': 'Z9', 'F18': 'Z18', 'F21': 'Z15', 'F23': 'Z17', 'F5': 'Z1', 'F24': 'Z20', 'F6': 'Z21', 'F22': 'Z13', 'F20': 'Z11', 'F28': 'Z25', 'F12': 'Z8', 'F8': 'Z27', 'F29': 'Z6'}
{'F5': 'F1', 'F4': 'F9', 'F24': 'F17', 'F3': 'F15', 'F11': 'F14', 'F8': 'F2', 'F13': 'F27', 'F15': 'F10', 'F25': 'F26', 'F29': 'F30', 'F1': 'F13', 'F20': 'F3', 'F27': 'F11', 'F17': 'F25', 'F6': 'F19', 'F23': 'F4', 'F30': 'F16', 'F10': 'F7', 'F19': 'F18', 'F16': 'F21', 'F18': 'F23', 'F2': 'F5', 'F21': 'F24', 'F22': 'F6', 'F14': 'F22', 'F12': 'F20', 'F26': 'F28', 'F9': 'F12', 'F28': 'F8', 'F7': 'F29'}
{'C1': 'C2', 'C2': 'C1'}
Not Fraud
{'C2': 'Not Fraud', 'C1': '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 F9, F12, F7, and F1, whose values lead to the aforesaid classification conclusion. Under this classification instance, examination of the attributions of the features showed that F11, F10, and F13 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. F9, F12, F1, F3, F4, and F2 are all positive variables, while F7, F8, and F6 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 (F9 and F12) on the prediction made for this test case.", "Compare the direction of impact of the features: F7, F1, F2 and F8.", "Describe the degree of impact of the following features: F3, F4 and F5?" ]
[ "F9", "F12", "F7", "F1", "F2", "F8", "F3", "F4", "F5", "F6", "F11", "F10", "F13" ]
{'F9': 'CRIM', 'F12': 'LSTAT', 'F7': 'RAD', 'F1': 'AGE', 'F2': 'CHAS', 'F8': 'DIS', 'F3': 'ZN', 'F4': 'TAX', 'F5': 'PTRATIO', 'F6': 'B', 'F11': 'RM', 'F10': 'NOX', 'F13': 'INDUS'}
{'F1': 'F9', 'F13': 'F12', 'F9': 'F7', 'F7': 'F1', 'F4': 'F2', 'F8': 'F8', 'F2': 'F3', 'F10': 'F4', 'F11': 'F5', 'F12': 'F6', 'F6': 'F11', 'F5': 'F10', 'F3': 'F13'}
{'C2': 'C2', 'C1': 'C1'}
Low
{'C2': 'Low', 'C1': 'High'}
GaussianNB
C1
Tic-Tac-Toe Strategy
The model selects C1 as the correct label with a probability of 57.58%, while the other class, C2, has a slightly lower probability of 42.42%. The most relevant attribute is F5, followed by F8, F2, F3, F1, F9, F7, F4 and finally F6, which is the least relevant. The features F1, F7, and F5 have a positive influence, increasing the probability of the classification output, while F2 has a negative attribution, swinging the model to assign C2 instead. F3, F4, F8, and F9 are some of the other negative attributes. Finally, F6 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
{'C1': '57.58%', 'C2': '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 F2 (value equal to V1).", "Summarize the direction of influence of the features (F3 (when it is equal to V1), F4 (equal to V1), F8 (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", "F2", "F3", "F4", "F8", "F9", "F7", "F1", "F6" ]
{'F5': 'middle-middle-square', 'F2': 'top-left-square', 'F3': 'bottom-right-square', 'F4': ' top-right-square', 'F8': 'middle-left-square', 'F9': 'bottom-middle-square', 'F7': 'bottom-left-square', 'F1': 'middle-right-square', 'F6': 'top-middle-square'}
{'F5': 'F5', 'F1': 'F2', 'F9': 'F3', 'F3': 'F4', 'F4': 'F8', 'F8': 'F9', 'F7': 'F7', 'F6': 'F1', 'F2': 'F6'}
{'C2': 'C1', 'C1': 'C2'}
player B lose
{'C1': 'player B lose', 'C2': '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 F2, F5, F10, and F9, 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 F1, F13, F7, F3, and F4. According to the attribution analysis, only F11, F12, and F6 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 (F9, F11 and F12) with moderate impact on the prediction made for this test case." ]
[ "F2", "F5", "F10", "F9", "F11", "F12", "F13", "F1", "F8", "F7", "F3", "F4", "F6" ]
{'F2': 'AGE', 'F5': 'RAD', 'F10': 'LSTAT', 'F9': 'RM', 'F11': 'DIS', 'F12': 'CHAS', 'F13': 'ZN', 'F1': 'CRIM', 'F8': 'TAX', 'F7': 'B', 'F3': 'PTRATIO', 'F4': 'INDUS', 'F6': 'NOX'}
{'F7': 'F2', 'F9': 'F5', 'F13': 'F10', 'F6': 'F9', 'F8': 'F11', 'F4': 'F12', 'F2': 'F13', 'F1': 'F1', 'F10': 'F8', 'F12': 'F7', 'F11': 'F3', 'F3': 'F4', 'F5': 'F6'}
{'C2': 'C2', 'C1': '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 F12, F3, F11, and F9. F1 and F6, 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. F1, F11, F5, and F6 are the opposing features. The contribution of the negative features, with the exception of F11, is quite modest when compared to the top positive features such as F3, F9, and F7.
[ "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: F12, F11, F9, F3 and F7.", "Compare and contrast the impact of the following features (F15, F8 and F13) on the model’s prediction of C1.", "Describe the degree of impact of the following features: F14, F5 and F2?" ]
[ "F12", "F11", "F9", "F3", "F7", "F15", "F8", "F13", "F14", "F5", "F2", "F10", "F4", "F1", "F6" ]
{'F12': 'Type of Travel', 'F11': 'Hotel wifi service', 'F9': 'Other service', 'F3': 'Type Of Booking', 'F7': 'Checkin\\/Checkout service', 'F15': 'Age', 'F8': 'purpose_of_travel', 'F13': 'Common Room entertainment', 'F14': 'Food and drink', 'F5': 'Stay comfort', 'F2': 'Hotel location', 'F10': 'Departure\\/Arrival convenience', 'F4': 'Gender', 'F1': 'Ease of Online booking', 'F6': 'Cleanliness'}
{'F3': 'F12', 'F6': 'F11', 'F14': 'F9', 'F4': 'F3', 'F13': 'F7', 'F5': 'F15', 'F2': 'F8', 'F12': 'F13', 'F10': 'F14', 'F11': 'F5', 'F9': 'F2', 'F7': 'F10', 'F1': 'F4', 'F8': 'F1', 'F15': 'F6'}
{'C2': 'C2', 'C1': 'C1'}
satisfied
{'C2': 'dissatisfied', 'C1': 'satisfied'}
RandomForestClassifier
C2
Student Job Placement
The classification algorithm predicts that the data sample given should be classified as C2 with a probability of 76.06%, but it also finds that there is a 23.94% probability that the correct label will be C1. The positive influence of the F4, F10, F6, and F11 features on the algorithm supports the C2 class tasks. F8 and F7 are features with little positive influence on the classification decision for a particular case. F1 and F12, in contrast, has a small negative impact on the output decision that result in the reduction in the likelihood of C2 hence can be said to favour labelling the case as C1. F2 and F5 had only a minor positive impact on the final labelling decision and finally F9 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
{'C2': '76.06%', 'C1': '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, F10, F6 (with a value equal to V0) and F11 (equal to V1).", "Compare and contrast the impact of the following features (F8 (with a value equal to V0), F1 (equal to V2) and F7) on the model’s prediction of C2.", "Describe the degree of impact of the following features: F5, F12 (equal to V0) and F2 (with a value equal to V0)?" ]
[ "F4", "F10", "F6", "F11", "F8", "F1", "F7", "F5", "F12", "F2", "F3", "F9" ]
{'F4': 'ssc_p', 'F10': 'hsc_p', 'F6': 'workex', 'F11': 'specialisation', 'F8': 'gender', 'F1': 'hsc_s', 'F7': 'degree_p', 'F5': 'etest_p', 'F12': 'degree_t', 'F2': 'ssc_b', 'F3': 'hsc_b', 'F9': 'mba_p'}
{'F1': 'F4', 'F2': 'F10', 'F11': 'F6', 'F12': 'F11', 'F6': 'F8', 'F9': 'F1', 'F3': 'F7', 'F4': 'F5', 'F10': 'F12', 'F7': 'F2', 'F8': 'F3', 'F5': 'F9'}
{'C1': 'C2', 'C2': 'C1'}
Not Placed
{'C2': 'Not Placed', 'C1': '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: F6, F9, F3, and F10. Aside from F10, all the other features listed above have a strong positive influence, increasing the probability of the predicted class C1. Similar to F10, the values of features F8, F2, and F7 suggest the other label, C2, could be the correct label. However, unlike F6, F9, and F3, each of the negative features has a moderate contribution to the final decision. The remaining features F11, F4, and F1 are shown to have marginal contributions to the model's decision for this case, and F5 was ranked as the least important feature. In summary, with strong positive attributions from F6, F9, F3, and F11, 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 (F6, F9, F3 and F10) on the prediction made for this test case.", "Compare the direction of impact of the features: F8, F2 and F7.", "Describe the degree of impact of the following features: F11, F4 and F1?" ]
[ "F6", "F9", "F3", "F10", "F8", "F2", "F7", "F11", "F4", "F1", "F5" ]
{'F6': 'fea_4', 'F9': 'fea_8', 'F3': 'fea_2', 'F10': 'fea_9', 'F8': 'fea_6', 'F2': 'fea_10', 'F7': 'fea_1', 'F11': 'fea_7', 'F4': 'fea_11', 'F1': 'fea_3', 'F5': 'fea_5'}
{'F4': 'F6', 'F8': 'F9', 'F2': 'F3', 'F9': 'F10', 'F6': 'F8', 'F10': 'F2', 'F1': 'F7', 'F7': 'F11', 'F11': 'F4', 'F3': 'F1', 'F5': 'F5'}
{'C1': 'C1', 'C2': 'C2'}
Low
{'C1': 'Low', 'C2': 'High'}
KNeighborsClassifier
C1
Company Bankruptcy Prediction
For the case under consideration, the model's output labelling decision is as follows: there is no possibility that C2 is the label for the given case, C1 is the most likely class label, with a confidence level close of 100.0%. The values of the input features, F27, F48, F56, F76, F66, F74, and F90, are the main driving forces resulting in the above classification. The features with moderate influence on the decision here are F13, F34, F65, F51, F78, F83, F82, F60, F89, F54, F7, F42, and F36. Apart from all the abovementioned input features, all the remaining ones, such as F87, F4, F32, and F31, 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 C1, and these are referred to as negative features since they reduce the probability that C1 is the right label here and these are F90, F34, F7, F42, and F36. The notable positive features increasing the probability that C1 is the right label are F27, F48, F56, and F76.
[ "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
{'C1': '100.00%', 'C2': '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 (F66, F90 and F74) with moderate impact on the prediction made for this test case." ]
[ "F27", "F48", "F56", "F76", "F66", "F90", "F74", "F13", "F34", "F65", "F78", "F51", "F83", "F82", "F60", "F89", "F54", "F7", "F42", "F36", "F87", "F4", "F32", "F31", "F68", "F81", "F40", "F44", "F72", "F75", "F46", "F33", "F39", "F57", "F92", "F10", "F3", "F14", "F20", "F9", "F18", "F47", "F5", "F45", "F41", "F38", "F86", "F16", "F6", "F26", "F79", "F37", "F52", "F25", "F49", "F17", "F22", "F62", "F30", "F59", "F67", "F69", "F50", "F88", "F21", "F12", "F1", "F64", "F24", "F84", "F73", "F35", "F19", "F15", "F23", "F70", "F93", "F8", "F11", "F28", "F91", "F58", "F77", "F61", "F71", "F63", "F53", "F43", "F55", "F2", "F85", "F29", "F80" ]
{'F27': ' Interest Coverage Ratio (Interest expense to EBIT)', 'F48': ' Net Income to Total Assets', 'F56': ' Realized Sales Gross Profit Growth Rate', 'F76': ' Accounts Receivable Turnover', 'F66': ' Operating Expense Rate', 'F90': ' Contingent liabilities\\/Net worth', 'F74': ' Non-industry income and expenditure\\/revenue', 'F13': ' Current Ratio', 'F34': ' Cash Flow to Liability', 'F65': ' Fixed Assets Turnover Frequency', 'F78': ' Regular Net Profit Growth Rate', 'F51': ' Quick Asset Turnover Rate', 'F83': ' Net Value Per Share (C)', 'F82': ' Operating Profit Growth Rate', 'F60': ' After-tax Net Profit Growth Rate', 'F89': ' Continuous Net Profit Growth Rate', 'F54': ' Net Value Per Share (B)', 'F7': ' Equity to Long-term Liability', 'F42': ' CFO to Assets', 'F36': ' Total debt\\/Total net worth', 'F87': ' Current Asset Turnover Rate', 'F4': " Net Income to Stockholder's Equity", 'F32': ' Operating Gross Margin', 'F31': ' Operating Profit Per Share (Yuan ¥)', 'F68': ' Operating Profit Rate', 'F81': ' Cash Flow Per Share', 'F40': ' Total income\\/Total expense', 'F44': ' No-credit Interval', 'F72': ' Liability to Equity', 'F75': ' Working Capital to Total Assets', 'F46': ' Working Capital\\/Equity', 'F33': ' Long-term Liability to Current Assets', 'F39': ' Interest-bearing debt interest rate', 'F57': ' Inventory and accounts receivable\\/Net value', 'F92': ' Realized Sales Gross Margin', 'F10': ' Current Liability to Equity', 'F3': ' Equity to Liability', 'F14': ' Current Liability to Liability', 'F20': ' Operating profit\\/Paid-in capital', 'F9': ' Operating Funds to Liability', 'F18': ' Current Liability to Current Assets', 'F47': ' Net worth\\/Assets', 'F5': ' Tax rate (A)', 'F45': ' Quick Assets\\/Current Liability', 'F41': ' After-tax net Interest Rate', 'F38': ' Per Share Net profit before tax (Yuan ¥)', 'F86': ' Total Asset Turnover', 'F16': ' Cash Reinvestment %', 'F6': ' Fixed Assets to Assets', 'F26': ' Working capitcal Turnover Rate', 'F79': ' Net profit before tax\\/Paid-in capital', 'F37': ' Net Worth Turnover Rate (times)', 'F52': ' Debt ratio %', 'F25': ' Cash Flow to Equity', 'F49': ' Long-term fund suitability ratio (A)', 'F17': ' Cash Flow to Sales', 'F22': ' Total Asset Growth Rate', 'F62': ' Inventory\\/Current Liability', 'F30': ' Allocation rate per person', 'F59': ' Inventory Turnover Rate (times)', 'F67': ' Operating profit per person', 'F69': ' Net Value Growth Rate', 'F50': ' Interest Expense Ratio', 'F88': ' ROA(B) before interest and depreciation after tax', 'F21': ' Continuous interest rate (after tax)', 'F12': ' Inventory\\/Working Capital', 'F1': ' Retained Earnings to Total Assets', 'F64': ' Total assets to GNP price', 'F24': ' Persistent EPS in the Last Four Seasons', 'F84': ' Quick Ratio', 'F73': ' Revenue per person', 'F35': ' Borrowing dependency', 'F19': ' Cash\\/Total Assets', 'F15': ' ROA(A) before interest and % after tax', 'F23': ' ROA(C) before interest and depreciation before interest', 'F70': ' Average Collection Days', 'F93': ' Current Liabilities\\/Liability', 'F8': ' Cash Flow to Total Assets', 'F11': ' Pre-tax net Interest Rate', 'F28': ' Current Liability to Assets', 'F91': ' Quick Assets\\/Total Assets', 'F58': ' Total expense\\/Assets', 'F77': ' Net Value Per Share (A)', 'F61': ' Current Assets\\/Total Assets', 'F71': ' Research and development expense rate', 'F63': ' Current Liabilities\\/Equity', 'F53': ' Cash flow rate', 'F43': ' Total Asset Return Growth Rate Ratio', 'F55': ' Degree of Financial Leverage (DFL)', 'F2': ' Cash Turnover Rate', 'F85': ' Cash\\/Current Liability', 'F29': ' Revenue Per Share (Yuan ¥)', 'F80': ' Gross Profit to Sales'}
{'F60': 'F27', 'F16': 'F48', 'F38': 'F56', 'F2': 'F76', 'F19': 'F66', 'F64': 'F90', 'F4': 'F74', 'F82': 'F13', 'F50': 'F34', 'F22': 'F65', 'F85': 'F78', 'F33': 'F51', 'F88': 'F83', 'F43': 'F82', 'F80': 'F60', 'F54': 'F89', 'F27': 'F54', 'F23': 'F7', 'F76': 'F42', 'F7': 'F36', 'F61': 'F87', 'F59': 'F4', 'F62': 'F32', 'F63': 'F31', 'F58': 'F68', 'F65': 'F81', 'F57': 'F40', 'F56': 'F44', 'F66': 'F72', 'F67': 'F75', 'F68': 'F46', 'F69': 'F33', 'F1': 'F39', 'F70': 'F57', 'F83': 'F92', 'F92': 'F10', 'F91': 'F3', 'F90': 'F14', 'F89': 'F20', 'F87': 'F9', 'F86': 'F18', 'F84': 'F47', 'F81': 'F5', 'F71': 'F45', 'F79': 'F41', 'F78': 'F38', 'F77': 'F86', 'F75': 'F16', 'F74': 'F6', 'F73': 'F26', 'F72': 'F79', 'F55': 'F37', 'F47': 'F52', 'F53': 'F25', 'F52': 'F49', 'F25': 'F17', 'F24': 'F22', 'F21': 'F62', 'F20': 'F30', 'F18': 'F59', 'F17': 'F67', 'F15': 'F69', 'F14': 'F50', 'F13': 'F88', 'F12': 'F21', 'F11': 'F12', 'F10': 'F1', 'F9': 'F64', 'F8': 'F24', 'F6': 'F84', 'F5': 'F73', 'F3': 'F35', 'F26': 'F19', 'F28': 'F15', 'F29': 'F23', 'F41': 'F70', 'F51': 'F93', 'F49': 'F8', 'F48': 'F11', 'F46': 'F28', 'F45': 'F91', 'F44': 'F58', 'F42': 'F77', 'F40': 'F61', 'F30': 'F71', 'F39': 'F63', 'F37': 'F53', 'F36': 'F43', 'F35': 'F55', 'F34': 'F2', 'F32': 'F85', 'F31': 'F29', 'F93': 'F80'}
{'C2': 'C1', 'C1': 'C2'}
No
{'C1': 'No', 'C2': 'Yes'}
KNeighborsClassifier
C1
Wine Quality Prediction
Based on the influence of features such as F7, F6, F11, and F3, 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 F3, F10, 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 F7, F6, F9, F5, F4, and F11. 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 (F11, F3, F9 and F5) with moderate impact on the prediction made for this test case." ]
[ "F7", "F6", "F11", "F3", "F9", "F5", "F4", "F1", "F10", "F2", "F8" ]
{'F7': 'sulphates', 'F6': 'total sulfur dioxide', 'F11': 'volatile acidity', 'F3': 'residual sugar', 'F9': 'citric acid', 'F5': 'chlorides', 'F4': 'alcohol', 'F1': 'fixed acidity', 'F10': 'density', 'F2': 'pH', 'F8': 'free sulfur dioxide'}
{'F10': 'F7', 'F7': 'F6', 'F2': 'F11', 'F4': 'F3', 'F3': 'F9', 'F5': 'F5', 'F11': 'F4', 'F1': 'F1', 'F8': 'F10', 'F9': 'F2', 'F6': 'F8'}
{'C2': 'C2', 'C1': 'C1'}
high quality
{'C2': 'low_quality', 'C1': 'high quality'}
LogisticRegression
C1
Music Concert Attendance
The model's prediction for this test case is C1 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, F5 has a value shifting the label choice in favour of C2, while the others, F17, F4, and F13, all have a positive impact supporting the decision made by the model to assign the label C1. Other features with positive support or impact on the prediction made include F15, F20, F16, and F7. However, F6, F14, F18, and F2 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
{'C1': '98.44%', 'C2': '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 (F17, F4, F5, F13 and F7) on the prediction made for this test case.", "Compare the direction of impact of the features: F15, F6 and F2.", "Describe the degree of impact of the following features: F14, F20 and F18?" ]
[ "F17", "F4", "F5", "F13", "F7", "F15", "F6", "F2", "F14", "F20", "F18", "F16", "F8", "F11", "F10", "F9", "F1", "F3", "F19", "F12" ]
{'F17': 'X6', 'F4': 'X11', 'F5': 'X1', 'F13': 'X13', 'F7': 'X2', 'F15': 'X8', 'F6': 'X10', 'F2': 'X14', 'F14': 'X4', 'F20': 'X3', 'F18': 'X9', 'F16': 'X16', 'F8': 'X18', 'F11': 'X7', 'F10': 'X19', 'F9': 'X5', 'F1': 'X17', 'F3': 'X15', 'F19': 'X12', 'F12': 'X20'}
{'F6': 'F17', 'F11': 'F4', 'F1': 'F5', 'F13': 'F13', 'F2': 'F7', 'F8': 'F15', 'F10': 'F6', 'F14': 'F2', 'F4': 'F14', 'F3': 'F20', 'F9': 'F18', 'F16': 'F16', 'F18': 'F8', 'F7': 'F11', 'F19': 'F10', 'F5': 'F9', 'F17': 'F1', 'F15': 'F3', 'F12': 'F19', 'F20': 'F12'}
{'C2': 'C1', 'C1': 'C2'}
< 10k
{'C1': '< 10k', 'C2': '> 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 F26, F2, F19, F15, and F18. Other variables that are regarded as somewhat important are F28, F32, F34, F27, F37, F8, F11, F33, F35, F10, F25, F30, F14, F7, and F4. Among the top variables, F26 and F2 decrease the prediction response; therefore, they are pushing the verdict toward C2. Similar to these features, F28, F32, and F37 negatively support assigning C1 to the case. Positively supporting the predicted label are the features F19, F15, F18, and F34. Unlike all the features mentioned above, the values of the remaining features such as F13, F6, F23, and F24, 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?" ]
[ "F26", "F2", "F19", "F15", "F18", "F28", "F32", "F34", "F27", "F37", "F8", "F11", "F33", "F35", "F10", "F25", "F30", "F14", "F4", "F7", "F13", "F6", "F23", "F24", "F17", "F1", "F12", "F31", "F21", "F29", "F9", "F22", "F20", "F5", "F16", "F38", "F36", "F3" ]
{'F26': 'Unique Received From Addresses', 'F2': ' ERC20 total Ether sent contract', 'F19': 'total ether received', 'F15': 'Number of Created Contracts', 'F18': 'Sent tnx', 'F28': ' ERC20 uniq rec token name', 'F32': ' ERC20 uniq rec contract addr', 'F34': 'max value received ', 'F27': 'total transactions (including tnx to create contract', 'F37': ' ERC20 uniq sent addr.1', 'F8': ' ERC20 uniq sent addr', 'F11': 'Received Tnx', 'F33': ' ERC20 uniq rec addr', 'F35': 'avg val sent', 'F10': 'min value received', 'F25': 'Unique Sent To Addresses', 'F30': ' ERC20 uniq sent token name', 'F14': ' Total ERC20 tnxs', 'F4': 'Time Diff between first and last (Mins)', 'F7': 'Avg min between received tnx', 'F13': 'total Ether sent', 'F6': 'min val sent', 'F23': 'avg val received', 'F24': ' ERC20 avg val sent', 'F17': ' ERC20 max val sent', 'F1': ' ERC20 min val sent', 'F12': ' ERC20 avg val rec', 'F31': ' ERC20 max val rec', 'F21': ' ERC20 min val rec', 'F29': 'max val sent', 'F9': 'min value sent to contract', 'F22': 'max val sent to contract', 'F20': ' ERC20 total ether sent', 'F5': ' ERC20 total Ether received', 'F16': 'avg value sent to contract', 'F38': 'total ether balance', 'F36': 'total ether sent contracts', 'F3': 'Avg min between sent tnx'}
{'F7': 'F26', 'F26': 'F2', 'F20': 'F19', 'F6': 'F15', 'F4': 'F18', 'F38': 'F28', 'F30': 'F32', 'F10': 'F34', 'F18': 'F27', 'F29': 'F37', 'F27': 'F8', 'F5': 'F11', 'F28': 'F33', 'F14': 'F35', 'F9': 'F10', 'F8': 'F25', 'F37': 'F30', 'F23': 'F14', 'F3': 'F4', 'F2': 'F7', 'F19': 'F13', 'F12': 'F6', 'F11': 'F23', 'F36': 'F24', 'F35': 'F17', 'F34': 'F1', 'F33': 'F12', 'F32': 'F31', 'F31': 'F21', 'F13': 'F29', 'F15': 'F9', 'F16': 'F22', 'F25': 'F20', 'F24': 'F5', 'F17': 'F16', 'F22': 'F38', 'F21': 'F36', 'F1': 'F3'}
{'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 F6, F2, and F11, whereas the least influential factors are F4, F5, F10, and F7. The other factors' influence can be described as modest and after further inspecting the direction of effect of the factors, F6, F2, F9, 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, F11, F1, and F8 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: F5, F10 and F7?" ]
[ "F6", "F2", "F11", "F1", "F9", "F8", "F3", "F4", "F5", "F10", "F7" ]
{'F6': 'avg_training_score', 'F2': 'KPIs_met >80%', 'F11': 'department', 'F1': 'age', 'F9': 'no_of_trainings', 'F8': 'recruitment_channel', 'F3': 'previous_year_rating', 'F4': 'length_of_service', 'F5': 'education', 'F10': 'region', 'F7': 'gender'}
{'F11': 'F6', 'F10': 'F2', 'F1': 'F11', 'F7': 'F1', 'F6': 'F9', 'F5': 'F8', 'F8': 'F3', 'F9': 'F4', 'F3': 'F5', 'F2': 'F10', 'F4': 'F7'}
{'C2': 'C2', 'C1': '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 F3, F4, F8, and F5 are all driving the model towards the C2 classification, with feature F3 being the strongest driver and F5 being the weak driver among the above mentioned set of features. Features F7 and F2 have moderate negative impact on the C2 classification, while feature F1 has a strong positive impact. Finally, feature F6 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: F3, F4, F8 and F5.", "Compare and contrast the impact of the following features (F1, F7 and F2) on the model’s prediction of C2.", "Describe the degree of impact of the following features: F6?" ]
[ "F3", "F4", "F8", "F5", "F1", "F7", "F2", "F6" ]
{'F3': 'water', 'F4': 'cement', 'F8': 'age_days', 'F5': 'flyash', 'F1': 'superplasticizer', 'F7': 'coarseaggregate', 'F2': 'fineaggregate', 'F6': 'slag'}
{'F4': 'F3', 'F1': 'F4', 'F8': 'F8', 'F3': 'F5', 'F5': 'F1', 'F6': 'F7', 'F7': 'F2', 'F2': 'F6'}
{'C2': 'C2', 'C1': 'C1'}
Weak
{'C2': 'Weak', 'C1': 'Strong'}
KNeighborsClassifier
C2
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 F5, F1, and F3, while F7, F9, and F6 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 F1, F1, F7, and F6 are revealed to have a positive contribution, improving the classifier's affinity to produce the label C2. The remaining features, F3, F5, F8, F10, F2, and F9 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
{'C2': '50.00%', 'C1': '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 C2 by the model for the given test example?" ]
[ "F5", "F1", "F3", "F8", "F10", "F2", "F4", "F7", "F9", "F6" ]
{'F5': 'Discount_offered', 'F1': 'Weight_in_gms', 'F3': 'Prior_purchases', 'F8': 'Customer_care_calls', 'F10': 'Product_importance', 'F2': 'Mode_of_Shipment', 'F4': 'Warehouse_block', 'F7': 'Cost_of_the_Product', 'F9': 'Customer_rating', 'F6': 'Gender'}
{'F2': 'F5', 'F3': 'F1', 'F8': 'F3', 'F6': 'F8', 'F9': 'F10', 'F5': 'F2', 'F4': 'F4', 'F1': 'F7', 'F7': 'F9', 'F10': 'F6'}
{'C1': 'C2', 'C2': 'C1'}
On-time
{'C2': 'On-time', 'C1': '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 F7, F17, F11, and F4. Other positive features that increase the chances of predicting C1 are F2, F10, and F18, however, unlike F11, F17, F7, and F4, these have only moderate contributions to the model's classification decision for this instance. In contrast, F20 is the only top-ranked feature that led the model to classify towards C2, while other negative features with a moderately low contribution included F15, F12, F5, and F8. The least relevant features are F3, F22, F19, and F9, with a very low influence on the C1 prediction, however, unlike these features, F21 and F16 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, F16 and F21, 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 (F17, F4, F7 and F5) with moderate impact on the prediction made for this test case." ]
[ "F11", "F20", "F17", "F4", "F7", "F5", "F8", "F15", "F12", "F2", "F10", "F18", "F1", "F6", "F14", "F13", "F3", "F22", "F19", "F9", "F21", "F16" ]
{'F11': 'Type of Travel', 'F20': 'Customer Type', 'F17': 'Inflight entertainment', 'F4': 'Inflight wifi service', 'F7': 'Departure\\/Arrival time convenient', 'F5': 'Gate location', 'F8': 'Arrival Delay in Minutes', 'F15': 'Seat comfort', 'F12': 'Online boarding', 'F2': 'Ease of Online booking', 'F10': 'Class', 'F18': 'Age', 'F1': 'On-board service', 'F6': 'Cleanliness', 'F14': 'Checkin service', 'F13': 'Inflight service', 'F3': 'Food and drink', 'F22': 'Departure Delay in Minutes', 'F19': 'Baggage handling', 'F9': 'Gender', 'F21': 'Flight Distance', 'F16': 'Leg room service'}
{'F4': 'F11', 'F2': 'F20', 'F14': 'F17', 'F7': 'F4', 'F8': 'F7', 'F10': 'F5', 'F22': 'F8', 'F13': 'F15', 'F12': 'F12', 'F9': 'F2', 'F5': 'F10', 'F3': 'F18', 'F15': 'F1', 'F20': 'F6', 'F18': 'F14', 'F19': 'F13', 'F11': 'F3', 'F21': 'F22', 'F17': 'F19', 'F1': 'F9', 'F6': 'F21', 'F16': 'F16'}
{'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 F1. F7 and F10 are the least ranked features since they have marginal attributions. F6, F5, F8, 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 F1, F4, and F9.
[ "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 (F1, F4, F9 and F3) on the model’s prediction of C1.", "Describe the degree of impact of the following features: F5, F8, F7 and F10?" ]
[ "F2", "F6", "F1", "F4", "F9", "F3", "F5", "F8", "F7", "F10" ]
{'F2': 'IsActiveMember', 'F6': 'NumOfProducts', 'F1': 'Gender', 'F4': 'Geography', 'F9': 'Age', 'F3': 'CreditScore', 'F5': 'EstimatedSalary', 'F8': 'Balance', 'F7': 'HasCrCard', 'F10': 'Tenure'}
{'F9': 'F2', 'F7': 'F6', 'F3': 'F1', 'F2': 'F4', 'F4': 'F9', 'F1': 'F3', 'F10': 'F5', 'F6': 'F8', 'F8': 'F7', 'F5': 'F10'}
{'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: F11, F16, F10, and F5. The top features, F11 and F16, positively contribute to the final prediction of C2. Besides, F5 also has a positive impact, pushing the model to output C2. However, the value of F10 supports the prediction of the alternative label, C1. However, compared to F11 and F16, the influence of F10 is very small. The features with moderate influence or impact on the prediction made for this test case are F8, F6, and F15. While F8 moderately supports the C2 prediction, F6 and F15 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: F8, F6 and F15 (equal to V0)?" ]
[ "F11", "F16", "F10", "F5", "F18", "F17", "F8", "F6", "F15", "F20", "F7", "F13", "F1", "F3", "F2", "F9", "F12", "F4", "F19", "F14" ]
{'F11': 'Feature7', 'F16': 'Feature4', 'F10': 'Feature2', 'F5': 'Feature14', 'F18': 'Feature15', 'F17': 'Feature8', 'F8': 'Feature20', 'F6': 'Feature1', 'F15': 'Feature17', 'F20': 'Feature3', 'F7': 'Feature16', 'F13': 'Feature18', 'F1': 'Feature10', 'F3': 'Feature5', 'F2': 'Feature6', 'F9': 'Feature12', 'F12': 'Feature19', 'F4': 'Feature13', 'F19': 'Feature9', 'F14': 'Feature11'}
{'F11': 'F11', 'F9': 'F16', 'F1': 'F10', 'F17': 'F5', 'F4': 'F18', 'F3': 'F17', 'F20': 'F8', 'F7': 'F6', 'F6': 'F15', 'F8': 'F20', 'F18': 'F7', 'F19': 'F13', 'F13': 'F1', 'F2': 'F3', 'F10': 'F2', 'F15': 'F9', 'F5': 'F12', 'F16': 'F4', 'F12': 'F19', 'F14': 'F14'}
{'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, F3 and F2 are the least influential features. The classification decision to label this case as C2 is mainly due to the positive contributions of F8, F1, and F6. However, the strong negative influence of F4 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. F5, F7, and F2 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 (F7, F3 and F2) with moderate impact on the prediction made for this test case." ]
[ "F4", "F8", "F1", "F6", "F5", "F7", "F3", "F2" ]
{'F4': 'cement', 'F8': 'age_days', 'F1': 'water', 'F6': 'superplasticizer', 'F5': 'coarseaggregate', 'F7': 'fineaggregate', 'F3': 'flyash', 'F2': 'slag'}
{'F1': 'F4', 'F8': 'F8', 'F4': 'F1', 'F5': 'F6', 'F6': 'F5', 'F7': 'F7', 'F3': 'F3', 'F2': 'F2'}
{'C1': 'C1', 'C2': 'C2'}
Strong
{'C1': 'Weak', 'C2': 'Strong'}
SVC
C2
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, C2 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 C2 can be attributed to the very strong positive influence of F6, F20, and F10. The contributions of all the other features are moderate to low. The least relevant features are F1, F15, F16, and F4, whereas the moderate ones include F17, F12, F9, and F13. The very marginal uncertainty with respect to the classification decision here can be blamed on the moderate influence of negative features such as F17, F12, F9, F3, F8, and F13. Aside from F6, F20, and F10, some of the other positive features are F19, F18, and F15, with moderate to low contributions, pushing the decision further higher towards C2 away from C1. Finally, F4 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
{'C1': '2.51%', 'C2': '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 (F12, F9 and F13) with moderate impact on the prediction made for this test case." ]
[ "F6", "F20", "F10", "F17", "F12", "F9", "F13", "F3", "F8", "F5", "F2", "F11", "F19", "F14", "F18", "F7", "F1", "F15", "F16", "F4" ]
{'F6': 'Feature7', 'F20': 'Feature4', 'F10': 'Feature14', 'F17': 'Feature2', 'F12': 'Feature3', 'F9': 'Feature8', 'F13': 'Feature13', 'F3': 'Feature15', 'F8': 'Feature1', 'F5': 'Feature11', 'F2': 'Feature9', 'F11': 'Feature16', 'F19': 'Feature12', 'F14': 'Feature18', 'F18': 'Feature19', 'F7': 'Feature5', 'F1': 'Feature6', 'F15': 'Feature10', 'F16': 'Feature20', 'F4': 'Feature17'}
{'F11': 'F6', 'F9': 'F20', 'F17': 'F10', 'F1': 'F17', 'F8': 'F12', 'F3': 'F9', 'F16': 'F13', 'F4': 'F3', 'F7': 'F8', 'F14': 'F5', 'F12': 'F2', 'F18': 'F11', 'F15': 'F19', 'F19': 'F14', 'F5': 'F18', 'F2': 'F7', 'F10': 'F1', 'F13': 'F15', 'F20': 'F16', 'F6': 'F4'}
{'C2': 'C1', 'C1': 'C2'}
Invest
{'C1': 'Ignore', 'C2': 'Invest'}
KNeighborsClassifier
C2
Cab Surge Pricing System
With a moderate likelihood of 50.0%, the label for this case is judged to be C2. The classifier, on the other hand, says that C3 and C1 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 F10, F11, and F8 are demonstrated to be the primary factors influencing the classification output decision. When compared to F10, F11, and F8, the other variables, such as F2, F7, and F5, have lower attributions. According to the attribution assessment, F10, F11, F8, F7, and F1 are the factors that positively contribute to the choice, implying that they are the ones that push the classification closer towards C2. F2, F5, F9, F3, and F12, on the other hand, are the top negative factors that sway the choice somewhat toward the other labels, C3 and C1. In fact, it is because of these negative variables that the classifier presents the probabilities across the C1 and C3.
[ "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
{'C3': '25.00%', 'C1': '25.00%', 'C2': '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 (F10 (when it is equal to V0) and F11) on the prediction made for this test case.", "Compare the direction of impact of the features: F8, F2, F7 and F5.", "Describe the degree of impact of the following features: F9 (value equal to V2), F3 and F1?" ]
[ "F10", "F11", "F8", "F2", "F7", "F5", "F9", "F3", "F1", "F12", "F6", "F4" ]
{'F10': 'Destination_Type', 'F11': 'Cancellation_Last_1Month', 'F8': 'Trip_Distance', 'F2': 'Customer_Rating', 'F7': 'Var1', 'F5': 'Life_Style_Index', 'F9': 'Confidence_Life_Style_Index', 'F3': 'Var3', 'F1': 'Customer_Since_Months', 'F12': 'Gender', 'F6': 'Var2', 'F4': 'Type_of_Cab'}
{'F6': 'F10', 'F8': 'F11', 'F1': 'F8', 'F7': 'F2', 'F9': 'F7', 'F4': 'F5', 'F5': 'F9', 'F11': 'F3', 'F3': 'F1', 'F12': 'F12', 'F10': 'F6', 'F2': 'F4'}
{'C1': 'C3', 'C2': 'C1', 'C3': 'C2'}
C3
{'C3': 'Low', 'C1': 'Medium', 'C2': '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, F1, F4, and F9 are all important. The top positively contributing features supporting the C1 prediction are F8, F1, and F9, while F4 is pushing the final prediction away. F15 also has a positive impact on the categorization, but F2 has a negative impact and finally, F7, F13, F18, and F5 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 (F9, F2 and F15) on the model’s prediction of C1.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F8", "F1", "F4", "F9", "F2", "F15", "F3", "F17", "F10", "F11", "F6", "F20", "F12", "F19", "F14", "F16", "F5", "F7", "F18", "F13" ]
{'F8': 'X11', 'F1': 'X1', 'F4': 'X13', 'F9': 'X3', 'F2': 'X8', 'F15': 'X6', 'F3': 'X2', 'F17': 'X9', 'F10': 'X17', 'F11': 'X10', 'F6': 'X4', 'F20': 'X14', 'F12': 'X20', 'F19': 'X18', 'F14': 'X19', 'F16': 'X7', 'F5': 'X12', 'F7': 'X15', 'F18': 'X16', 'F13': 'X5'}
{'F11': 'F8', 'F1': 'F1', 'F13': 'F4', 'F3': 'F9', 'F8': 'F2', 'F6': 'F15', 'F2': 'F3', 'F9': 'F17', 'F17': 'F10', 'F10': 'F11', 'F4': 'F6', 'F14': 'F20', 'F20': 'F12', 'F18': 'F19', 'F19': 'F14', 'F7': 'F16', 'F12': 'F5', 'F15': 'F7', 'F16': 'F18', 'F5': 'F13'}
{'C2': 'C2', 'C1': 'C1'}
> 10k
{'C2': '< 10k', 'C1': '> 10k'}
LogisticRegression
C1
House Price Classification
For this test case, the model predicts C1 with 99.93% certainty and what this means is that there is only 0.07% chance that C2 could be the right one. The features with the highest impact are F6, F9, F7, and F5, which are all shown to contribute positively to the prediction decision mentioned above. While F4 and F13 support the prediction, F11 is the feature with the strongest negative support for the prediction. Of the features with a small impact, namely F8, F3, F10, F2, F1, and F12, only F3 and F2 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
{'C2': '0.07%', 'C1': '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 (F11, F4 and F13) on the model’s prediction of C1.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F6", "F9", "F7", "F5", "F11", "F4", "F13", "F8", "F3", "F10", "F2", "F1", "F12" ]
{'F6': 'LSTAT', 'F9': 'RM', 'F7': 'PTRATIO', 'F5': 'RAD', 'F11': 'CHAS', 'F4': 'TAX', 'F13': 'CRIM', 'F8': 'DIS', 'F3': 'AGE', 'F10': 'B', 'F2': 'ZN', 'F1': 'NOX', 'F12': 'INDUS'}
{'F13': 'F6', 'F6': 'F9', 'F11': 'F7', 'F9': 'F5', 'F4': 'F11', 'F10': 'F4', 'F1': 'F13', 'F8': 'F8', 'F7': 'F3', 'F12': 'F10', 'F2': 'F2', 'F5': 'F1', 'F3': 'F12'}
{'C1': 'C2', 'C2': 'C1'}
High
{'C2': 'Low', 'C1': '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 F11, F8, F3, and F4. The most relevant features are the negative features, F11, F8, and F3. 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, F10, F9, F5, and F1, 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: F6, F5 and F2?" ]
[ "F11", "F8", "F3", "F4", "F10", "F9", "F7", "F6", "F5", "F2", "F1" ]
{'F11': 'KPIs_met >80%', 'F8': 'previous_year_rating', 'F3': 'avg_training_score', 'F4': 'department', 'F10': 'education', 'F9': 'recruitment_channel', 'F7': 'no_of_trainings', 'F6': 'length_of_service', 'F5': 'region', 'F2': 'age', 'F1': 'gender'}
{'F10': 'F11', 'F8': 'F8', 'F11': 'F3', 'F1': 'F4', 'F3': 'F10', 'F5': 'F9', 'F6': 'F7', 'F9': 'F6', 'F2': 'F5', 'F7': 'F2', 'F4': 'F1'}
{'C2': 'C2', 'C1': '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 F1, F9, and F10. While F1 and F9 have negative contributions towards the C2 prediction; favouring the assignment of C1 instead, F10 is the top positive contributing feature. F6, F4, and F2 had a small positive effect on prediction, whereas F5 had a smaller negative effect. Finally, F3 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 (F6, F2 and F5 (equal to V1)) with moderate impact on the prediction made for this test case." ]
[ "F1", "F9", "F10", "F7", "F8", "F6", "F2", "F5", "F4", "F3" ]
{'F1': 'Fuel_Type', 'F9': 'Seats', 'F10': 'car_age', 'F7': 'Name', 'F8': 'Owner_Type', 'F6': 'Power', 'F2': 'Engine', 'F5': 'Transmission', 'F4': 'Mileage', 'F3': 'Kilometers_Driven'}
{'F7': 'F1', 'F10': 'F9', 'F5': 'F10', 'F6': 'F7', 'F9': 'F8', 'F4': 'F6', 'F3': 'F2', 'F8': 'F5', 'F2': 'F4', 'F1': 'F3'}
{'C1': 'C1', 'C2': 'C2'}
High
{'C1': 'Low', 'C2': 'High'}
LogisticRegression
C1
Employee Promotion Prediction
As per the classification algorithm, the most appropriate label for the given case is C1 because its prediction likelihood is 99.45%, whereas that of C2 is only 0.55%. For the classification or prediction assertion above, the most important variables are F7, F6, and F9, while the least influential variables are F3, F8, F1, and F11. Regarding the direction of influence of the variables, the ones with positive contributions to assigning label C1 are F7, F6, F10, F1, and F11 which in fact increase the odds of C1 being the correct label. Finally, decreasing the odds of C1 and supporting C2 are mainly the values of the variables F9, F4, and F2.
[ "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
{'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: F8, F1 and F11?" ]
[ "F7", "F6", "F9", "F4", "F10", "F2", "F5", "F3", "F8", "F1", "F11" ]
{'F7': 'avg_training_score', 'F6': 'KPIs_met >80%', 'F9': 'department', 'F4': 'age', 'F10': 'no_of_trainings', 'F2': 'recruitment_channel', 'F5': 'previous_year_rating', 'F3': 'length_of_service', 'F8': 'education', 'F1': 'region', 'F11': 'gender'}
{'F11': 'F7', 'F10': 'F6', 'F1': 'F9', 'F7': 'F4', 'F6': 'F10', 'F5': 'F2', 'F8': 'F5', 'F9': 'F3', 'F3': 'F8', 'F2': 'F1', 'F4': 'F11'}
{'C1': 'C2', 'C2': 'C1'}
Promote
{'C2': 'Ignore', 'C1': '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 F12, F10, F7, and F3, while those with the least consideration are F5, F4, and F9. 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 F12, F7, F3, F8, F1, F6, and F11. The three negative features that moderately bias the labelling decision towards C1 are F2, F10, and F13.
[ "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 (F12 and F7) on the prediction made for this test case.", "Compare the direction of impact of the features: F10, F3, F1 and F13.", "Describe the degree of impact of the following features: F8, F6 and F11?" ]
[ "F12", "F7", "F10", "F3", "F1", "F13", "F8", "F6", "F11", "F2", "F5", "F4", "F9" ]
{'F12': 'CRIM', 'F7': 'LSTAT', 'F10': 'RAD', 'F3': 'AGE', 'F1': 'CHAS', 'F13': 'DIS', 'F8': 'ZN', 'F6': 'TAX', 'F11': 'PTRATIO', 'F2': 'B', 'F5': 'RM', 'F4': 'NOX', 'F9': 'INDUS'}
{'F1': 'F12', 'F13': 'F7', 'F9': 'F10', 'F7': 'F3', 'F4': 'F1', 'F8': 'F13', 'F2': 'F8', 'F10': 'F6', 'F11': 'F11', 'F12': 'F2', 'F6': 'F5', 'F5': 'F4', 'F3': 'F9'}
{'C2': 'C2', 'C1': '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%. F6 has a significant impact on the outcome in the negative. The values F9, F1, F3, F7, F5, F10, and F4 all have a positive impact on the results, but they are still less than the effects of F6. The analysis shows that F6 has the highest impact on the model's prediction decision here, it has an overwhelmingly negative effect. F1, F3, F7, and F5 have a positive effect on the model's prediction. Because of the strength of the F6 feature, all other features have little effect on the outcome. In addition, the uncertainty in the prediction could be attributed to the pull of F6, 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 (F1 (with a value equal to V4), F3 (when it is equal to V2), F7 and F5 (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?" ]
[ "F6", "F9", "F1", "F3", "F7", "F5", "F10", "F4", "F2", "F8" ]
{'F6': 'Discount_offered', 'F9': 'Weight_in_gms', 'F1': 'Prior_purchases', 'F3': 'Product_importance', 'F7': 'Cost_of_the_Product', 'F5': 'Gender', 'F10': 'Customer_rating', 'F4': 'Warehouse_block', 'F2': 'Customer_care_calls', 'F8': 'Mode_of_Shipment'}
{'F2': 'F6', 'F3': 'F9', 'F8': 'F1', 'F9': 'F3', 'F1': 'F7', 'F10': 'F5', 'F7': 'F10', 'F4': 'F4', 'F6': 'F2', 'F5': 'F8'}
{'C2': 'C2', 'C1': '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 F6 is identified as the most influential feature whereas F9, F2, and F4 have very low contributions to the decision made by the classification algorithm with respect to the given case. In addition, F7, F1, F5, F8, F10, and F3 have moderate contributions higher than F9, F2, and F4 but lower than F6. Despite the strong positive influence of F6 and F1 supporting the assignment of C2, the negative influence of F7, F5, F8, F3, and F4 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: F9, F2 and F4?" ]
[ "F6", "F7", "F1", "F5", "F8", "F10", "F3", "F9", "F2", "F4" ]
{'F6': 'Discount_offered', 'F7': 'Weight_in_gms', 'F1': 'Prior_purchases', 'F5': 'Product_importance', 'F8': 'Cost_of_the_Product', 'F10': 'Gender', 'F3': 'Customer_rating', 'F9': 'Customer_care_calls', 'F2': 'Mode_of_Shipment', 'F4': 'Warehouse_block'}
{'F2': 'F6', 'F3': 'F7', 'F8': 'F1', 'F9': 'F5', 'F1': 'F8', 'F10': 'F10', 'F7': 'F3', 'F6': 'F9', 'F5': 'F2', 'F4': 'F4'}
{'C1': 'C1', 'C2': 'C2'}
Late
{'C1': 'On-time', 'C2': 'Late'}
LogisticRegression
C2
Used Cars Price-Range Prediction
The output decision for the provided data is C2, with a very high confidence level, based on the output prediction probabilities across the two classes since C1 has a probability of around 0.00%. F4, F2, and F1 are the most influential factors in the above-mentioned label assignment, however F3 and F7 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 C2. F10, F6, and F3 have only the negative contributions, attempting to persuade the model to classify this case as C1. 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
{'C2': '100.00%', 'C1': '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: F3 and F7?" ]
[ "F2", "F4", "F1", "F8", "F9", "F5", "F10", "F6", "F3", "F7" ]
{'F2': 'car_age', 'F4': 'Power', 'F1': 'Fuel_Type', 'F8': 'Engine', 'F9': 'Seats', 'F5': 'Transmission', 'F10': 'Kilometers_Driven', 'F6': 'Name', 'F3': 'Mileage', 'F7': 'Owner_Type'}
{'F5': 'F2', 'F4': 'F4', 'F7': 'F1', 'F3': 'F8', 'F10': 'F9', 'F8': 'F5', 'F1': 'F10', 'F6': 'F6', 'F2': 'F3', 'F9': 'F7'}
{'C1': 'C2', 'C2': 'C1'}
Low
{'C2': 'Low', 'C1': 'High'}
SVC
C1
Advertisement Prediction
When given the task of labelling the given case one of the possible labels, C1 and C2, the model assigns C1 as the most likely correct label, with a confidence level of roughly 99.90%. This degree of confidence indicates that the likelihood of C2 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, F5, F6, and F4 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, F1 and F2.
[ "0.43", "0.25", "0.13", "0.07", "0.07", "-0.03", "-0.02" ]
[ "positive", "positive", "positive", "positive", "positive", "negative", "negative" ]
42
399
{'C1': '99.90%', 'C2': '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: F1 (with a value equal to V3)?" ]
[ "F5", "F3", "F4", "F6", "F7", "F2", "F1" ]
{'F5': 'Daily Internet Usage', 'F3': 'Daily Time Spent on Site', 'F4': 'Age', 'F6': 'ad_day', 'F7': 'Area Income', 'F2': 'Gender', 'F1': 'ad_month'}
{'F4': 'F5', 'F1': 'F3', 'F2': 'F4', 'F7': 'F6', 'F3': 'F7', 'F5': 'F2', 'F6': 'F1'}
{'C2': 'C1', 'C1': 'C2'}
Skip
{'C1': 'Skip', 'C2': 'Watch'}
LogisticRegression
C1
Concrete Strength Classification
According to the classification model employed here, the most probable label for the given case is C1 with a confidence level equal to 98.97%. Per the attributions analysis, F8 and F1 are the most significant and influential features driving label selection. The least ranked features are F4 and F7, while F2, F3, F5, and F6 have moderate contributions. Negatively supporting the above classification output are F1, F5, and F6, pushing the model to assign the alternative label. However, given the fact that the prediction probability of C2 is only 1.03%, it can be concluded that the joint positive influence of F8, F2, F3, F4, and F7 strongly drives the model to label the case as C1 instead of 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" ]
411
198
{'C2': '1.03%', 'C1': '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 (F2, F3, F5 and F6) with moderate impact on the prediction made for this test case." ]
[ "F8", "F1", "F2", "F3", "F5", "F6", "F4", "F7" ]
{'F8': 'cement', 'F1': 'age_days', 'F2': 'water', 'F3': 'superplasticizer', 'F5': 'fineaggregate', 'F6': 'flyash', 'F4': 'slag', 'F7': 'coarseaggregate'}
{'F1': 'F8', 'F8': 'F1', 'F4': 'F2', 'F5': 'F3', 'F7': 'F5', 'F3': 'F6', 'F2': 'F4', 'F6': 'F7'}
{'C1': 'C2', 'C2': 'C1'}
Strong
{'C2': 'Weak', 'C1': 'Strong'}
KNeighborsClassifier
C1
Wine Quality Prediction
The classifier is quite sure that the right label for the data given is C1 based on the influence of variables such as F1, F7, F6, and F9. There is a 10.0% chance that the correct label is C2 and per the attributions examination conducted, the bulk of the traits contribute positively, with only three contributing negatively. The negative variables are F9, F8, and F4, which reduce the classifier's preference for C1. F1, F7, and F6 are notable positive variables that boost the classifier's response to outputting C1 rather than C2. 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
{'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 (F6, F9, F2 and F11) with moderate impact on the prediction made for this test case." ]
[ "F1", "F7", "F6", "F9", "F2", "F11", "F5", "F10", "F8", "F3", "F4" ]
{'F1': 'sulphates', 'F7': 'total sulfur dioxide', 'F6': 'volatile acidity', 'F9': 'residual sugar', 'F2': 'citric acid', 'F11': 'chlorides', 'F5': 'alcohol', 'F10': 'fixed acidity', 'F8': 'density', 'F3': 'pH', 'F4': 'free sulfur dioxide'}
{'F10': 'F1', 'F7': 'F7', 'F2': 'F6', 'F4': 'F9', 'F3': 'F2', 'F5': 'F11', 'F11': 'F5', 'F1': 'F10', 'F8': 'F8', 'F9': 'F3', 'F6': 'F4'}
{'C1': 'C2', 'C2': 'C1'}
high quality
{'C2': 'low_quality', 'C1': 'high quality'}
DecisionTreeClassifier
C1
Vehicle Insurance Claims
C1 was assigned to the given case by the classifier with a likelihood of 93.32%, leaving thhe likelihood of the C2 equal to only 6.68%. The most influential features were F16, F21, and F31. The remaining features with non-zero attributions are F3, F23, F14, F28, F10, F24, F25, F7, F11, F1, F9, F15, F20, F6, F27, and finally F30. F16 and F21 were highly influential in the positive direction, increasing the odds of the predicted label being correct, whereas F31 had a negative impact, driving the prediction in favour of a different label. Furthermore, F3 had a positive impact on the prediction, whereas F23 and F14 negatively influenced the prediction. Finally, the features that we can say have no impact at all on the prediction made here are as follows: F2, F32, F19, F22, and F17.
[ "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
{'C1': '93.32%', 'C2': '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: F16 (with a value equal to V1), F21 (with a value equal to V2) and F31.", "Summarize the direction of influence of the features (F3 (value equal to V2), F23 and F14 (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." ]
[ "F16", "F21", "F31", "F3", "F23", "F14", "F28", "F10", "F24", "F25", "F7", "F11", "F1", "F9", "F15", "F12", "F6", "F20", "F27", "F30", "F2", "F32", "F19", "F22", "F17", "F8", "F5", "F18", "F33", "F4", "F26", "F29", "F13" ]
{'F16': 'incident_severity', 'F21': 'incident_city', 'F31': 'injury_claim', 'F3': 'insured_occupation', 'F23': 'insured_zip', 'F14': 'authorities_contacted', 'F28': 'auto_year', 'F10': 'police_report_available', 'F24': 'bodily_injuries', 'F25': 'insured_hobbies', 'F7': 'insured_sex', 'F11': 'auto_make', 'F1': 'property_damage', 'F9': 'witnesses', 'F15': 'insured_relationship', 'F12': 'age', 'F6': 'vehicle_claim', 'F20': 'months_as_customer', 'F27': 'property_claim', 'F30': 'incident_type', 'F2': 'capital-gains', 'F32': 'policy_deductable', 'F19': 'policy_annual_premium', 'F22': 'incident_state', 'F17': 'umbrella_limit', 'F8': 'total_claim_amount', 'F5': 'collision_type', 'F18': 'incident_hour_of_the_day', 'F33': 'insured_education_level', 'F4': 'number_of_vehicles_involved', 'F26': 'policy_csl', 'F29': 'policy_state', 'F13': 'capital-loss'}
{'F27': 'F16', 'F30': 'F21', 'F14': 'F31', 'F22': 'F3', 'F6': 'F23', 'F28': 'F14', 'F17': 'F28', 'F32': 'F10', 'F11': 'F24', 'F23': 'F25', 'F20': 'F7', 'F33': 'F11', 'F31': 'F1', 'F12': 'F9', 'F24': 'F15', 'F2': 'F12', 'F16': 'F6', 'F1': 'F20', 'F15': 'F27', 'F25': 'F30', 'F7': 'F2', 'F3': 'F32', 'F4': 'F19', 'F29': 'F22', 'F5': 'F17', 'F13': 'F8', 'F26': 'F5', 'F9': 'F18', 'F21': 'F33', 'F10': 'F4', 'F19': 'F26', 'F18': 'F29', 'F8': 'F13'}
{'C2': 'C1', 'C1': 'C2'}
Not Fraud
{'C1': 'Not Fraud', 'C2': '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 F14 and F17. The remaining features such as F1, F3, F10, and F8 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 F1, F8, F7, F16, and F19. 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 F14 and F17 coupled with the contributions of the other positive features such as F3, F10, F2, and F12.
[ "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: F2, F12 and F7?" ]
[ "F14", "F17", "F1", "F3", "F10", "F8", "F2", "F12", "F7", "F5", "F16", "F9", "F6", "F13", "F18", "F15", "F11", "F19", "F4" ]
{'F14': 'GamesPlayed', 'F17': 'PointsPerGame', 'F1': 'Steals', 'F3': 'MinutesPlayed', 'F10': 'DefensiveRebounds', 'F8': 'Rebounds', 'F2': 'Blocks', 'F12': 'FreeThrowAttempt', 'F7': 'FieldGoalPercent', 'F5': 'FreeThrowMade', 'F16': 'OffensiveRebounds', 'F9': 'FieldGoalsMade', 'F6': '3PointAttempt', 'F13': 'FreeThrowPercent', 'F18': '3PointMade', 'F15': 'FieldGoalsAttempt', 'F11': 'Turnovers', 'F19': 'Assists', 'F4': '3PointPercent'}
{'F1': 'F14', 'F3': 'F17', 'F17': 'F1', 'F2': 'F3', 'F14': 'F10', 'F15': 'F8', 'F18': 'F2', 'F11': 'F12', 'F6': 'F7', 'F10': 'F5', 'F13': 'F16', 'F4': 'F9', 'F8': 'F6', 'F12': 'F13', 'F7': 'F18', 'F5': 'F15', 'F19': 'F11', 'F16': 'F19', 'F9': 'F4'}
{'C1': 'C1', 'C2': 'C2'}
More than 5
{'C1': 'More than 5', 'C2': 'Less than 5'}
GradientBoostingClassifier
C1
Health Care Services Satisfaction Prediction
Given the fact that the likelihood of C2 being the correct label for the case under consideration is only 36.34%, the model assigns the label C1. The prediction decision between the two classes is highly based on the values of the features F8, F10, F2, and F7, whereas those with the least attributions or contributions regarding this label assignment are F15 and F1. Among the top influential features, F8 and F10 have very strong positive contributions, increasing the probability of the label C1, while the value of F2 value suggests the other label, C2, could be the true label. This pull or shift towards label C2 is further supported by the values of F6, F16, F5, F4, F15, and F12. Conversely, the remaining features, together with F8 and F10, positively encourage the prediction of C1.
[ "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
{'C1': '63.66%', 'C2': '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 (F16, F5 and F4) with moderate impact on the prediction made for this test case." ]
[ "F8", "F10", "F2", "F7", "F6", "F16", "F5", "F4", "F12", "F3", "F14", "F13", "F9", "F11", "F15", "F1" ]
{'F8': 'Communication with dr', 'F10': 'Modern equipment', 'F2': 'Specialists avaliable', 'F7': 'Quality\\/experience dr.', 'F6': 'Time waiting', 'F16': 'Admin procedures', 'F5': 'Hygiene and cleaning', 'F4': 'waiting rooms', 'F12': 'avaliablity of drugs', 'F3': 'Time of appointment', 'F14': 'hospital rooms quality', 'F13': 'Exact diagnosis', 'F9': 'parking, playing rooms, caffes', 'F11': 'friendly health care workers', 'F15': 'Check up appointment', 'F1': 'lab services'}
{'F8': 'F8', 'F10': 'F10', 'F7': 'F2', 'F6': 'F7', 'F2': 'F6', 'F3': 'F16', 'F4': 'F5', 'F14': 'F4', 'F13': 'F12', 'F5': 'F3', 'F15': 'F14', 'F9': 'F13', 'F16': 'F9', 'F11': 'F11', 'F1': 'F15', 'F12': 'F1'}
{'C2': 'C1', 'C1': 'C2'}
Dissatisfied
{'C1': 'Dissatisfied', 'C2': 'Satisfied'}
KNeighborsClassifier
C1
Cab Surge Pricing System
C1, out of the three potential classes, is the the label assigned with a high probability of 50.0%. However, the classifier indicates that C3 and C2 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 F2, F9, and F3 are shown to be the main factors resulting in the classification output decision. The remaining variables, such as F8, F11, and F5, have lower attributions compared to F2, F9, and F3. The attribution analysis also indicated that F2, F9, F3, F11, and F10 are the variables that positively contribute to the decision, meaning they are the ones that shift the classification higher towards C1. On the contrary, F8, F5, F12, F7, and F4 are the top negative variables that steer the decision slightly towards the other labels, C3 and C2. In fact, it is because of these negative variables that the classifier indicates the probabilities across the C2 and C3.
[ "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
{'C3': '25.00%', 'C2': '25.00%', 'C1': '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 (F2 (when it is equal to V0) and F9) on the prediction made for this test case.", "Compare the direction of impact of the features: F3, F8, F11 and F5.", "Describe the degree of impact of the following features: F12 (value equal to V2), F7 and F10?" ]
[ "F2", "F9", "F3", "F8", "F11", "F5", "F12", "F7", "F10", "F4", "F1", "F6" ]
{'F2': 'Destination_Type', 'F9': 'Cancellation_Last_1Month', 'F3': 'Trip_Distance', 'F8': 'Customer_Rating', 'F11': 'Var1', 'F5': 'Life_Style_Index', 'F12': 'Confidence_Life_Style_Index', 'F7': 'Var3', 'F10': 'Customer_Since_Months', 'F4': 'Gender', 'F1': 'Var2', 'F6': 'Type_of_Cab'}
{'F6': 'F2', 'F8': 'F9', 'F1': 'F3', 'F7': 'F8', 'F9': 'F11', 'F4': 'F5', 'F5': 'F12', 'F11': 'F7', 'F3': 'F10', 'F12': 'F4', 'F10': 'F1', 'F2': 'F6'}
{'C2': 'C3', 'C1': 'C2', 'C3': 'C1'}
C3
{'C3': 'Low', 'C2': 'Medium', 'C1': '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. F7 is the most influential feature, following which are the variables F10, F5, F12, and F3, enumerated according to their respective relevance to the aforementioned label selection. F7, F12, and F3 are positive features that increase the classifier's response towards generating the C3 label, but F10 and F5 are negative features, lowering the odds of C3 being the correct label. F4, F6, F11, F2, and F9 are features that have a moderate influence on the classifier in this case, while F8 and F1 have only a marginal impact. F10, F5, F11, and F1 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: F7 and F10.", "Compare and contrast the impact of the following features (F5, F12, F3 and F6) on the model’s prediction of C3.", "Describe the degree of impact of the following features: F4, F11, F9 and F2?" ]
[ "F7", "F10", "F5", "F12", "F3", "F6", "F4", "F11", "F9", "F2", "F8", "F1" ]
{'F7': 'Total_Stops', 'F10': 'Airline', 'F5': 'Journey_day', 'F12': 'Source', 'F3': 'Destination', 'F6': 'Journey_month', 'F4': 'Dep_hour', 'F11': 'Arrival_minute', 'F9': 'Arrival_hour', 'F2': 'Duration_hours', 'F8': 'Dep_minute', 'F1': 'Duration_mins'}
{'F12': 'F7', 'F9': 'F10', 'F1': 'F5', 'F10': 'F12', 'F11': 'F3', 'F2': 'F6', 'F3': 'F4', 'F6': 'F11', 'F5': 'F9', 'F7': 'F2', 'F4': 'F8', 'F8': 'F1'}
{'C2': 'C2', 'C1': 'C1', 'C3': 'C3'}
High
{'C2': 'Low', 'C1': 'Moderate', 'C3': 'High'}
GradientBoostingClassifier
C2
Broadband Sevice Signup
In this case, the model expects C2 to be a label since the probability that the label is the alternative class C1 is only 1.94%. This means that the model has a lot of confidence in the selected label, C2. F31 and F32 are the two most important prediction variables positively controlling the assignment of C2 in this case. Other variables that contributed positively to this prediction included F23, F17, F39, F26, and F29. On the other hand, the values F3, F40, F7, and F30 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 F34, F29, F17, and F32, which may explain why the model is confident that the true label is probably C2. Finally, for the case under consideration, F25, F18, F5, F9, F37, and F11 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
{'C2': '98.06%', 'C1': '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: F34 and F32.", "Compare and contrast the impact of the following features (F29, F17, F26 (with a value equal to V1) and F23) on the model’s prediction of C2.", "Describe the degree of impact of the following features: F3, F39 and F40?" ]
[ "F34", "F32", "F29", "F17", "F26", "F23", "F3", "F39", "F40", "F7", "F30", "F10", "F15", "F4", "F12", "F31", "F6", "F2", "F41", "F24", "F25", "F18", "F11", "F5", "F9", "F37", "F19", "F27", "F35", "F42", "F33", "F36", "F13", "F14", "F8", "F38", "F28", "F1", "F16", "F20", "F21", "F22" ]
{'F34': 'X38', 'F32': 'X22', 'F29': 'X32', 'F17': 'X19', 'F26': 'X1', 'F23': 'X13', 'F3': 'X11', 'F39': 'X3', 'F40': 'X16', 'F7': 'X2', 'F30': 'X12', 'F10': 'X14', 'F15': 'X42', 'F4': 'X18', 'F12': 'X28', 'F31': 'X35', 'F6': 'X24', 'F2': 'X20', 'F41': 'X8', 'F24': 'X40', 'F25': 'X34', 'F18': 'X5', 'F11': 'X4', 'F5': 'X41', 'F9': 'X6', 'F37': 'X39', 'F19': 'X7', 'F27': 'X37', 'F35': 'X36', 'F42': 'X33', 'F33': 'X21', 'F36': 'X9', 'F13': 'X31', 'F14': 'X30', 'F8': 'X10', 'F38': 'X27', 'F28': 'X26', 'F1': 'X25', 'F16': 'X15', 'F20': 'X23', 'F21': 'X17', 'F22': 'X29'}
{'F35': 'F34', 'F20': 'F32', 'F29': 'F29', 'F17': 'F17', 'F40': 'F26', 'F11': 'F23', 'F9': 'F3', 'F2': 'F39', 'F14': 'F40', 'F1': 'F7', 'F10': 'F30', 'F12': 'F10', 'F38': 'F15', 'F16': 'F4', 'F26': 'F12', 'F32': 'F31', 'F22': 'F6', 'F18': 'F2', 'F6': 'F41', 'F37': 'F24', 'F31': 'F25', 'F41': 'F18', 'F3': 'F11', 'F39': 'F5', 'F4': 'F9', 'F36': 'F37', 'F5': 'F19', 'F34': 'F27', 'F33': 'F35', 'F30': 'F42', 'F19': 'F33', 'F7': 'F36', 'F28': 'F13', 'F27': 'F14', 'F8': 'F8', 'F25': 'F38', 'F24': 'F28', 'F23': 'F1', 'F13': 'F16', 'F21': 'F20', 'F15': 'F21', 'F42': 'F22'}
{'C1': 'C2', 'C2': 'C1'}
No
{'C2': 'No', 'C1': 'Yes'}
KNeighborsClassifier
C2
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 C2 since its prediction probability is 60.0% compared to the 40.0% of C1. The influence of the features on the classifier's decision here can be ranked in the order F4, F11, F3, F9, F6, F10, F2, F5, F8, F7, F1. In fact, with the exception of F1, all the features are shown to have attributions, resulting in the predicted probabilities across the labels. The F4, F11, F3, and F8 have negative contributions, leading to the classifier's confidence in the validity of the C2 label and this is because they are the features that support labelling the case as C1. However, the positive features F9, F6, F10, F2, F5, and F7 tip the scales higher in favour of C2. Since the most influential features F4, F11, and F3 have negative contributions, it is not surprising that the classifier has the probability of C1 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
{'C1': '40.00%', 'C2': '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 (F3, F9, F6 and F10) with moderate impact on the prediction made for this test case." ]
[ "F4", "F11", "F3", "F9", "F6", "F10", "F2", "F5", "F8", "F7", "F1" ]
{'F4': 'fea_4', 'F11': 'fea_8', 'F3': 'fea_2', 'F9': 'fea_9', 'F6': 'fea_6', 'F10': 'fea_10', 'F2': 'fea_1', 'F5': 'fea_11', 'F8': 'fea_7', 'F7': 'fea_3', 'F1': 'fea_5'}
{'F4': 'F4', 'F8': 'F11', 'F2': 'F3', 'F9': 'F9', 'F6': 'F6', 'F10': 'F10', 'F1': 'F2', 'F11': 'F5', 'F7': 'F8', 'F3': 'F7', 'F5': 'F1'}
{'C2': 'C1', 'C1': 'C2'}
High
{'C1': 'Low', 'C2': 'High'}
SGDClassifier
C2
Airline Passenger Satisfaction
At a confidence level of 100.0%, the model labels this case as C2 and what this indicate is that there is no chance for C1 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 F8, F20, F5, F10, F15, and F1. For this C2 prediction, the most important features are F8, F20, and F5. 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 F15, F1, F19, and F11. On the other hand, shifting the decision in the opposite direction are the negative features such as F10, F12, F6, F9, and F13. However, compared to F8, F20, and F5, the joint influence of the negative features mentioned above is weak. Finally, the values of the features F21 and F3, 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
{'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 (F10, F15 and F1) with moderate impact on the prediction made for this test case." ]
[ "F8", "F20", "F5", "F10", "F15", "F1", "F19", "F12", "F11", "F6", "F2", "F9", "F13", "F22", "F4", "F16", "F7", "F17", "F18", "F14", "F21", "F3" ]
{'F8': 'Inflight wifi service', 'F20': 'Type of Travel', 'F5': 'Customer Type', 'F10': 'Online boarding', 'F15': 'On-board service', 'F1': 'Baggage handling', 'F19': 'Inflight service', 'F12': 'Departure\\/Arrival time convenient', 'F11': 'Leg room service', 'F6': 'Inflight entertainment', 'F2': 'Seat comfort', 'F9': 'Class', 'F13': 'Departure Delay in Minutes', 'F22': 'Cleanliness', 'F4': 'Gate location', 'F16': 'Gender', 'F7': 'Arrival Delay in Minutes', 'F17': 'Age', 'F18': 'Ease of Online booking', 'F14': 'Flight Distance', 'F21': 'Food and drink', 'F3': 'Checkin service'}
{'F7': 'F8', 'F4': 'F20', 'F2': 'F5', 'F12': 'F10', 'F15': 'F15', 'F17': 'F1', 'F19': 'F19', 'F8': 'F12', 'F16': 'F11', 'F14': 'F6', 'F13': 'F2', 'F5': 'F9', 'F21': 'F13', 'F20': 'F22', 'F10': 'F4', 'F1': 'F16', 'F22': 'F7', 'F3': 'F17', 'F9': 'F18', 'F6': 'F14', 'F11': 'F21', 'F18': 'F3'}
{'C2': 'C1', 'C1': 'C2'}
satisfied
{'C1': 'neutral or dissatisfied', 'C2': 'satisfied'}
SVC
C2
German Credit Evaluation
For the case under consideration here, there is a 70.83% probability that the true label is C2 and what this means is that there is also a 29.71% chance that C1 could be the correct label. Among the features, the top two most impactful are F4 and F8. The next features, ranked in order of the magnitude of their respective attribution are F1, F7, F9, F5, F6, F3, and F2. Out of the nine features, only three of them have values pushing for the prediction of label C1 while the rest are referred to as positive features given that their values motivate the prediction of class C2. The three attributes with the negative impact, shifting the prediction decision away from C2, are F8, F1, and F7. The collective influence of positive features is higher than that of negative features F8, F1, 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
{'C2': '70.83%', 'C1': '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: F4, F8, F1, F7 and F9.", "Compare and contrast the impact of the following features (F5, F6 and F3) on the model’s prediction of C2.", "Describe the degree of impact of the following features: F2?" ]
[ "F4", "F8", "F1", "F7", "F9", "F5", "F6", "F3", "F2" ]
{'F4': 'Checking account', 'F8': 'Duration', 'F1': 'Housing', 'F7': 'Saving accounts', 'F9': 'Sex', 'F5': 'Age', 'F6': 'Purpose', 'F3': 'Job', 'F2': 'Credit amount'}
{'F6': 'F4', 'F8': 'F8', 'F4': 'F1', 'F5': 'F7', 'F2': 'F9', 'F1': 'F5', 'F9': 'F6', 'F3': 'F3', 'F7': 'F2'}
{'C1': 'C2', 'C2': 'C1'}
Good Credit
{'C2': 'Good Credit', 'C1': '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. F5, F8, F2, and F1 are the primary contributors to the classification verdict here. The contributions of F1, F9, and F7 are moderate, while those of F6, F4, and F8 are lower compared to the other variables. Positively supporting the classification are F5, F2, F4, and F3, while all the remaining variables have a negative impact that decreases the probability of C1 being the correct label. F8, F1, and F9 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 (F9, F7 and F6) with moderate impact on the prediction made for this test case." ]
[ "F5", "F8", "F2", "F1", "F9", "F7", "F6", "F4", "F3" ]
{'F5': 'Housing', 'F8': 'Checking account', 'F2': 'Sex', 'F1': 'Purpose', 'F9': 'Job', 'F7': 'Duration', 'F6': 'Credit amount', 'F4': 'Age', 'F3': 'Saving accounts'}
{'F4': 'F5', 'F6': 'F8', 'F2': 'F2', 'F9': 'F1', 'F3': 'F9', 'F8': 'F7', 'F7': 'F6', 'F1': 'F4', 'F5': 'F3'}
{'C1': 'C1', 'C2': 'C2'}
Good Credit
{'C1': 'Good Credit', 'C2': 'Bad Credit'}
GradientBoostingClassifier
C1
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 C1 and C2 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 C1. From the attribution analysis, F13, F8, and F9 have the highest contribution to the decision, whilst F1 and F5 are the least relevant features. In between these two ends are the moderately influential features, such as F12, F11, F6, F3, and F14. Furthermore, the negative features F8, F6, F16, F4, F7, F15, and F1 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 C2 instead of C1. Conversely, the positive features such as F13, F9, F12, F11, F3, F14, and F2 are the ones driving the decision higher towards C1.
[ "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
{'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 (F6 (value equal to V3), F3 (with a value equal to V3) and F14 (equal to V2)) on the model’s prediction of C1.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F13", "F9", "F8", "F12", "F11", "F6", "F3", "F14", "F2", "F16", "F10", "F4", "F7", "F15", "F1", "F5" ]
{'F13': 'Exact diagnosis', 'F9': 'avaliablity of drugs', 'F8': 'lab services', 'F12': 'friendly health care workers', 'F11': 'Communication with dr', 'F6': 'Time waiting', 'F3': 'Specialists avaliable', 'F14': 'Modern equipment', 'F2': 'waiting rooms', 'F16': 'Check up appointment', 'F10': 'Hygiene and cleaning', 'F4': 'Admin procedures', 'F7': 'Time of appointment', 'F15': 'hospital rooms quality', 'F1': 'parking, playing rooms, caffes', 'F5': 'Quality\\/experience dr.'}
{'F9': 'F13', 'F13': 'F9', 'F12': 'F8', 'F11': 'F12', 'F8': 'F11', 'F2': 'F6', 'F7': 'F3', 'F10': 'F14', 'F14': 'F2', 'F1': 'F16', 'F4': 'F10', 'F3': 'F4', 'F5': 'F7', 'F15': 'F15', 'F16': 'F1', 'F6': 'F5'}
{'C1': 'C2', 'C2': 'C1'}
Satisfied
{'C2': 'Dissatisfied', 'C1': '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 F16, F29, F41, and F27. Among these top features, F16 and F29 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 F27, F41, and F35 have a moderate negative contribution, reducing the odds of a C1 prediction. F25, F14, F2, and F9 are other notable positive features, while F4, F19, F33, and F39 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 F12, F37, and F36 are deemed irrelevant. To summarise, considering the attributions of influential features such as F16, F29, and F27, 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: F16, F29 and F27.", "Compare and contrast the impact of the following features (F41, F35 and F25) on the model’s prediction of C1.", "Describe the degree of impact of the following features: F14, F2, F4 and F19?" ]
[ "F16", "F29", "F27", "F41", "F35", "F25", "F14", "F2", "F4", "F19", "F33", "F39", "F24", "F17", "F9", "F26", "F38", "F20", "F1", "F13", "F12", "F37", "F36", "F18", "F8", "F28", "F40", "F34", "F42", "F31", "F5", "F7", "F32", "F3", "F6", "F23", "F21", "F15", "F11", "F10", "F30", "F22" ]
{'F16': 'X38', 'F29': 'X32', 'F27': 'X3', 'F41': 'X22', 'F35': 'X16', 'F25': 'X25', 'F14': 'X41', 'F2': 'X35', 'F4': 'X4', 'F19': 'X19', 'F33': 'X12', 'F39': 'X11', 'F24': 'X1', 'F17': 'X10', 'F9': 'X28', 'F26': 'X18', 'F38': 'X21', 'F20': 'X36', 'F1': 'X42', 'F13': 'X27', 'F12': 'X34', 'F37': 'X2', 'F36': 'X37', 'F18': 'X39', 'F8': 'X40', 'F28': 'X5', 'F40': 'X33', 'F34': 'X24', 'F42': 'X31', 'F31': 'X30', 'F5': 'X26', 'F7': 'X23', 'F32': 'X20', 'F3': 'X17', 'F6': 'X15', 'F23': 'X14', 'F21': 'X13', 'F15': 'X9', 'F11': 'X8', 'F10': 'X7', 'F30': 'X6', 'F22': 'X29'}
{'F35': 'F16', 'F29': 'F29', 'F2': 'F27', 'F20': 'F41', 'F14': 'F35', 'F23': 'F25', 'F39': 'F14', 'F32': 'F2', 'F3': 'F4', 'F17': 'F19', 'F10': 'F33', 'F9': 'F39', 'F40': 'F24', 'F8': 'F17', 'F26': 'F9', 'F16': 'F26', 'F19': 'F38', 'F33': 'F20', 'F38': 'F1', 'F25': 'F13', 'F31': 'F12', 'F1': 'F37', 'F34': 'F36', 'F36': 'F18', 'F37': 'F8', 'F41': 'F28', 'F30': 'F40', 'F22': 'F34', 'F28': 'F42', 'F27': 'F31', 'F24': 'F5', 'F21': 'F7', 'F18': 'F32', 'F15': 'F3', 'F13': 'F6', 'F12': 'F23', 'F11': 'F21', 'F7': 'F15', 'F6': 'F11', 'F5': 'F10', 'F4': 'F30', 'F42': 'F22'}
{'C2': 'C2', 'C1': 'C1'}
Yes
{'C2': 'No', 'C1': 'Yes'}
LogisticRegression
C1
Cab Surge Pricing System
The label assigned in this case by the classifier is C1, with a moderately high prediction confidence of 66.11%. Since the confidence level with respect to this C1 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 F7, F8, F11, and F5 have a significant impact on the abovementioned prediction judgement. The value of features F7, F11, F9, and F10 contributes positively to the C1 label, instead of the other labels. F8, F5, F3, and F1 are the variables having a contradictory influence, shifting the final decision in the direction of the other labels. The remaining positive variables are F12, F2, F6, and F4. Of all the predictors, the ones that contributed the least to the prediction included F3, F6, F1, and F4. In summary, given the attributions of the predictors, it is clear why the classifier indicates that C1 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%', 'C1': '66.11%', 'C3': '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 (F7, F8 and F11) on the prediction made for this test case.", "Compare the direction of impact of the features: F5, F9 and F10.", "Describe the degree of impact of the following features: F12, F2, F3 and F6?" ]
[ "F7", "F8", "F11", "F5", "F9", "F10", "F12", "F2", "F3", "F6", "F1", "F4" ]
{'F7': 'Type_of_Cab', 'F8': 'Trip_Distance', 'F11': 'Destination_Type', 'F5': 'Cancellation_Last_1Month', 'F9': 'Confidence_Life_Style_Index', 'F10': 'Life_Style_Index', 'F12': 'Gender', 'F2': 'Var3', 'F3': 'Customer_Since_Months', 'F6': 'Var1', 'F1': 'Customer_Rating', 'F4': 'Var2'}
{'F2': 'F7', 'F1': 'F8', 'F6': 'F11', 'F8': 'F5', 'F5': 'F9', 'F4': 'F10', 'F12': 'F12', 'F11': 'F2', 'F3': 'F3', 'F9': 'F6', 'F7': 'F1', 'F10': 'F4'}
{'C2': 'C2', 'C3': 'C1', 'C1': 'C3'}
C2
{'C2': 'Low', 'C1': 'Medium', 'C3': '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 C2, C3, 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 C2 nor C3 is the true label here. The influence of F12 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 F7, F8, F2, and F18 are moderately low compared to that of F12. The strong positive influence of F12 coupled with other positive features such as F2, F13, and F18 can explain the very high confidence level in the prediction decision. On the flip-side, the input features F7, F8, and F19 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%', 'C3': '0.04%', 'C2': '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 (F8, F18 and F19) with moderate impact on the prediction made for this test case." ]
[ "F12", "F2", "F7", "F8", "F18", "F19", "F13", "F14", "F15", "F16", "F4", "F6", "F1", "F17", "F11", "F10", "F20", "F5", "F3", "F9" ]
{'F12': 'ram', 'F2': 'battery_power', 'F7': 'px_height', 'F8': 'px_width', 'F18': 'dual_sim', 'F19': 'four_g', 'F13': 'touch_screen', 'F14': 'int_memory', 'F15': 'pc', 'F16': 'n_cores', 'F4': 'fc', 'F6': 'clock_speed', 'F1': 'three_g', 'F17': 'sc_w', 'F11': 'wifi', 'F10': 'm_dep', 'F20': 'mobile_wt', 'F5': 'talk_time', 'F3': 'sc_h', 'F9': 'blue'}
{'F11': 'F12', 'F1': 'F2', 'F9': 'F7', 'F10': 'F8', 'F16': 'F18', 'F17': 'F19', 'F19': 'F13', 'F4': 'F14', 'F8': 'F15', 'F7': 'F16', 'F3': 'F4', 'F2': 'F6', 'F18': 'F1', 'F13': 'F17', 'F20': 'F11', 'F5': 'F10', 'F6': 'F20', 'F14': 'F5', 'F12': 'F3', 'F15': 'F9'}
{'C1': 'C1', 'C4': 'C4', 'C2': 'C3', 'C3': 'C2'}
r1
{'C1': 'r1', 'C4': 'r2', 'C3': 'r3', 'C2': 'r4'}
BernoulliNB
C1
Job Change of Data Scientists
The prediction likelihood of class C1 is 84.87%, making it the most probable label for the given case. When making the above prediction, the most relevant features considered are F12, F8, F3, and F9. Conversely, F5, F7, and F10 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, F8 and F2, have a somewhat high influence; the others , F1, F5, F7, and F11, have a lower negative influence. To put it concisely, the combined influence of the positive features, such as F12, F9, F6, F4, and F3, 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
{'C2': '15.13%', 'C1': '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: F6, F10 and F1?" ]
[ "F12", "F9", "F8", "F3", "F2", "F4", "F6", "F10", "F1", "F5", "F7", "F11" ]
{'F12': 'city', 'F9': 'enrolled_university', 'F8': 'relevent_experience', 'F3': 'city_development_index', 'F2': 'experience', 'F4': 'education_level', 'F6': 'major_discipline', 'F10': 'last_new_job', 'F1': 'gender', 'F5': 'company_size', 'F7': 'company_type', 'F11': 'training_hours'}
{'F3': 'F12', 'F6': 'F9', 'F5': 'F8', 'F1': 'F3', 'F9': 'F2', 'F7': 'F4', 'F8': 'F6', 'F12': 'F10', 'F4': 'F1', 'F10': 'F5', 'F11': 'F7', 'F2': 'F11'}
{'C1': 'C2', 'C2': 'C1'}
Leave
{'C2': 'Stay', 'C1': 'Leave'}
MLPClassifier
C1
Annual Income Earnings
With respect to the given case, the most probable label for the given case is C1, with a 99.81% chance of being the correct label, therefore the probability of C2 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, F10, F12, and F9 since their contributions to the decision only favour labelling the given case as C2 instead. On the flip side, pushing the classification strongly towards C1 are the features F1, F5, F2, and F8 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
{'C1': '99.81%', 'C2': '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 C1 by the model for the given test example?" ]
[ "F1", "F5", "F2", "F8", "F13", "F11", "F3", "F10", "F4", "F6", "F12", "F14", "F9", "F7" ]
{'F1': 'Capital Gain', 'F5': 'Marital Status', 'F2': 'Capital Loss', 'F8': 'Age', 'F13': 'Hours per week', 'F11': 'Education', 'F3': 'Occupation', 'F10': 'Country', 'F4': 'Relationship', 'F6': 'Workclass', 'F12': 'Sex', 'F14': 'fnlwgt', 'F9': 'Education-Num', 'F7': 'Race'}
{'F11': 'F1', 'F6': 'F5', 'F12': 'F2', 'F1': 'F8', 'F13': 'F13', 'F4': 'F11', 'F7': 'F3', 'F14': 'F10', 'F8': 'F4', 'F2': 'F6', 'F10': 'F12', 'F3': 'F14', 'F5': 'F9', 'F9': 'F7'}
{'C2': 'C1', 'C1': 'C2'}
Under 50K
{'C1': 'Under 50K', 'C2': 'Above 50K'}
GaussianNB
C2
Tic-Tac-Toe Strategy
For a particular case, the model predicted the class designation C2 with 75.50% confidence. Based on the attributions analysis, the feature that had the biggest impact on the final labelling decision were the F4 and F2, which happened to strongly support the assignment of label C2. Contributing differently to F4, the feature F6 is the top negative feature, reducing the odds that C2 is the correct label. F3, F9, F6, and F7 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 F3 and F9 positively support the model, driving the prediction towards class C2, while F6 and F7 work against it. F5, F1, 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 C2 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
{'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 (F3 (value equal to V2), F9 (value equal to V2), F6 (when it is equal to V2) and F7 (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", "F3", "F9", "F6", "F7", "F5", "F1", "F8" ]
{'F4': 'middle-middle-square', 'F2': ' top-right-square', 'F3': 'bottom-middle-square', 'F9': 'middle-right-square', 'F6': 'bottom-left-square', 'F7': 'bottom-right-square', 'F5': 'top-left-square', 'F1': 'middle-left-square', 'F8': 'top-middle-square'}
{'F5': 'F4', 'F3': 'F2', 'F8': 'F3', 'F6': 'F9', 'F7': 'F6', 'F9': 'F7', 'F1': 'F5', 'F4': 'F1', 'F2': 'F8'}
{'C2': 'C1', 'C1': 'C2'}
player B win
{'C1': 'player B lose', 'C2': 'player B win'}
RandomForestClassifier
C4
Mobile Price-Range Classification
The model reveals that C2 and C3 each has a zero prediction probability, while C1 has a 3.85%. This indicates that C4 is the most likely label for the present context with approximately 96.15% certainty. F4, F18, and F9 are the most important elements driving the above classification, whereas F16, F7, F6, F14, and F5 are the least important. The intermediate elements, which comprise F10, F8, and F12, have varied degrees of influence, ranging from moderate to low. F10 is the only with a negative contribution among the top influential features, F4, F18, F9, F10, and F8, skewing the forecast slightly towards a different possible label. Furthermore, the top two positive elements, F18 and F4, 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
{'C2': '0.00%', 'C3': '0.00%', 'C1': '3.85%', 'C4': '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 (F9, F10, F8 and F12) with moderate impact on the prediction made for this test case." ]
[ "F18", "F4", "F9", "F10", "F8", "F12", "F13", "F2", "F11", "F17", "F3", "F19", "F15", "F1", "F20", "F16", "F7", "F6", "F14", "F5" ]
{'F18': 'ram', 'F4': 'battery_power', 'F9': 'px_width', 'F10': 'int_memory', 'F8': 'pc', 'F12': 'touch_screen', 'F13': 'four_g', 'F2': 'm_dep', 'F11': 'px_height', 'F17': 'clock_speed', 'F3': 'sc_h', 'F19': 'n_cores', 'F15': 'talk_time', 'F1': 'blue', 'F20': 'dual_sim', 'F16': 'fc', 'F7': 'mobile_wt', 'F6': 'sc_w', 'F14': 'wifi', 'F5': 'three_g'}
{'F11': 'F18', 'F1': 'F4', 'F10': 'F9', 'F4': 'F10', 'F8': 'F8', 'F19': 'F12', 'F17': 'F13', 'F5': 'F2', 'F9': 'F11', 'F2': 'F17', 'F12': 'F3', 'F7': 'F19', 'F14': 'F15', 'F15': 'F1', 'F16': 'F20', 'F3': 'F16', 'F6': 'F7', 'F13': 'F6', 'F20': 'F14', 'F18': 'F5'}
{'C4': 'C2', 'C3': 'C3', 'C1': 'C1', 'C2': 'C4'}
r4
{'C2': 'r1', 'C3': 'r2', 'C1': 'r3', 'C4': '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 F11, F2, and F8 appear to have very smaller or little impact on the prediction of C2 compared to F5, F7, F13, F1, and F10, according to the attribution analysis. F5 and F7 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 F13, F1, F12, and F6. On the contrarily, the feature F10 negatively influences the model's prediction of C2, shifting the verdict in the opposite direction. It is important to note that, only the features F10, F4, and F8 have negative attributions, while all the remaining ones have positive attributions. The joint positive attribution outweighs the negative attributions from F10, F4, and F8.
[ "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 (F10, F12 and F6) on the model’s prediction of C2.", "Summarize the set of features has little to no impact on the prediction?" ]
[ "F5", "F7", "F13", "F1", "F10", "F12", "F6", "F3", "F4", "F9", "F8", "F2", "F11" ]
{'F5': 'LSTAT', 'F7': 'RM', 'F13': 'PTRATIO', 'F1': 'RAD', 'F10': 'CHAS', 'F12': 'TAX', 'F6': 'CRIM', 'F3': 'DIS', 'F4': 'AGE', 'F9': 'B', 'F8': 'ZN', 'F2': 'NOX', 'F11': 'INDUS'}
{'F13': 'F5', 'F6': 'F7', 'F11': 'F13', 'F9': 'F1', 'F4': 'F10', 'F10': 'F12', 'F1': 'F6', 'F8': 'F3', 'F7': 'F4', 'F12': 'F9', 'F2': 'F8', 'F5': 'F2', 'F3': 'F11'}
{'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 F9 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. F8, F2, F9, and F6 all had a similar impact on the classification. However, the direction of influence is different, with features F8 and F2 pushing the model's decision to class C2 and features F9 and F6 doing the opposite. F7, F5, and F3 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 (F8 (value equal to V2), F2 (value equal to V2), F9 (when it is equal to V2) and F6 (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", "F1", "F8", "F2", "F9", "F6", "F7", "F5", "F3" ]
{'F4': 'middle-middle-square', 'F1': ' top-right-square', 'F8': 'bottom-middle-square', 'F2': 'middle-right-square', 'F9': 'bottom-left-square', 'F6': 'bottom-right-square', 'F7': 'top-left-square', 'F5': 'middle-left-square', 'F3': 'top-middle-square'}
{'F5': 'F4', 'F3': 'F1', 'F8': 'F8', 'F6': 'F2', 'F7': 'F9', 'F9': 'F6', 'F1': 'F7', 'F4': 'F5', 'F2': 'F3'}
{'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 F40, F23, F10, and F37. F40 and F23 are identified as the most negative features, with contributions that lead to a decrease in the classification confidence of label C2. F37 and F10, on the other hand, are the top positive features, leading the classifier to label the case as C2. Other notable negative features are F15, F35, and F27 while other notable positives are F41, F44, F6, and F3. Unlike all those mentioned above, F25, F30, F28, and F45 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 (F40, F23 and F37) on the prediction made for this test case.", "Compare the direction of impact of the variables: F10, F15 and F35.", "Describe the degree of impact of the following variables: F27, F41, F44 and F6?" ]
[ "F40", "F23", "F37", "F10", "F15", "F35", "F27", "F41", "F44", "F6", "F3", "F29", "F5", "F4", "F1", "F17", "F43", "F34", "F33", "F18", "F25", "F30", "F45", "F28", "F7", "F19", "F11", "F39", "F31", "F42", "F21", "F46", "F20", "F9", "F8", "F13", "F16", "F22", "F14", "F12", "F36", "F32", "F26", "F2", "F24", "F38" ]
{'F40': 'Unaffordable', 'F23': 'Late Delivery', 'F37': 'Good Food quality', 'F10': 'Perference(P2)', 'F15': 'Delay of delivery person picking up food', 'F35': 'Influence of rating', 'F27': 'Wrong order delivered', 'F41': 'Time saving', 'F44': 'Ease and convenient', 'F6': 'Order Time', 'F3': 'Google Maps Accuracy', 'F29': 'Freshness ', 'F5': 'Politeness', 'F4': 'Long delivery time', 'F1': 'Good Road Condition', 'F17': 'High Quality of package', 'F43': 'Monthly Income', 'F34': 'Missing item', 'F33': 'More Offers and Discount', 'F18': 'Unavailability', 'F25': 'Influence of time', 'F30': 'Delivery person ability', 'F45': 'Low quantity low time', 'F28': 'Less Delivery time', 'F7': 'Residence in busy location', 'F19': 'Maximum wait time', 'F11': 'Temperature', 'F39': 'Good Taste ', 'F31': 'Number of calls', 'F42': 'Age', 'F21': 'Order placed by mistake', 'F46': 'Delay of delivery person getting assigned', 'F20': 'Family size', 'F9': 'Bad past experience', 'F8': 'Poor Hygiene', 'F13': 'Health Concern', 'F16': 'Self Cooking', 'F22': 'Good Tracking system', 'F14': 'Easy Payment option', 'F12': 'More restaurant choices', 'F36': 'Perference(P1)', 'F32': 'Educational Qualifications', 'F26': 'Occupation', 'F2': 'Marital Status', 'F24': 'Gender', 'F38': 'Good Quantity'}
{'F23': 'F40', 'F19': 'F23', 'F15': 'F37', 'F9': 'F10', 'F26': 'F15', 'F38': 'F35', 'F27': 'F27', 'F11': 'F41', 'F10': 'F44', 'F31': 'F6', 'F34': 'F3', 'F43': 'F29', 'F42': 'F5', 'F24': 'F4', 'F35': 'F1', 'F40': 'F17', 'F5': 'F43', 'F28': 'F34', 'F14': 'F33', 'F22': 'F18', 'F30': 'F25', 'F37': 'F30', 'F36': 'F45', 'F39': 'F28', 'F33': 'F7', 'F32': 'F19', 'F44': 'F11', 'F45': 'F39', 'F41': 'F31', 'F1': 'F42', 'F29': 'F21', 'F25': 'F46', 'F7': 'F20', 'F21': 'F9', 'F20': 'F8', 'F18': 'F13', 'F17': 'F16', 'F16': 'F22', 'F13': 'F14', 'F12': 'F12', 'F8': 'F36', 'F6': 'F32', 'F4': 'F26', 'F3': 'F2', 'F2': 'F24', 'F46': 'F38'}
{'C2': 'C2', 'C1': 'C1'}
Return
{'C2': 'Return', 'C1': 'Go Away'}