Supervised Learning: Augmented Markov Blanket
Augmented Markov Blanket
Given the performance of the Markov Blanket algorithm in the previous section (Supervised Learning: Markov Blanket), we are now looking for improvements by considering alternatives within the group of Supervised Learning algorithms.
BayesiaLab offers an extension to the Markov Blanket algorithm, namely the Augmented Markov Blanket, which performs an Unsupervised Learning algorithm on the nodes in the Markov Blanket. This relaxes the constraint of requiring orthogonal child nodes. Thus, it helps identify any influence paths between the predictor variables and potentially improves the predictive performance. Adding such arcs would be similar to automatically creating interaction terms in a regression analysis.
After returning to the Modeling Mode F4 we start this learning algorithm via Menus > Learning > Supervised Learning > Augmented Markov Blanket.
Note that we are using the original Learning/Test Sets split again. The symbol tagged onto the database icon reminds us that the Learning Set and Test Set split is in place.
As expected, the resulting network is slightly more complex than the Markov Blanket.
Structure Comparison
BayesiaLab offers a tool for formally comparing network structures, which we can apply to the Augmented Markov Blanket we just learned and the previously learned Markov Blanket.
We can use Menus > Tools > Compare > Structure to highlight the differences between both networks.
The new model adds one arc, → , bringing the total to five. Given that this addition is immediately visible, this function may appear overkill for our example. However, in more complex situations, Structure Comparison can be rather helpful.
By default, the current network appears as the Reference Network, and for the Comparison Network, we select the previously learned Markov Blanket.
Clicking Compare brings up the Structure Comparison Report.
This report provides a list of arcs common to both networks and another list of those removed in the Comparison Network.
Clicking Structure Comparison shows a Synthesis Structure that visualizes these differences.
The arcs that exist in the Reference Structure, i.e., Augmented Markov Blanket, but do not exist in the Comparison Structure, i.e., the Markov Blanket, are highlighted in red.
Please see Direct Structural Network Comparison for a much more detailed explanation of this tool.
Performance Analysis
Given that the Augmented Markov Blanket algorithm has only added a single additional arc to the network, compared to what the Markov Blanket algorithm produced, we may not expect a dramatic difference in predictive performance.
We evaluate whether this added relationship improves prediction. We run the Network Performance Analysis again: Menus > Analysis > Network Performance > Target.
As the analysis starts, BayesiaLab prompts us to specify the Target Evaluation Setting. Again, we select Evaluate All States and proceed.
Using the previously defined Test Set for evaluating our model, we obtain the performance report:
Now, we can compare the new performance metrics of the Augmented Markov Blanket with the ones previously obtained with the Markov Blanket.
Evaluation Against Test Set
| Markov Blanket | ||
|---|---|---|
| Overall Precision | 96.5% | |
| False Negative Rate | 5.0% | |
| Value | Benign (73) | Malignant (40) |
| Benign (73) | 71 | 2 |
| Malignant (40) | 2 | 38 |
| Augmented Markov Blanket | ||
|---|---|---|
| Overall Precision | 94.7% | |
| False Negative Rate | 7.5% | |
| Value | Benign (73) | Malignant (40) |
| Benign (73) | 70 | 3 |
| Malignant (40) | 3 | 37 |
On this held-out set, AMB correctly classifies 70 and 37 records. It makes three errors in each class. Its accuracy is lower than the MB model’s 96.5%, and its false-negative rate rises from 5% to 7.5%. Added model complexity therefore did not improve this particular test-set result.
Cross-Validation
Recognizing the potential of the Augmented Markov Blanket algorithm, we proceed to the K-Folds Cross-Validation: Menus > Tools > Resampling > Target Evaluation > K-Fold.
Preserve the original trained model. On a separate copy, remove the split and repeat the ten-fold procedure with Augmented Markov Blanket, seed 31, and the other settings unchanged. The aggregate report is shown below.
Across the 569 held-out cross-validation predictions, AMB correctly classifies 344 and 197 records. Fifteen records are predicted as and thirteen records as . This gives a small cross-validation improvement over MB, despite its lower accuracy on the original test set.
Cross-Validation Result Synthesis
| Markov Blanket | ||
|---|---|---|
| Overall Precision | 94.7% | |
| False Negative Rate | 8.0% | |
| Value | Benign (357) | Malignant (212) |
| Benign (361) | 96.4% | 8.0% |
| Malignant (208) | 3.6% | 92.0% |
| Augmented Markov Blanket | ||
|---|---|---|
| Overall Precision | 95.1% | |
| False Negative Rate | 7.1% | |
| Value | Benign (357) | Malignant (212) |
| Benign (359) | 96.4% | 7.1% |
| Malignant (210) | 3.6% | 92.9% |
The difference amounts to two additional correct classifications in cross-validation. We next examine how the Structural Coefficient changes complexity and predictive performance. In the next section, Structural Coefficient Analysis, we explore how adjusting the Structural Coefficient can bring us closer to the performance limits of the model.