Skip to content

Commit

Permalink
Merge pull request #322 from SchlossLab/release-1.5.0
Browse files Browse the repository at this point in the history
Release 1.5.0
  • Loading branch information
kelly-sovacool committed Jan 16, 2023
2 parents 00c4bbb + 1a827e8 commit 4df6fe7
Show file tree
Hide file tree
Showing 102 changed files with 1,594 additions and 527 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.4.0.9000
Date: 2022-10-15
Version: 1.5.0
Date: 2023-01-15
Authors@R:
c(person(given = "Begüm",
family = "Topçuoğlu",
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# mikropml development version
# mikropml 1.5.0

- New example showing how to plot feature importances in the `parallel` vignette (#310, @kelly-sovacool).
- You can now use `parRF`, a parallel implementation of the `rf` method, with
Expand Down
1 change: 0 additions & 1 deletion R/checks.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#' Check all params that don't return a value
#'
#' @inheritParams run_ml
Expand Down
3 changes: 2 additions & 1 deletion R/performance.R
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ calc_mean_prc <- function(sensspec_dat) {
#' @author Kelly Sovacool, \email{sovacool@@umich.edu}
#'
#' @examples
#' \dontrun{
#' library(dplyr)
#' # get cumulative performance for a single model
#' sensspec_1 <- calc_model_sensspec(
Expand Down Expand Up @@ -367,7 +368,7 @@ calc_mean_prc <- function(sensspec_dat) {
#' baseline_prec <- calc_baseline_precision(otu_mini_bin, "dx", "cancer")
#' prc_dat %>%
#' plot_mean_prc(baseline_precision = baseline_prec)
#'
#' }
NULL

#' Calculate the fraction of positives, i.e. baseline precision for a PRC curve
Expand Down
4 changes: 2 additions & 2 deletions R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ plot_mean_prc <- function(dat, baseline_precision = NULL,
#' @author Kelly Sovacool \email{sovacool@@umich.edu}
#'
#' @examples
#'
#' \dontrun{
#' library(dplyr)
#' # get performance for multiple models
#' get_sensspec_seed <- function(seed) {
Expand All @@ -328,5 +328,5 @@ plot_mean_prc <- function(dat, baseline_precision = NULL,
#' sensspec_dat %>%
#' calc_mean_prc() %>%
#' plot_mean_prc(baseline_precision = baseline_prec)
#'
#' }
NULL
1 change: 0 additions & 1 deletion R/preprocess.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#' Preprocess data prior to running machine learning
#'
#' Function to preprocess your data for input into [run_ml()].
Expand Down
1 change: 0 additions & 1 deletion R/reexports.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#' caret contr.ltfr
#' @importFrom caret contr.ltfr
#' @export
Expand Down
1 change: 0 additions & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#' Randomize feature order to eliminate any position-dependent effects
#'
#'
Expand Down
20 changes: 3 additions & 17 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
This is a resubmission.
I reduced the package tarball size, it should now be 2.2 MB.

## Test environments

* local macOS install: R 4.2.1
* local macOS install: R 4.2.2
* GitHub Actions (ubuntu-16.04): devel, release, oldrel
* GitHub Actions (windows): release
* GitHub Actions (macOS): release
Expand All @@ -19,16 +21,6 @@ Found the following (possibly) invalid URLs:
README.md
Status: 400
Message: Bad Request
URL: https://doi.org/10.1128/mBio.00434-20
From: inst/doc/introduction.html
inst/doc/paper.html
README.md
Status: 503
Message: Service Unavailable
URL: https://doi.org/10.1128/mBio.01680-20
From: inst/doc/paper.html
Status: 503
Message: Service Unavailable
URL: https://doi.org/doi:10.1128/mBio.00434-20
From: README.md
Status: 503
Expand All @@ -37,12 +29,6 @@ Found the following (possibly) invalid URLs:
From: man/otu_small.Rd
Status: 503
Message: Service Unavailable
Found the following (possibly) invalid DOIs:
DOI: 10.1128/mBio.00434-20
From: DESCRIPTION
Status: Service Unavailable
Message: 503
```

This is a spurious note as these URLs work in my local browser, and the DOIs are
Expand Down
10 changes: 5 additions & 5 deletions docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/CODE_OF_CONDUCT.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4df6fe7

Please sign in to comment.