Skip to content

Commit

Permalink
fix urls
Browse files Browse the repository at this point in the history
  • Loading branch information
trangdata committed Sep 28, 2023
1 parent 0bd7c40 commit 820a6b8
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
#'
#' A list of the names of available datasets
#'
#' @source \url{https://github.com/EpistasisLab/penn-ml-benchmarks}
#' @source \url{https://github.com/EpistasisLab/pmlb}
"dataset_names"

#' Names of available classification datasets
#'
#' A list of the names of available classification datasets
#'
#' @source \url{https://github.com/EpistasisLab/penn-ml-benchmarks}
#' @source \url{https://github.com/EpistasisLab/pmlb}
"classification_dataset_names"

#' Names of available regression datasets
#'
#' A list of the names of available regression datasets
#'
#' @source \url{https://github.com/EpistasisLab/penn-ml-benchmarks}
#' @source \url{https://github.com/EpistasisLab/pmlb}
"regression_dataset_names"

#' Summary statistics for the all datasets
Expand All @@ -35,5 +35,5 @@
#' \item{task:}{Type of problem/task. Can be classification or regression.}
#' }
#'
#' @source \url{https://github.com/EpistasisLab/penn-ml-benchmarks}
#' @source \url{https://github.com/EpistasisLab/pmlb}
"summary_stats"
2 changes: 1 addition & 1 deletion R/nearest.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#' @param n_neighbors Integer. The number of dataset names to return as neighbors.
#' @param dimensions Character vector specifying dataset characteristics to include in similarity calculation.
#' Dimensions must correspond to numeric columns of
#' [all_summary_stats.tsv](https://github.com/EpistasisLab/penn-ml-benchmarks/blob/master/pmlb/all_summary_stats.tsv).
#' [all_summary_stats.tsv](https://github.com/EpistasisLab/pmlb/blob/master/pmlb/all_summary_stats.tsv).
#' If 'all' (default), uses all numeric columns.
#' @param task Character string specifying classification or regression for summary stat generation.
#' @param target_name Character string specifying column of target/dependent variable.
Expand Down
2 changes: 1 addition & 1 deletion R/pmlb.R
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ fetch_data <- function(dataset_name, return_X_y = FALSE, local_cache_dir = NA, d

#' pmlb: R interface to the Penn Machine Learning Benchmarks data repository
#'
#' The \href{https://github.com/EpistasisLab/penn-ml-benchmarks}{PMLB} repository contains a curated collection of data sets for evaluating and
#' The \href{https://github.com/EpistasisLab/pmlb}{PMLB} repository contains a curated collection of data sets for evaluating and
#' comparing machine learning algorithms.
#' These data sets cover a range of applications, and include binary/multi-class classification problems and regression problems,
#' as well as combinations of categorical, ordinal, and continuous features. There are approximately 290 data sets included in the PMLB repository
Expand Down
2 changes: 1 addition & 1 deletion data-raw/get-summary.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
links_to_stats <- 'https://github.com/EpistasisLab/penn-ml-benchmarks/raw/master/pmlb/all_summary_stats.tsv'
links_to_stats <- 'https://github.com/EpistasisLab/pmlb/raw/master/pmlb/all_summary_stats.tsv'
summary_stats <- read.csv(links_to_stats, sep = '\t')
colnames(summary_stats) <- tolower(gsub('X.', 'n_', colnames(summary_stats)))
dataset_names <- summary_stats$dataset
Expand Down
2 changes: 1 addition & 1 deletion man/classification_dataset_names.Rd

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

2 changes: 1 addition & 1 deletion man/dataset_names.Rd

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

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

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

2 changes: 1 addition & 1 deletion man/pmlb.Rd

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

2 changes: 1 addition & 1 deletion man/regression_dataset_names.Rd

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

2 changes: 1 addition & 1 deletion man/summary_stats.Rd

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

0 comments on commit 820a6b8

Please sign in to comment.