Skip to content

Commit 6cc9c46

Browse files
committed
chore: update to v0.0.7
1 parent 4d9b393 commit 6cc9c46

5 files changed

Lines changed: 40 additions & 36 deletions

File tree

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: mllrnrs
22
Title: R6-Based ML Learners for 'mlexperiments'
3-
Version: 0.0.6.9005
3+
Version: 0.0.7
44
Authors@R:
55
person("Lorenz A.", "Kapsner", , "lorenz.kapsner@gmail.com", role = c("cre", "aut", "cph"),
66
comment = c(ORCID = "0000-0003-1866-860X"))
@@ -35,12 +35,12 @@ Suggests:
3535
ranger,
3636
splitTools,
3737
testthat (>= 3.0.1),
38-
xgboost (>= 3.1.1.1)
38+
xgboost (>= 3.1.2.1)
3939
VignetteBuilder:
4040
quarto
4141
Config/testthat/edition: 3
4242
Config/testthat/parallel: false
43-
Date/Publication: 2025-11-16 19:33:26.761556 UTC
43+
Date/Publication: 2025-12-03 19:38:19.649624 UTC
4444
Encoding: UTF-8
4545
Roxygen: list(markdown = TRUE)
4646
SystemRequirements: Quarto command line tools

NEWS.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# mllrnrs NEWS
44

5-
## Unreleased (2025-11-16)
5+
## Unreleased (2025-12-03)
66

77
#### Bug fixes
88

@@ -23,8 +23,10 @@
2323

2424
#### Other changes
2525

