This vignette demonstrates two supported plot configuration interfaces in DDESONN.
training_overrides)Scenario 1 configures plotting through three independent call
sites inside training_overrides:
training_overrides$per_epoch_plotstraining_overrides$performance_relevancetraining_overrides$evaluate_predictions_report_plotsEach plot category is configured separately.
This represents the minimal integration bridge interface.
For the unified umbrella interface (recommended), see:
plot-controls_scenario1-2_single-run_scenarioA.Rmd
plot_controls)Scenario 2 configures all plots through a single unified interface:
plot_controlsAll plot categories (e.g., per_epoch,
performance_relevance, evaluate_report) are
defined under this one umbrella.
For comparison with the three-call-site structure (Scenario 1), see:
plot-controls_scenario1-2_single-run_scenarioA.Rmd
[PR] RESOLVED pr_cfg for update_performance_and_relevance (ensemble_number=0, do_ensemble=FALSE) list(saveEnabled = TRUE, viewAllPlots = FALSE, performance_high_mean_plots = TRUE, performance_low_mean_plots = TRUE, relevance_high_mean_plots = TRUE, relevance_low_mean_plots = TRUE, verbose = TRUE) [PR] knitr.in.progress=TRUE [PR] interactive()=FALSE [PR] option(DDESONN_OUTPUT_ROOT)=C:/ddesonn-vig-s1-s2/outputs/DDESONN_plots_scenarioA_s1 [PR] env(DDESONN_ARTIFACTS_ROOT)=C:/ddesonn-vig-s1-s2/outputs/DDESONN_plots_scenarioA_s1 [PR] run_id (head): Ensemble: 0 Model: 1 (n=1) [PR] pr_saveEnabled=TRUE [PR] pr_viewAllPlots=FALSE [PR] flags resolved (post viewAll): perf_high=TRUE perf_low=TRUE relev_high=TRUE relev_low=TRUE [PR TRACE] pr_viewAllPlots= FALSE pr_saveEnabled= TRUE [PR TRACE] rows: perf_high= 7 perf_low= 36 relev_high= 0 relev_low= 3 [PR TRACE] print_plots=TRUE [PR TRACE] CALL high(perf) [PR] performance_high_mean_plots class=list length=7 names(head)=confusion_matrix_TP,confusion_matrix_FP,confusion_matrix_TN,accuracy_precision_recall_f1_tuned_confusion_matrix_TP,accuracy_precision_recall_f1_tuned_confusion_matrix_TN [PR TRACE] CALL low(perf) [PR] performance_low_mean_plots class=list length=36 names(head)=quantization_error,topographic_error,clustering_quality_db,MSE,MAE [PR TRACE] CALL high(relev) [PR] relevance_high_mean_plots class=list length=0 [PR TRACE] CALL low(relev) [PR] relevance_low_mean_plots class=list length=3 names(head)=ndcg,diversity,serendipity
# ================================================================================
# ================================= CORE METRICS =================================
# ================================================================================
===== FINAL SUMMARY =====
Best epoch : 167
Train accuracy : 0.990000
Val accuracy : 0.984000
Train loss : 0.008937
Val loss : 0.013941
Threshold : 0.500000
Test accuracy : 0.988000
Test loss : 0.058435
===== TRAIN =====
Classification Report| precision | recall | f1-score | support | |
|---|---|---|---|---|
| 0 | 0.996275 | 0.997927 | 0.997100 | 2412.000000 |
| 1 | 0.995387 | 0.991728 | 0.993554 | 1088.000000 |
| accuracy | 0.996000 | 0.996000 | 0.996000 | 3500.000000 |
| macro avg | 0.995831 | 0.994827 | 0.995327 | 3500.000000 |
| weighted avg | 0.995999 | 0.996000 | 0.995998 | 3500.000000 |
| Positive (1) | Negative (0) | |
|---|---|---|
| Positive (1) | 1079 | 5 |
| Negative (0) | 9 | 2407 |
AUC/AUPRC AUC (ROC): 0.999922 AUPRC: 0.999831
===== VALIDATION =====
Classification Report| precision | recall | f1-score | support | |
|---|---|---|---|---|
| 0 | 0.991718 | 0.977551 | 0.984584 | 490.000000 |
| 1 | 0.958801 | 0.984615 | 0.971537 | 260.000000 |
| accuracy | 0.980000 | 0.980000 | 0.980000 | 750.000000 |
| macro avg | 0.975260 | 0.981083 | 0.978060 | 750.000000 |
| weighted avg | 0.980307 | 0.980000 | 0.980061 | 750.000000 |
| Positive (1) | Negative (0) | |
|---|---|---|
| Positive (1) | 256 | 11 |
| Negative (0) | 4 | 479 |
AUC/AUPRC AUC (ROC): 0.992708 AUPRC: 0.986047
===== TEST =====
Classification Report| precision | recall | f1-score | support | |
|---|---|---|---|---|
| 0 | 0.998088 | 0.984906 | 0.991453 | 530.000000 |
| 1 | 0.964758 | 0.995455 | 0.979866 | 220.000000 |
| accuracy | 0.988000 | 0.988000 | 0.988000 | 750.000000 |
| macro avg | 0.981423 | 0.990180 | 0.985659 | 750.000000 |
| weighted avg | 0.988311 | 0.988000 | 0.988054 | 750.000000 |
| Positive (1) | Negative (0) | |
|---|---|---|
| Positive (1) | 219 | 8 |
| Negative (0) | 1 | 522 |
AUC/AUPRC AUC (ROC): 0.996964 AUPRC: 0.996219