Skip to content

Commit 9edf2bc

Browse files
committed
Add fnd to Authors, add link to /find/parsnip to README
1 parent 948df4a commit 9edf2bc

File tree

3 files changed

+19
-30
lines changed

3 files changed

+19
-30
lines changed

DESCRIPTION

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,12 @@
11
Package: parsnip
22
Title: A Common API to Modeling and Analysis Functions
33
Version: 0.1.7.9001
4-
Authors@R:
5-
c(person(given = "Max",
6-
family = "Kuhn",
7-
role = c("aut", "cre"),
8-
email = "[email protected]"),
9-
person(given = "Davis",
10-
family = "Vaughan",
11-
role = "aut",
12-
email = "[email protected]"),
13-
person(given = "Emil",
14-
family = "Hvitfeldt",
15-
role = "ctb",
16-
email = "[email protected]"),
17-
person(given = "RStudio",
18-
role = "cph"))
4+
Authors@R: c(
5+
person("Max", "Kuhn", , "[email protected]", role = c("aut", "cre")),
6+
person("Davis", "Vaughan", , "[email protected]", role = "aut"),
7+
person("Emil", "Hvitfeldt", , "[email protected]", role = "ctb"),
8+
person("RStudio", role = c("cph", "fnd"))
9+
)
1910
Maintainer: Max Kuhn <[email protected]>
2011
Description: A common interface is provided to allow users to specify a
2112
model without having to remember the different argument names across
@@ -77,17 +68,17 @@ Config/Needs/website:
7768
glmnet,
7869
keras,
7970
kernlab,
80-
kknn,
81-
LiblineaR,
71+
kknn,
72+
LiblineaR,
8273
mgcv,
8374
nnet,
8475
parsnip,
8576
randomForest,
8677
ranger,
8778
rpart,
88-
rstanarm,
89-
tidymodels,
90-
tidyverse/tidytemplate,
79+
rstanarm,
80+
tidymodels,
81+
tidyverse/tidytemplate,
9182
xgboost
9283
Encoding: UTF-8
9384
LazyData: true

README.Rmd

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ The goals of parsnip are to:
9191
* Decouple the model specification from the implementation (whether the implementation is in R, spark, or something else). For example, the user would call `rand_forest` instead of `ranger::ranger` or other specific packages.
9292
* Harmonize argument names (e.g. `n.trees`, `ntrees`, `trees`) so that users only need to remember a single name. This will help _across_ model types too so that `trees` will be the same argument across random forest as well as boosting or bagging.
9393

94-
Using the example above, the `parsnip` approach would be:
94+
Using the example above, the parsnip approach would be:
9595

9696
```{r}
9797
library(parsnip)
@@ -119,9 +119,7 @@ rand_forest(mtry = 10, trees = 2000) %>%
119119
fit(mpg ~ ., data = mtcars)
120120
```
121121

122-
A list of all `parsnip` models across different CRAN packages can be found at
123-
[`tidymodels.org`](https://www.tidymodels.org/find/).
124-
122+
A list of all parsnip models across different CRAN packages can be found at https://www.tidymodels.org/find/parsnip.
125123

126124
## Contributing
127125

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ The goals of parsnip are to:
9494
model types too so that `trees` will be the same argument across
9595
random forest as well as boosting or bagging.
9696

97-
Using the example above, the `parsnip` approach would be:
97+
Using the example above, the parsnip approach would be:
9898

9999
``` r
100100
library(parsnip)
@@ -140,7 +140,7 @@ rand_forest(mtry = 10, trees = 2000) %>%
140140
fit(mpg ~ ., data = mtcars)
141141
#> parsnip model object
142142
#>
143-
#> Fit time: 316ms
143+
#> Fit time: 45ms
144144
#> Ranger result
145145
#>
146146
#> Call:
@@ -154,12 +154,12 @@ rand_forest(mtry = 10, trees = 2000) %>%
154154
#> Target node size: 5
155155
#> Variable importance mode: impurity
156156
#> Splitrule: variance
157-
#> OOB prediction error (MSE): 5.725636
158-
#> R squared (OOB): 0.8423737
157+
#> OOB prediction error (MSE): 5.976917
158+
#> R squared (OOB): 0.8354559
159159
```
160160

161-
A list of all `parsnip` models across different CRAN packages can be
162-
found at [`tidymodels.org`](https://www.tidymodels.org/find/).
161+
A list of all parsnip models across different CRAN packages can be found
162+
at <https://www.tidymodels.org/find/parsnip>.
163163

164164
## Contributing
165165

0 commit comments

Comments
 (0)