26+
- update to v0.0.7
27+
([70cf6db](https://github.com/kapsner/mllrnrs/tree/70cf6db4910f6ddbb2c334f4880c114f57eef87c))
2628
- again pinned xgboost min-version in description
27-
([a4f6950](https://github.com/kapsner/mllrnrs/tree/a4f6950da0eb9a828e5d7f1c14ed6cc9a8917b6b))
29+
([4d9b393](https://github.com/kapsner/mllrnrs/tree/4d9b3933779d6a812eecb75f08c3cd25c69167f1))
2830
- updated required min-version of mlexperiments
2931
([1114760](https://github.com/kapsner/mllrnrs/tree/1114760d15f2300f6b7edd8332412b376038b2cd))
3032
- updated description and news.md
@@ -53,7 +55,7 @@
5355
([0b24c76](https://github.com/kapsner/mllrnrs/tree/0b24c762660896447ef8ee85991c54c510601078))
5456

5557
Full set of changes:
56-
[`v0.0.5...a4f6950`](https://github.com/kapsner/mllrnrs/compare/v0.0.5...a4f6950)
58+
[`v0.0.5...70cf6db`](https://github.com/kapsner/mllrnrs/compare/v0.0.5...70cf6db)
5759

5860
## v0.0.5 (2025-03-05)
5961

cran-comments.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
## R CMD check results
22

33
0 errors | 0 warnings | 0 notes
4+
5+
This version is compatible with the latest xgboost api changes. The reverse dependency check for 'mlsurvlrnrs' (also maintained by myself) fails currently because the pre-condition for updating 'mlsurvlrnrs' is the availability of this version of 'mllrnrs' on cran.

data-raw/devstuffs.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ my_desc$set_authors(c(
2020
# Remove some author fields
2121
my_desc$del("Maintainer")
2222
# Set the version
23-
my_desc$set_version("0.0.6.9005")
23+
my_desc$set_version("0.0.7")
2424
# The title of your package
2525
my_desc$set(Title = "R6-Based ML Learners for 'mlexperiments'")
2626
# The description of your package
@@ -80,7 +80,7 @@ usethis::use_package("testthat", type = "Suggests", min_version = "3.0.1")
8080
usethis::use_package("lintr", type = "Suggests")
8181
usethis::use_package("quarto", type = "Suggests")
8282
usethis::use_package("glmnet", type = "Suggests")
83-
usethis::use_package("xgboost", type = "Suggests", min_version = "3.1.1.1")
83+
usethis::use_package("xgboost", type = "Suggests", min_version = "3.1.2.1")
8484
usethis::use_package("lightgbm", type = "Suggests", min_version = "4.0.0")
8585
usethis::use_package("ranger", type = "Suggests")
8686
usethis::use_package("splitTools", type = "Suggests")

vignettes/mllrnrs_xgboost_multiclass.qmd

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ vignette: >
44
%\VignetteEncoding{UTF-8}
55
%\VignetteIndexEntry{xgboost: Multiclass Classification}
66
%\VignetteEngine{quarto::html}
7-
editor_options:
7+
editor_options:
88
chunk_output_type: console
99
execute:
1010
eval: false
@@ -168,15 +168,15 @@ tuner$set_data(
168168
)
169169
170170
tuner_results_grid <- tuner$execute(k = 3)
171-
#>
171+
#>
172172
#> Parameter settings [============================>-------------------------------------------------------------------] 3/10 ( 30%)
173173
#> Parameter settings [=====================================>----------------------------------------------------------] 4/10 ( 40%)
174174
#> Parameter settings [===============================================>------------------------------------------------] 5/10 ( 50%)
175175
#> Parameter settings [=========================================================>--------------------------------------] 6/10 ( 60%)
176176
#> Parameter settings [==================================================================>-----------------------------] 7/10 ( 70%)
177177
#> Parameter settings [============================================================================>-------------------] 8/10 ( 80%)
178178
#> Parameter settings [=====================================================================================>----------] 9/10 ( 90%)
179-
#> Parameter settings [===============================================================================================] 10/10 (100%)
179+
#> Parameter settings [===============================================================================================] 10/10 (100%)
180180
181181
head(tuner_results_grid)
182182
#> setting_id metric_optim_mean nrounds subsample colsample_bytree min_child_weight learning_rate max_depth objective
@@ -222,7 +222,7 @@ tuner$set_data(
222222
)
223223
224224
tuner_results_bayesian <- tuner$execute(k = 3)
225-
#>
225+
#>
226226
#> Registering parallel backend using 4 cores.
227227
228228
head(tuner_results_bayesian)
@@ -267,14 +267,14 @@ validator$set_data(
267267
)
268268
269269
validator_results <- validator$execute()
270-
#>
270+
#>
271271
#> CV fold: Fold1
272-
#>
272+
#>
273273
#> CV fold: Fold2
274-
#>
274+
#>
275275
#> CV fold: Fold3
276276
#> CV progress [========================================================================================================] 3/3 (100%)
277-
#>
277+
#>
278278
279279
head(validator_results)
280280
#> fold performance subsample colsample_bytree min_child_weight learning_rate max_depth nrounds objective eval_metric
@@ -319,39 +319,39 @@ validator$set_data(
319319
)
320320
321321
validator_results <- validator$execute()
322-
#>
322+
#>
323323
#> CV fold: Fold1
324-
#>
324+
#>
325325
#> Parameter settings [============================>-------------------------------------------------------------------] 3/10 ( 30%)
326326
#> Parameter settings [=====================================>----------------------------------------------------------] 4/10 ( 40%)
327327
#> Parameter settings [===============================================>------------------------------------------------] 5/10 ( 50%)
328328
#> Parameter settings [=========================================================>--------------------------------------] 6/10 ( 60%)
329329
#> Parameter settings [==================================================================>-----------------------------] 7/10 ( 70%)
330330
#> Parameter settings [============================================================================>-------------------] 8/10 ( 80%)
331331
#> Parameter settings [=====================================================================================>----------] 9/10 ( 90%)
332-
#> Parameter settings [===============================================================================================] 10/10 (100%)
332+
#> Parameter settings [===============================================================================================] 10/10 (100%)
333333
#> CV fold: Fold2
334334
#> CV progress [====================================================================>-----------------------------------] 2/3 ( 67%)
335-
#>
335+
#>
336336
#> Parameter settings [============================>-------------------------------------------------------------------] 3/10 ( 30%)
337337
#> Parameter settings [=====================================>----------------------------------------------------------] 4/10 ( 40%)
338338
#> Parameter settings [===============================================>------------------------------------------------] 5/10 ( 50%)
339339
#> Parameter settings [=========================================================>--------------------------------------] 6/10 ( 60%)
340340
#> Parameter settings [==================================================================>-----------------------------] 7/10 ( 70%)
341341
#> Parameter settings [============================================================================>-------------------] 8/10 ( 80%)
342342
#> Parameter settings [=====================================================================================>----------] 9/10 ( 90%)
343-
#> Parameter settings [===============================================================================================] 10/10 (100%)
343+
#> Parameter settings [===============================================================================================] 10/10 (100%)
344344
#> CV fold: Fold3
345345
#> CV progress [========================================================================================================] 3/3 (100%)
346-
#>
346+
#>
347347
#> Parameter settings [============================>-------------------------------------------------------------------] 3/10 ( 30%)
348348
#> Parameter settings [=====================================>----------------------------------------------------------] 4/10 ( 40%)
349349
#> Parameter settings [===============================================>------------------------------------------------] 5/10 ( 50%)
350350
#> Parameter settings [=========================================================>--------------------------------------] 6/10 ( 60%)
351351
#> Parameter settings [==================================================================>-----------------------------] 7/10 ( 70%)
352352
#> Parameter settings [============================================================================>-------------------] 8/10 ( 80%)
353353
#> Parameter settings [=====================================================================================>----------] 9/10 ( 90%)
354-
#> Parameter settings [===============================================================================================] 10/10 (100%)
354+
#> Parameter settings [===============================================================================================] 10/10 (100%)
355355
356356
head(validator_results)
357357
#> fold performance nrounds subsample colsample_bytree min_child_weight learning_rate max_depth objective eval_metric
@@ -398,19 +398,19 @@ validator$set_data(
398398
)
399399
400400
validator_results <- validator$execute()
401-
#>
401+
#>
402402
#> CV fold: Fold1
403-
#>
403+
#>
404404
#> Registering parallel backend using 4 cores.
405-
#>
405+
#>
406406
#> CV fold: Fold2
407407
#> CV progress [====================================================================>-----------------------------------] 2/3 ( 67%)
408-
#>
408+
#>
409409
#> Registering parallel backend using 4 cores.
410-
#>
410+
#>
411411
#> CV fold: Fold3
412412
#> CV progress [========================================================================================================] 3/3 (100%)
413-
#>
413+
#>
414414
#> Registering parallel backend using 4 cores.
415415
416416
head(validator_results)
@@ -454,7 +454,7 @@ perf_xgboost
454454

455455
## Appendix I: Grid-Search with Target Weigths
456456

457-
Here, `xgboost`'s [`weight`-argument](https://rdrr.io/cran/xgboost/man/setinfo.html) is used to rescale the case-weights during the training.
457+
Here, `xgboost`'s [`weight`-argument](https://rdrr.io/cran/xgboost/man/xgb.DMatrix.html) is used to rescale the case-weights during the training.
458458

459459
```{r}
460460
# define the target weights
@@ -486,15 +486,15 @@ tuner_w_weights$set_data(
486486
)
487487
488488
tuner_results_grid <- tuner_w_weights$execute(k = 3)
489-
#>
489+
#>
490490
#> Parameter settings [============================>-------------------------------------------------------------------] 3/10 ( 30%)
491491
#> Parameter settings [=====================================>----------------------------------------------------------] 4/10 ( 40%)
492492
#> Parameter settings [===============================================>------------------------------------------------] 5/10 ( 50%)
493493
#> Parameter settings [=========================================================>--------------------------------------] 6/10 ( 60%)
494494
#> Parameter settings [==================================================================>-----------------------------] 7/10 ( 70%)
495495
#> Parameter settings [============================================================================>-------------------] 8/10 ( 80%)
496496
#> Parameter settings [=====================================================================================>----------] 9/10 ( 90%)
497-
#> Parameter settings [===============================================================================================] 10/10 (100%)
497+
#> Parameter settings [===============================================================================================] 10/10 (100%)
498498
499499
head(tuner_results_grid)
500500
#> setting_id metric_optim_mean nrounds subsample colsample_bytree min_child_weight learning_rate max_depth objective
@@ -543,14 +543,14 @@ validator_w_weights$set_data(
543543
)
544544
545545
validator_results <- validator_w_weights$execute()
546-
#>
546+
#>
547547
#> CV fold: Fold1
548-
#>
548+
#>
549549
#> CV fold: Fold2
550-
#>
550+
#>
551551
#> CV fold: Fold3
552552
#> CV progress [========================================================================================================] 3/3 (100%)
553-
#>
553+
#>
554554
555555
head(validator_results)
556556
#> fold performance nrounds subsample colsample_bytree min_child_weight learning_rate max_depth objective eval_metric num_class

0 commit comments

Comments
 (0)