Skip to content

Commit c2a70b9

Browse files
committed
Add NEWS.md
1 parent 8ba33b3 commit c2a70b9

6 files changed

+6
-14
lines changed

CRAN-RELEASE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
This package was submitted to CRAN on 2020-09-25.
2-
Once it is accepted, delete this file and tag the release (commit bf665d8256).
1+
This package was submitted to CRAN on 2020-09-29.
2+
Once it is accepted, delete this file and tag the release (commit 8ba33b39cd).

R/nearest.R

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#' ------------------------------------------------------------------------------------
21
#' Select nearest datasets given input `x`.
32
#'
43
#' If `x` is a data.frame object, computes dataset characteristics.
@@ -128,7 +127,6 @@ nearest_datasets.data.frame <- function(
128127
summary_task[nearest_indices$nn.index, 'dataset']
129128
}
130129

131-
#' ------------------------------------------------------------------------------------
132130
#' Computes imbalance value for a given dataset.
133131
#'
134132
#' @param target_col Factor or character vector of target column.
@@ -156,7 +154,6 @@ compute_imbalance <- function(target_col){
156154
list(num_classes = num_classes, imbalance = imb/worst_case)
157155
}
158156

159-
#' ------------------------------------------------------------------------------------
160157
#' Get type/class of given vector.
161158
#'
162159
#' @param x Input vector.

R/pmlb.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#' @examples
1515
#' # Features and labels in single data frame
1616
#' penguins <- fetch_data('penguins')
17-
#' penguins
17+
#' head(penguins)
1818
#'
1919
#' # Features and labels stored in separate data structures
2020
#' penguins <- fetch_data('penguins', return_X_y=TRUE)

man/compute_imbalance.Rd

+1-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/get_type.Rd

+1-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/nearest_datasets-methods.Rd

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)