Skip to content

Commit b18402c

Browse files
committed
version bump and updated links
1 parent 8deb255 commit b18402c

File tree

7 files changed

+38
-31
lines changed

7 files changed

+38
-31
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.

0 commit comments

Comments
 (0)