Skip to content

Commit 8d83798

Browse files
author
ercbk
committed
remove x-axis in bar graph, edited comments, added some packages
1 parent a8b97fe commit 8d83798

File tree

7 files changed

+35
-5
lines changed

7 files changed

+35
-5
lines changed

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ durations <- raschka + kj +
9090
subtitle = "minutes") &
9191
theme(text = element_text(family = "Roboto"),
9292
axis.ticks = element_blank(),
93+
axis.text.x = element_blank(),
9394
panel.background = element_rect(fill = "ivory",
9495
colour = "ivory"),
9596
plot.background = element_rect(fill = "ivory"),
@@ -101,7 +102,6 @@ durations <- raschka + kj +
101102
durations
102103
103104
104-
105105
```
106106

107107

-373 Bytes
Loading

duration-experiment/kuhn-johnson/nested-cv-tune-kj.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
# Notes
99
# 1. *** Make sure the target column is last in dataframe ***
10-
# 2. Starts the MLflow server in the background with a OS command and kills the server process at the end of the script
1110

1211

1312
# Sections
@@ -25,7 +24,7 @@
2524
# Set-up
2625
################################
2726

28-
27+
# text me if an error occurs
2928
options(error = function() {
3029
library(RPushbullet)
3130
pbPost("note", "Error", geterrmessage())

duration-experiment/package-sources-gt-tbl.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33

44
pacman::p_load(tibble, dplyr, tidyr, gt)
55

6-
runs_raw <- readr::read_rds("R/Projects/nested-cross-validation-comparison/data/duration-runs.rds") %>%
6+
runs_raw <- readr::read_rds("data/duration-runs.rds") %>%
77
mutate(implementation = stringr::str_to_title(implementation))
88

99

10+
# hardcoded
1011
# packages used for the model functions ordered by implementation in the runs_raw file
1112
elast_net <- c("sklearn", "sklearn", "parsnip-glmnet", "mlr-glmnet", "parsnip-glmnet", "h2o", "parsnip-glmnet", "parsnip-glmnet", "parsnip-glmnet")
1213
rand_forest <- c("sklearn", "sklearn", "ranger", "mlr-ranger", "parsnip-ranger", "h2o", "sklearn", "parsnip-ranger", "ranger")

duration-experiment/raschka/nested-cv-mlr3-raschka.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#####################################################
3030

3131

32+
# texts me when there's an error
3233
options(error = function() {
3334
library(RPushbullet)
3435
pbPost("note", "Error", geterrmessage())

duration-experiment/raschka/nested-cv-py-raschka.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# python
66

77

8-
# Notes
8+
# Notes
99
# 1. *** make sure target variable is the last variable in the data.frame ***
1010
# 2. Hyperparameter values were generated from the R package dials and saved to pickle format through reticulate
1111
# 3. Data was simulated by R package mlbench and saved in pickle format through reticulate
@@ -30,6 +30,7 @@
3030

3131

3232

33+
3334
###################################
3435
# Set-up
3536
###################################

renv.lock

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@
7777
"Repository": "CRAN",
7878
"Hash": "1fdc9b3adfe2e2f8f77c22a59cf322ec"
7979
},
80+
"ModelMetrics": {
81+
"Package": "ModelMetrics",
82+
"Version": "1.2.2.1",
83+
"Source": "Repository",
84+
"Repository": "CRAN",
85+
"Hash": "f0d8132eac48aeead07b3a7d5056d059"
86+
},
8087
"R6": {
8188
"Package": "R6",
8289
"Version": "2.4.1",
@@ -210,6 +217,13 @@
210217
"Repository": "CRAN",
211218
"Hash": "f3c7c37950ae9a772b3676e4c172f978"
212219
},
220+
"caret": {
221+
"Package": "caret",
222+
"Version": "6.0-85",
223+
"Source": "Repository",
224+
"Repository": "CRAN",
225+
"Hash": "43c568c0cbbc66f2c1fe93f054b70a71"
226+
},
213227
"checkmate": {
214228
"Package": "checkmate",
215229
"Version": "2.0.0",
@@ -789,6 +803,13 @@
789803
"Repository": "CRAN",
790804
"Hash": "4ef9f64ceb0aee549eeb1de7e843f04b"
791805
},
806+
"mlr3misc": {
807+
"Package": "mlr3misc",
808+
"Version": "0.1.8",
809+
"Source": "Repository",
810+
"Repository": "CRAN",
811+
"Hash": "697dbe66a60fd599cee7f56d349dfd19"
812+
},
792813
"munsell": {
793814
"Package": "munsell",
794815
"Version": "0.5.0",
@@ -852,6 +873,13 @@
852873
"Repository": "CRAN",
853874
"Hash": "b37932b67288bc62bb81686b2f337a7d"
854875
},
876+
"paradox": {
877+
"Package": "paradox",
878+
"Version": "0.1.0",
879+
"Source": "Repository",
880+
"Repository": "CRAN",
881+
"Hash": "4c72f7c6af1c4b9975f414011a680b7e"
882+
},
855883
"parsnip": {
856884
"Package": "parsnip",
857885
"Version": "0.0.5",

0 commit comments

Comments
 (0)