Skip to content

Commit ed9e705

Browse files
authored
Merge pull request #418 from tidymodels/0-1-5-RC
0.1.5 release candidate
2 parents 8deb255 + 8638b15 commit ed9e705

File tree

10 files changed

+77
-52
lines changed

10 files changed

+77
-52
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: parsnip
2-
Version: 0.1.4.9000
2+
Version: 0.1.5
33
Title: A Common API to Modeling and Analysis Functions
44
Description: A common interface is provided to allow users to specify a model without having to remember the different argument names across different functions or computational engines (e.g. 'R', 'Spark', 'Stan', etc).
55
Authors@R: c(

NEWS.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1-
# parsnip (development version)
1+
# parsnip 0.1.5
22

33
* An RStudio add-in is availble that makes writing multiple `parsnip` model specifications to the source window. It can be accessed via the IDE addin menus or by calling `parsnip_addin()`.
44

5-
* For `xgboost` models, users can now pass `objective` to `set_engine("xgboost")`.
5+
* For `xgboost` models, users can now pass `objective` to `set_engine("xgboost")`. (#403)
6+
7+
* Changes to test for cases when CRAN cannot get `xgboost` to work on their Solaris configuration.
8+
9+
* There is now an `augument()` method for fitted models. See `augment.model_fit`. (#401)
10+
11+
* Column names for `x` are now required when `fit_xy()` is used. (#398)
12+
613

714
# parsnip 0.1.4
815

R/boost_tree.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ xgb_by_tree <- function(tree, object, new_data, type, ...) {
526526
#' @param weights An optional numeric vector of case weights. Note
527527
#' that the data used for the case weights will not be used as a
528528
#' splitting variable in the model (see
529-
#' \url{http://www.rulequest.com/see5-win.html} for
529+
#' \url{https://www.rulequest.com/see5-info.html} for
530530
#' Quinlan's notes on case weights).
531531
#' @param minCases An integer for the smallest number of samples
532532
#' that must be put in at least two of the splits.

README.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ knitr::opts_chunk$set(
1919
[![R build status](https://github.com/tidymodels/parsnip/workflows/R-CMD-check/badge.svg)](https://github.com/tidymodels/parsnip/actions)
2020
[![Coverage status](https://codecov.io/gh/tidymodels/parsnip/branch/master/graph/badge.svg)](https://codecov.io/github/tidymodels/parsnip?branch=master)
2121
[![CRAN status](https://www.r-pkg.org/badges/version/parsnip)](https://CRAN.R-project.org/package=parsnip)
22-
[![Downloads](https://cranlogs.r-pkg.org/badges/parsnip)](https://cran.rstudio.com/package=parsnip)
22+
[![Downloads](https://cranlogs.r-pkg.org/badges/parsnip)](https://CRAN.R-project.org/package=parsnip)
2323
[![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)
2424
<!-- badges: end -->
2525

@@ -129,10 +129,10 @@ Data sets previously found in `parsnip` are now find in the `modeldata` package.
129129

130130
This project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.
131131

132-
- For questions and discussions about tidymodels packages, modeling, and machine learning, please [post on RStudio Community](https://rstd.io/tidymodels-community).
132+
- For questions and discussions about tidymodels packages, modeling, and machine learning, please [post on RStudio Community](https://community.rstudio.com/new-topic?category_id=15&tags=tidymodels,question).
133133

134134
- If you think you have encountered a bug, please [submit an issue](https://github.com/tidymodels/parsnip/issues).
135135

136-
- Either way, learn how to create and share a [reprex](https://rstd.io/reprex) (a minimal, reproducible example), to clearly communicate about your code.
136+
- Either way, learn how to create and share a [reprex](https://reprex.tidyverse.org/articles/articles/learn-reprex.html) (a minimal, reproducible example), to clearly communicate about your code.
137137

138138
- Check out further details on [contributing guidelines for tidymodels packages](https://www.tidymodels.org/contribute/) and [how to get help](https://www.tidymodels.org/help/).

README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ status](https://github.com/tidymodels/parsnip/workflows/R-CMD-check/badge.svg)](
1111
status](https://codecov.io/gh/tidymodels/parsnip/branch/master/graph/badge.svg)](https://codecov.io/github/tidymodels/parsnip?branch=master)
1212
[![CRAN
1313
status](https://www.r-pkg.org/badges/version/parsnip)](https://CRAN.R-project.org/package=parsnip)
14-
[![Downloads](https://cranlogs.r-pkg.org/badges/parsnip)](https://cran.rstudio.com/package=parsnip)
14+
[![Downloads](https://cranlogs.r-pkg.org/badges/parsnip)](https://CRAN.R-project.org/package=parsnip)
1515
[![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)
1616
<!-- badges: end -->
1717

@@ -78,19 +78,19 @@ between implementations.
7878

7979
In this example:
8080

81-
- the **type** of model is “random forest”,
82-
- the **mode** of the model is “regression” (as opposed to
81+
- the **type** of model is “random forest”,
82+
- the **mode** of the model is “regression” (as opposed to
8383
classification, etc), and
84-
- the computational **engine** is the name of the R package.
84+
- the computational **engine** is the name of the R package.
8585

8686
The goals of parsnip are to:
8787

88-
- Separate the definition of a model from its evaluation.
89-
- Decouple the model specification from the implementation (whether
88+
- Separate the definition of a model from its evaluation.
89+
- Decouple the model specification from the implementation (whether
9090
the implementation is in R, spark, or something else). For example,
9191
the user would call `rand_forest` instead of `ranger::ranger` or
9292
other specific packages.
93-
- Harmonize argument names (e.g. `n.trees`, `ntrees`, `trees`) so that
93+
- Harmonize argument names (e.g. `n.trees`, `ntrees`, `trees`) so that
9494
users only need to remember a single name. This will help *across*
9595
model types too so that `trees` will be the same argument across
9696
random forest as well as boosting or bagging.
@@ -141,7 +141,7 @@ rand_forest(mtry = 10, trees = 2000) %>%
141141
fit(mpg ~ ., data = mtcars)
142142
#> parsnip model object
143143
#>
144-
#> Fit time: 71ms
144+
#> Fit time: 83ms
145145
#> Ranger result
146146
#>
147147
#> Call:
@@ -171,17 +171,18 @@ This project is released with a [Contributor Code of
171171
Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html).
172172
By contributing to this project, you agree to abide by its terms.
173173

174-
- For questions and discussions about tidymodels packages, modeling,
174+
- For questions and discussions about tidymodels packages, modeling,
175175
and machine learning, please [post on RStudio
176-
Community](https://rstd.io/tidymodels-community).
176+
Community](https://community.rstudio.com/new-topic?category_id=15&tags=tidymodels,question).
177177

178-
- If you think you have encountered a bug, please [submit an
178+
- If you think you have encountered a bug, please [submit an
179179
issue](https://github.com/tidymodels/parsnip/issues).
180180

181-
- Either way, learn how to create and share a
182-
[reprex](https://rstd.io/reprex) (a minimal, reproducible example),
183-
to clearly communicate about your code.
181+
- Either way, learn how to create and share a
182+
[reprex](https://reprex.tidyverse.org/articles/articles/learn-reprex.html)
183+
(a minimal, reproducible example), to clearly communicate about your
184+
code.
184185

185-
- Check out further details on [contributing guidelines for tidymodels
186+
- Check out further details on [contributing guidelines for tidymodels
186187
packages](https://www.tidymodels.org/contribute/) and [how to get
187188
help](https://www.tidymodels.org/help/).

man/C5.0_train.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/rand_forest.Rd

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

revdep/README.md

Lines changed: 38 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,46 @@
11
# Platform
22

3-
|field |value |
4-
|:--------|:--------------------------------------------------|
5-
|version |R Under development (unstable) (2019-03-02 r76189) |
6-
|os |macOS High Sierra 10.13.6 |
7-
|system |x86_64, darwin15.6.0 |
8-
|ui |X11 |
9-
|language |(EN) |
10-
|collate |en_US.UTF-8 |
11-
|ctype |en_US.UTF-8 |
12-
|tz |America/New_York |
13-
|date |2019-03-21 |
3+
|field |value |
4+
|:--------|:----------------------------|
5+
|version |R version 4.0.3 (2020-10-10) |
6+
|os |macOS Catalina 10.15.5 |
7+
|system |x86_64, darwin17.0 |
8+
|ui |RStudio |
9+
|language |(EN) |
10+
|collate |en_US.UTF-8 |
11+
|ctype |en_US.UTF-8 |
12+
|tz |America/New_York |
13+
|date |2021-01-19 |
1414

1515
# Dependencies
1616

17-
|package |old |new |Δ |
18-
|:-------|:-----|:----------|:--|
19-
|parsnip |0.0.1 |0.0.1.9000 |* |
17+
|package |old |new |Δ |
18+
|:-----------|:------|:----------|:--|
19+
|parsnip |0.1.4 |0.1.4.9000 |* |
20+
|assertthat |0.2.1 |0.2.1 | |
21+
|cli |2.2.0 |2.2.0 | |
22+
|cpp11 |0.2.5 |0.2.5 | |
23+
|crayon |1.3.4 |1.3.4 | |
24+
|digest |0.6.27 |0.6.27 | |
25+
|dplyr |1.0.3 |1.0.3 | |
26+
|ellipsis |0.3.1 |0.3.1 | |
27+
|fansi |0.4.2 |0.4.2 | |
28+
|generics |0.1.0 |0.1.0 | |
29+
|globals |0.14.0 |0.14.0 | |
30+
|glue |1.4.2 |1.4.2 | |
31+
|lifecycle |0.2.0 |0.2.0 | |
32+
|magrittr |2.0.1 |2.0.1 | |
33+
|pillar |1.4.7 |1.4.7 | |
34+
|pkgconfig |2.0.3 |2.0.3 | |
35+
|prettyunits |1.1.1 |1.1.1 | |
36+
|purrr |0.3.4 |0.3.4 | |
37+
|R6 |2.5.0 |2.5.0 | |
38+
|rlang |0.4.10 |0.4.10 | |
39+
|tibble |3.0.5 |3.0.5 | |
40+
|tidyr |1.1.2 |1.1.2 | |
41+
|tidyselect |1.1.0 |1.1.0 | |
42+
|utf8 |1.1.4 |1.1.4 | |
43+
|vctrs |0.3.6 |0.3.6 | |
2044

2145
# Revdeps
2246

23-
## All (2)
24-
25-
|package |version |error |warning |note |
26-
|:----------|:-------|:-----|:-------|:----|
27-
|probably |0.0.2 | | | |
28-
|tidymodels |0.0.2 | | | |
29-

revdep/data.sqlite

348 KB
Binary file not shown.

revdep/problems.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*Wow, no problems at all. :)*

0 commit comments

Comments
 (0)