Skip to content

Commit c21d8d7

Browse files
committed
RJ-2025-045 author corrections
1 parent bec5eb0 commit c21d8d7

24 files changed

+62
-63
lines changed

_articles/RJ-2025-045/RJ-2025-045.R

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ if (knitr::is_latex_output()) {
327327
kableExtra::kbl(KPItab,
328328
escape = F, caption = "Arithmetic and geometric mean of the KPI (both instance-normalized and non-normalized) for each algorithm on the test set, along with the results for the algorithm selected by the learning model (first row).",
329329
col.names = col_names,
330-
booktabs = TRUE,
330+
booktabs = TRUE,
331331
) %>%
332332
kableExtra::kable_styling(full_width = FALSE, position = "center", latex_options = "hold_position", font_size = fs) %>%
333333
column_spec(column = 2:5, width = wi)
@@ -358,7 +358,7 @@ if (knitr::is_latex_output()) {
358358
kableExtra::kbl(KPItab,
359359
escape = F, caption = "Arithmetic and geometric mean of the non-normalized KPI for single best choice, ML choice, and optimal choice.",
360360
col.names = col_names,
361-
booktabs = TRUE,
361+
booktabs = TRUE,
362362
) %>%
363363
kableExtra::kable_styling(full_width = FALSE, position = "center", latex_options = "hold_position", font_size = fs) %>%
364364
column_spec(column = 2:3, width = wi)
@@ -439,7 +439,7 @@ if (knitr::is_html_output()) {
439439
fs <- NULL
440440
}
441441
kableExtra::kbl(KPItab,
442-
escape = F, caption = "Arithmetic and geometric mean of the non-normalized KPI for single best choice, ML choice, and optimal choice. The ML choice is based on the predictions of the alpha-conditional quantile for alpha=0.25.",booktabs = TRUE,
442+
escape = F, caption = "Arithmetic and geometric mean of the non-normalized KPI for single best choice, ML choice, and optimal choice. The ML choice is based on the predictions of the alpha-conditional quantile for alpha=0.25.",booktabs = TRUE,
443443
col.names = col_names
444444
) %>%
445445
kableExtra::kable_styling(full_width = FALSE, position = "center", latex_options = "hold_position", font_size = fs) %>%
@@ -455,13 +455,13 @@ if (knitr::is_html_output()) {
455455
# # Compute model performance metrics for each explainer
456456
# mp_qrf <- lapply(explainers_qrf, DALEX::model_performance)
457457
# # Plot the performance metrics
458-
# do.call(plot, unname(mp_qrf))
458+
# do.call(plot, unname(mp_qrf)) + theme_bw(base_line_size = 0.5)
459459

460460

461461
## ----DALEX1, echo = FALSE, tidy=TRUE, out.width = ifelse(knitr::is_latex_output(), "70%" , "100%"), fig.cap="Reversed empirical cumulative distribution function of the absolute residuals of the trained models.", fig.alt = "Reversed empirical cumulative distribution function of the absolute residuals of the trained model."----
462462
explainers_qrf <- ASexplainer(training, data = data$x.test, y = data$y.test, labels = lab_rules, verbose = FALSE)
463463
mp_qrf <- lapply(explainers_qrf, DALEX::model_performance)
464-
do.call(plot, unname(mp_qrf))
464+
do.call(plot, unname(mp_qrf)) + theme_bw(base_line_size = 0.5)
465465

466466

467467
## ----ASML_DALEX2, echo = TRUE, tidy=TRUE, eval=FALSE--------------------------
@@ -472,7 +472,7 @@ do.call(plot, unname(mp_qrf))
472472
# # Compute PDP for the variable "degree" for each model
473473
# pdp_qrf <- lapply(explainers_qrf, DALEX::model_profile, variable = "degree", type = "partial")
474474
# # Plot the PDPs generated
475-
# do.call(plot, unname(pdp_qrf))
475+
# do.call(plot, unname(pdp_qrf)) + theme_bw(base_line_size = 0.5)
476476

477477

478478
## ----AMSLtimes, echo = FALSE, tidy=TRUE, eval=TRUE----------------------------
@@ -666,7 +666,7 @@ if (knitr::is_html_output()) {
666666
results_table %>%
667667
kableExtra::kbl(
668668
escape = FALSE, caption = "Performance results of various models on the CPMP-2015 dataset. The last row represents the performance of the quantile random forest model based on instance-normalized KPI using the \\CRANpkg{ASML} package.
669-
The preceding rows detail the results (all taken from original ASlib study) of the virtual best solver (vbs), single best solver (singleBest), and the considered regression methods (linear model, regression trees and regression random forest).", booktabs = TRUE,
669+
The preceding rows detail the results (all taken from original ASlib study) of the virtual best solver (vbs), single best solver (singleBest), and the considered regression methods (linear model, regression trees and regression random forest).", booktabs = TRUE,
670670
align = "lrrr"
671671
) %>%
672672
kableExtra::kable_styling(full_width = FALSE, position = "center", latex_options = "hold_position", font_size = fs) %>%

_articles/RJ-2025-045/RJ-2025-045.Rmd

Lines changed: 33 additions & 33 deletions
Large diffs are not rendered by default.

_articles/RJ-2025-045/RJ-2025-045.html

Lines changed: 20 additions & 21 deletions
Large diffs are not rendered by default.
3.75 KB
Binary file not shown.

_articles/RJ-2025-045/RJ-2025-045.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ \subsection{Model interpretability}\label{model-interpretability}
389389
# Compute model performance metrics for each explainer
390390
mp_qrf <- lapply(explainers_qrf, DALEX::model_performance)
391391
# Plot the performance metrics
392-
do.call(plot, unname(mp_qrf))
392+
do.call(plot, unname(mp_qrf)) + theme_bw(base_line_size = 0.5)
393393
\end{verbatim}
394394

395395
\begin{figure}[ht]
@@ -411,7 +411,7 @@ \subsection{Model interpretability}\label{model-interpretability}
411411
# Compute PDP for the variable 'degree' for each model
412412
pdp_qrf <- lapply(explainers_qrf, DALEX::model_profile, variable = "degree", type = "partial")
413413
# Plot the PDPs generated
414-
do.call(plot, unname(pdp_qrf))
414+
do.call(plot, unname(pdp_qrf)) + theme_bw(base_line_size = 0.5)
415415
\end{verbatim}
416416

417417
\section{Example on a larger dataset}\label{example-on-a-larger-dataset}
0 Bytes
Binary file not shown.
677 Bytes
Binary file not shown.
-799 Bytes
Loading
665 Bytes
Binary file not shown.
2.81 KB
Loading

0 commit comments

Comments
 (0)