diff --git a/DESCRIPTION b/DESCRIPTION index a1ca04a..cca7c08 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: MachineShop Type: Package Title: Machine Learning Models and Tools -Version: 3.4.3 -Date: 2022-04-19 +Version: 3.5.0 +Date: 2022-06-02 Authors@R: person(c("Brian", "J"), "Smith", email = "brian-j-smith@uiowa.edu", role = c("aut", "cre")) @@ -36,7 +36,7 @@ LazyData: true License: GPL-3 URL: https://brian-j-smith.github.io/MachineShop/ BugReports: https://github.com/brian-j-smith/MachineShop/issues -RoxygenNote: 7.1.2 +RoxygenNote: 7.2.0 VignetteBuilder: knitr Encoding: UTF-8 Collate: @@ -114,7 +114,6 @@ Collate: 'performance_curve.R' 'plot.R' 'predict.R' - 'predictors.R' 'print.R' 'recipe_roles.R' 'reexports.R' diff --git a/NEWS.md b/NEWS.md index faf5718..c3dc84e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,6 +2,20 @@ ## Version Updates +## 3.5.0 +* Add argument `method` to `r2()` for calculation of Pearson or Spearman correlation. +* Add `predict()` S4 method for `MLModelFit`. +* Export `MLModelFunction()`. +* Export `as.MLInput()` methods for `MLModelFit` and `ModelSpecification`. +* Export `as.MLModel()` method for `ModelSpecification`. +* Improve recursive feature elimination of `SelectedInput` terms. +* Improve speed of `StackedModel` and `SuperModel`. +* Internal changes + * Add `.MachineShop` list attribute to `MLModelFit`. + * Move field `mlmodel` in `MLModelFit` to `model` in `.MachineShop`. + * Move slot `input` in `MLModel` to `.MachineShop`. + * Pass `.MachineShop` to the `predict` and `varimp` slot functions of `MLModel`. + ## 3.4.3 * Fix `TypeError` in `dependence()` with numeric dummy variables from recipes. * Prep `ModelRecipe` with `retain = TRUE` for recipe steps that are skipped, for example, when test datasets are created.