You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+30-4Lines changed: 30 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,51 @@
1
1
# parsnip (development version)
2
2
3
+
## New Features
4
+
5
+
* A new model mode (`"quantile regression"`) was added. Including:
6
+
* A `linear_reg()` engine for `"quantreg"`.
7
+
* Predictions are encoded via a custom vector type. See [hardhat::quantile_pred()].
8
+
* Predicted quantile levels are designated when the new mode is specified. See `?set_mode`.
9
+
3
10
*`fit_xy()` can now take dgCMatrix input for `x` argument (#1121).
4
11
5
12
*`fit_xy()` can now take sparse tibbles as data values (#1165).
6
13
7
14
*`predict()` can now take dgCMatrix and sparse tibble input for `new_data` argument, and error informatively when model doesn't support it (#1167).
8
15
9
-
* Transitioned package errors and warnings to use cli (#1147 and #1148 by
10
-
@shum461, #1153 by @RobLBaker and @wright13, #1154 by @JamesHWade, #1160,
11
-
#1161, #1081).
16
+
* New `extract_fit_time()` method has been added that returns the time it took to train the model (#853).
17
+
18
+
## Other Changes
19
+
20
+
* Transitioned package errors and warnings to use cli (#1147 and #1148 by @shum461, #1153 by @RobLBaker and @wright13, #1154 by @JamesHWade, #1160, #1161, #1081).
12
21
13
22
*`fit_xy()` currently raises an error for `gen_additive_mod()` model specifications as the default engine (`"mgcv"`) specifies smoothing terms in model formulas. However, some engines specify smooths via additional arguments, in which case the restriction on `fit_xy()` is excessive. parsnip will now only raise an error when fitting a `gen_additive_mod()` with `fit_xy()` when using the `"mgcv"` engine (#775).
14
23
15
24
* Aligned `null_model()` with other model types; the model type now has an engine argument that defaults to `"parsnip"` and is checked with the same machinery that checks other model types in the package (#1083).
16
25
17
-
* New `extract_fit_time()` method has been added that returns the time it took to train the model (#853).
26
+
* If linear regression is requested with a Poisson family, an error will occur and refer the user to `poisson_reg()` (#1219).
27
+
28
+
* The deprecated function `rpart_train()` was removed after its deprecation period (#1044).
29
+
30
+
## Bug Fixes
31
+
32
+
* Make sure that parsnip does not convert ordered factor predictions to be unordered.
18
33
19
34
* Ensure that `knit_engine_docs()` has the required packages installed (#1156).
20
35
21
36
* Fixed bug where some models fit using `fit_xy()` couldn't predict (#1166).
22
37
38
+
* Fixed bug related to using local (non-package) models (#1229)
39
+
40
+
*`tunable()` now references a dials object for the `mixture` parameter (#1236)
41
+
42
+
## Breaking Change
43
+
44
+
* For quantile prediction, the `quantile` argument to `predict()` has been deprecate in facor of `quantile_levels`. This does not affect models with mode `"quantile regression"`.
45
+
46
+
* The quantile regression prediction type was disabled for the deprecated `surv_reg()` model.
47
+
48
+
23
49
# parsnip 1.2.1
24
50
25
51
* Added a missing `tidy()` method for survival analysis glmnet models (#1086).
0 commit comments