Skip to content

Commit

Permalink
Merge 3b0be13 into 9c4c317
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool authored Jan 29, 2022
2 parents 9c4c317 + 3b0be13 commit 6a743bd
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 43 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: mikropml
Title: User-Friendly R Package for Supervised Machine Learning Pipelines
Version: 1.2.0.9000
Date: 2021-11-10
Version: 1.2.1
Date: 2022-01-29
Authors@R:
c(person(given = "Begüm",
family = "Topçuoğlu",
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export(get_perf_metric_name)
export(get_performance_tbl)
export(get_tuning_grid)
export(group_correlated_features)
export(keep_groups_in_cv_partitions)
export(plot_hp_performance)
export(plot_model_performance)
export(preprocess_data)
Expand Down
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# development version 1.3.0
# mikropml 1.2.1

- Allow `kfold >= length(groups)` (#285, @kelly-sovacool).
- When using the groups parameter, groups are kept together in cross-validation partitions when `kfold` <= the number of groups in the training set. Previously, an error was thrown if this condition was not met. Now, if there are not enough groups in the training set for groups to be kept together during CV, groups are allowed to be split up across CV partitions.
- Report p-values for permutation feature importance (#288, @kelly-sovacool)
- Report p-values for permutation feature importance (#288, @kelly-sovacool).

# mikropml 1.2.0

Expand Down
2 changes: 1 addition & 1 deletion R/cross_val.R
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ get_seeds_trainControl <- function(hyperparams_list, kfold, cv_times, ncol_train
#' @inheritParams define_cv
#'
#' @return `TRUE` if possible, `FALSE` otherwise
#' @export
#' @noRd
#' @author Kelly Sovacool, \email{sovacool@@umich.edu}
#'
keep_groups_in_cv_partitions <- function(groups, group_partitions, kfold) {
Expand Down
2 changes: 1 addition & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Message: Bad Request
```

I believe this is a spurious note as the URL works in my local browser.
This is a spurious note as the URL works in my local browser.

## revdepcheck results

Expand Down
36 changes: 0 additions & 36 deletions man/keep_groups_in_cv_partitions.Rd

This file was deleted.

0 comments on commit 6a743bd

Please sign in to comment.