Skip to content

Commit 00fa075

Browse files
authored
RC 1.3.0 (#1253)
* overdue examples for brulee * namespace to anchor links * polish news * update model file * redoc * small updates * doc update * install torch
1 parent 9c477b5 commit 00fa075

25 files changed

+323
-43
lines changed

.github/workflows/pkgdown.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ jobs:
4949
tensorflow::install_tensorflow(version='2.13', conda_python_version = NULL)
5050
shell: Rscript {0}
5151

52+
- name: Install Torch
53+
run: |
54+
torch::install_torch()
55+
shell: Rscript {0}
56+
5257
- name: Build site
5358
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
5459
shell: Rscript {0}

DESCRIPTION

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Package: parsnip
22
Title: A Common API to Modeling and Analysis Functions
3-
Version: 1.2.1.9004
3+
Version: 1.3.0
44
Authors@R: c(
55
person("Max", "Kuhn", , "[email protected]", role = c("aut", "cre")),
66
person("Davis", "Vaughan", , "[email protected]", role = "aut"),
77
person("Emil", "Hvitfeldt", , "[email protected]", role = "ctb"),
8-
person("Posit Software, PBC", role = c("cph", "fnd"), comment = c(ROR = "03wc8by49"))
8+
person("Posit Software, PBC", role = c("cph", "fnd"))
99
)
1010
Maintainer: Max Kuhn <[email protected]>
1111
Description: A common interface is provided to allow users to specify a
@@ -70,10 +70,10 @@ Suggests:
7070
VignetteBuilder:
7171
knitr
7272
ByteCompile: true
73-
Config/Needs/website: C50, dbarts, earth, glmnet, keras, kernlab, kknn,
74-
LiblineaR, mgcv, nnet, parsnip, quantreg, randomForest, ranger, rpart,
75-
rstanarm, tidymodels/tidymodels, tidyverse/tidytemplate, rstudio/reticulate,
76-
xgboost, rmarkdown
73+
Config/Needs/website: brulee, C50, dbarts, earth, glmnet, keras, kernlab,
74+
kknn, LiblineaR, mgcv, nnet, parsnip, quantreg, randomForest, ranger,
75+
rpart, rstanarm, tidymodels/tidymodels, tidyverse/tidytemplate,
76+
rstudio/reticulate, xgboost, rmarkdown
7777
Config/rcmdcheck/ignore-inconsequential-notes: true
7878
Config/testthat/edition: 3
7979
Encoding: UTF-8

NEWS.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# parsnip (development version)
1+
# parsnip 1.3.0
22

33
## New Features
44

@@ -7,16 +7,17 @@
77
* Predictions are encoded via a custom vector type. See [hardhat::quantile_pred()].
88
* Predicted quantile levels are designated when the new mode is specified. See `?set_mode`.
99

10-
* `fit_xy()` can now take dgCMatrix input for `x` argument (#1121).
11-
12-
* `fit_xy()` can now take sparse tibbles as data values (#1165).
13-
14-
* `predict()` can now take dgCMatrix and sparse tibble input for `new_data` argument, and error informatively when model doesn't support it (#1167).
10+
* Updates for sparse data formats:
11+
* `fit_xy()` can now take dgCMatrix input for `x` argument (#1121).
12+
* `fit_xy()` can now take sparse tibbles as data values (#1165).
13+
* `predict()` can now take dgCMatrix and sparse tibble input for `new_data` argument, and error informatively when model doesn't support it (#1167).
1514

1615
* New `extract_fit_time()` method has been added that returns the time it took to train the model (#853).
1716

1817
* `mlp()` with `keras` engine now work for all activation functions currently supported by `keras` (#1127).
1918

19+
* `mlp()` now has a `brulee_two_layer` engine.
20+
2021
## Other Changes
2122

2223
* Transitioned package errors and warnings to use cli (#1147 and #1148 by @shum461, #1153 by @RobLBaker and @wright13, #1154 by @JamesHWade, #1160, #1161, #1081).
@@ -49,7 +50,6 @@
4950

5051
* `NULL` is no longer accepted as an engine (#1242).
5152

52-
5353
# parsnip 1.2.1
5454

5555
* Added a missing `tidy()` method for survival analysis glmnet models (#1086).

inst/models.tsv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"discrim_regularized" "classification" "klaR" "discrim"
4545
"gen_additive_mod" "classification" "mgcv" NA
4646
"gen_additive_mod" "regression" "mgcv" NA
47+
"linear_reg" "quantile regression" "quantreg" NA
4748
"linear_reg" "regression" "brulee" NA
4849
"linear_reg" "regression" "gee" "multilevelmod"
4950
"linear_reg" "regression" "glm" NA
@@ -55,7 +56,6 @@
5556
"linear_reg" "regression" "lm" NA
5657
"linear_reg" "regression" "lme" "multilevelmod"
5758
"linear_reg" "regression" "lmer" "multilevelmod"
58-
"linear_reg" "quantile regression" "quantreg" NA
5959
"linear_reg" "regression" "spark" NA
6060
"linear_reg" "regression" "stan" NA
6161
"linear_reg" "regression" "stan_glmer" "multilevelmod"

man/details_boost_tree_lightgbm.Rd

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/details_decision_tree_partykit.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/details_linear_reg_lme.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/details_rand_forest_aorsf.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/details_rand_forest_partykit.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/details_rand_forest_ranger.Rd

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)