Skip to content

Commit

Permalink
Add NEWS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
trangdata committed Oct 2, 2020
1 parent 8ba33b3 commit c2a70b9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 14 deletions.
4 changes: 2 additions & 2 deletions CRAN-RELEASE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This package was submitted to CRAN on 2020-09-25.
Once it is accepted, delete this file and tag the release (commit bf665d8256).
This package was submitted to CRAN on 2020-09-29.
Once it is accepted, delete this file and tag the release (commit 8ba33b39cd).
3 changes: 0 additions & 3 deletions R/nearest.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#' ------------------------------------------------------------------------------------
#' Select nearest datasets given input `x`.
#'
#' If `x` is a data.frame object, computes dataset characteristics.
Expand Down Expand Up @@ -128,7 +127,6 @@ nearest_datasets.data.frame <- function(
summary_task[nearest_indices$nn.index, 'dataset']
}

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

#' ------------------------------------------------------------------------------------
#' Get type/class of given vector.
#'
#' @param x Input vector.
Expand Down
2 changes: 1 addition & 1 deletion R/pmlb.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#' @examples
#' # Features and labels in single data frame
#' penguins <- fetch_data('penguins')
#' penguins
#' head(penguins)
#'
#' # Features and labels stored in separate data structures
#' penguins <- fetch_data('penguins', return_X_y=TRUE)
Expand Down
4 changes: 1 addition & 3 deletions man/compute_imbalance.Rd

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

4 changes: 1 addition & 3 deletions man/get_type.Rd

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

3 changes: 1 addition & 2 deletions man/nearest_datasets-methods.Rd

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

0 comments on commit c2a70b9

Please sign in to comment.