Skip to content

Commit

Permalink
Merge pull request #31 from ModelOriented/dev
Browse files Browse the repository at this point in the history
minor documentation fix
  • Loading branch information
jakwisn authored Oct 22, 2020
2 parents 180b21e + 44ef7f8 commit 5cd0c55
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 18 deletions.
2 changes: 1 addition & 1 deletion R/all_cutoffs.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

all_cutoffs <- function(x,
grid_points = 101,
fairness_metrics = fairness_check_metrics()){
fairness_metrics = c('ACC', 'TPR', 'PPV', 'FPR', 'STP')){

stopifnot(class(x) == "fairness_object")

Expand Down
4 changes: 2 additions & 2 deletions R/choose_metric.R
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#' Choose metric
#'
#' Extracts metrics from \code{metric_data} from fairness object.
#' It allows to visualize and compare chosen metric values across all models.
#' It allows to visualize and compare parity loss of chosen metric values across all models.
#'
#' @param x object of class \code{fairness_object}
#' @param fairness_metric \code{char}, name of fairness metric, one of metrics:
#' @param fairness_metric \code{char}, single name of metric, one of metrics:
#'
#' \itemize{
#'
Expand Down
6 changes: 5 additions & 1 deletion man/all_cutoffs.Rd

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

28 changes: 14 additions & 14 deletions man/choose_metric.Rd

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

Binary file modified man/figures/preview.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5cd0c55

Please sign in to comment.