|
1 | 1 | # parsnip (development version)
|
2 | 2 |
|
| 3 | +## Model Specification Changes |
3 | 4 |
|
4 | 5 | * Enable the use of case weights for models that support them.
|
5 | 6 |
|
6 |
| -* Added a `glm_grouped()` function to convert long data to the grouped format required by `glm()` for logistic regression. |
7 |
| - |
8 | 7 | * `show_model_info()` now indicates which models can utilize case weights.
|
9 | 8 |
|
10 |
| -* `xgb_train()` now allows for case weights |
| 9 | +* Model type functions will now message informatively if a needed parsnip extension package is not loaded (#731). |
11 | 10 |
|
12 |
| -* Added `ctree_train()` and `cforest_train()` wrappers for the functions in the partykit package. Engines for these will be added to other parsnip extension packages. |
| 11 | +* Refactored internals of model specification printing functions. These changes are non-breaking for extension packages, but the new `print_model_spec()` helper is exported for use in extensions if desired (#739). |
13 | 12 |
|
14 |
| -* Exported `xgb_predict()` which wraps xgboost's `predict()` method for use with parsnip extension packages (#688). |
| 13 | +## Bug fixes |
15 | 14 |
|
16 | 15 | * Fixed bug where previously set engine arguments would propagate through `update()` methods despite `fresh = TRUE` (#704).
|
17 | 16 |
|
18 |
| -* An inconsistency for probability type predictions for two-class GAM models was fixed (#708) |
| 17 | +* Fixed a bug where an error would be thrown if arguments to model functions were namespaced (#745). |
19 | 18 |
|
20 | 19 | * `predict(type = "prob")` will now provide an error if the outcome variable has a level called `"class"` (#720).
|
21 | 20 |
|
22 |
| -* Added a developer function, `.model_param_name_key` that translates names of tuning parameters. |
| 21 | +* An inconsistency for probability type predictions for two-class GAM models was fixed (#708) |
23 | 22 |
|
24 |
| -* Model type functions will now message informatively if a needed parsnip extension package is not loaded (#731). |
| 23 | +* Fixed translated printing for `null_model()` (#752) |
25 | 24 |
|
26 |
| -* Fixed a bug where an error would be thrown if arguments to model functions were namespaced (#745). |
| 25 | +## Other changes |
27 | 26 |
|
28 |
| -* Refactored internals of model specification printing functions. These changes are non-breaking for extension packages, but the new `print_model_spec()` helper is exported for use in extensions if desired (#739). |
| 27 | +* Added a `glm_grouped()` function to convert long data to the grouped format required by `glm()` for logistic regression. |
| 28 | + |
| 29 | +* `xgb_train()` now allows for case weights |
| 30 | + |
| 31 | +* Added `ctree_train()` and `cforest_train()` wrappers for the functions in the partykit package. Engines for these will be added to other parsnip extension packages. |
| 32 | + |
| 33 | +* Exported `xgb_predict()` which wraps xgboost's `predict()` method for use with parsnip extension packages (#688). |
| 34 | + |
| 35 | +* Added a developer function, `.model_param_name_key` that translates names of tuning parameters. |
29 | 36 |
|
30 | 37 |
|
31 | 38 | # parsnip 0.2.1
|
|
0 commit comments