-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* plot scale fix and regression * description and fixes * test and fixes * update tests * Bump version and update NEWS * fix plot density * Update links and descriptions * add NEWS entry * update README * add seed
- Loading branch information
Showing
31 changed files
with
3,271 additions
and
2,243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
Package: fairmodels | ||
Type: Package | ||
Title: Flexible Tool for Bias Detection, Visualization, and Mitigation | ||
Version: 1.0.1 | ||
Authors@R: | ||
c(person("Jakub", "Wiśniewski", role = c("aut", "cre"), | ||
email = "jakwisn@gmail.com"), | ||
person("Przemysław", "Biecek", role = c("aut"), | ||
comment = c(ORCID = "0000-0001-8423-1823"))) | ||
Description: Measure fairness metrics in one place for many models. Check how big is model's bias towards different races, sex, nationalities etc. Use measures such as Statistical Parity, Equal odds to detect the discrimination against unprivileged groups. Visualize the bias using heatmap, radar plot, biplot, bar chart (and more!). There are various pre-processing and post-processing bias mitigation algorithms implemented. Find more details in (Wiśniewski, Biecek (2021)) <arXiv:2104.00507>. | ||
License: GPL-3 | ||
Encoding: UTF-8 | ||
LazyData: true | ||
Depends: R (>= 3.5) | ||
Imports: | ||
DALEX, | ||
ggplot2, | ||
patchwork, | ||
ggdendro, | ||
ggrepel, | ||
scales | ||
Suggests: | ||
ranger, | ||
gbm, | ||
knitr, | ||
rmarkdown, | ||
covr, | ||
testthat, | ||
spelling | ||
RoxygenNote: 7.1.1.9000 | ||
VignetteBuilder: knitr | ||
URL: http://fairmodels.drwhy.ai/ | ||
BugReports: https://github.com/ModelOriented/fairmodels/issues | ||
Language: en-US | ||
Package: fairmodels | ||
Type: Package | ||
Title: Flexible Tool for Bias Detection, Visualization, and Mitigation | ||
Version: 1.1.0 | ||
Authors@R: | ||
c(person("Jakub", "Wiśniewski", role = c("aut", "cre"), | ||
email = "jakwisn@gmail.com"), | ||
person("Przemysław", "Biecek", role = c("aut"), | ||
comment = c(ORCID = "0000-0001-8423-1823"))) | ||
Description: Measure fairness metrics in one place for many models. Check how big is model's bias towards different races, sex, nationalities etc. Use measures such as Statistical Parity, Equal odds to detect the discrimination against unprivileged groups. Visualize the bias using heatmap, radar plot, biplot, bar chart (and more!). There are various pre-processing and post-processing bias mitigation algorithms implemented. Package also supports calculating fairness metrics for regression models. Find more details in (Wiśniewski, Biecek (2021)) <arXiv:2104.00507>. | ||
License: GPL-3 | ||
Encoding: UTF-8 | ||
LazyData: true | ||
Depends: R (>= 3.5) | ||
Imports: | ||
DALEX, | ||
ggplot2, | ||
patchwork, | ||
ggdendro, | ||
ggrepel, | ||
scales | ||
Suggests: | ||
ranger, | ||
gbm, | ||
knitr, | ||
rmarkdown, | ||
covr, | ||
testthat, | ||
spelling | ||
RoxygenNote: 7.1.1.9001 | ||
VignetteBuilder: knitr | ||
URL: https://fairmodels.drwhy.ai/ | ||
BugReports: https://github.com/ModelOriented/fairmodels/issues | ||
Language: en-US |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,71 @@ | ||
# Generated by roxygen2: do not edit by hand | ||
|
||
S3method(plot,all_cutoffs) | ||
S3method(plot,ceteris_paribus_cutoff) | ||
S3method(plot,chosen_metric) | ||
S3method(plot,fairness_heatmap) | ||
S3method(plot,fairness_object) | ||
S3method(plot,fairness_pca) | ||
S3method(plot,fairness_radar) | ||
S3method(plot,group_metric) | ||
S3method(plot,metric_scores) | ||
S3method(plot,performance_and_fairness) | ||
S3method(plot,stacked_metrics) | ||
S3method(plot_fairmodels,default) | ||
S3method(plot_fairmodels,explainer) | ||
S3method(plot_fairmodels,fairness_object) | ||
S3method(print,all_cutoffs) | ||
S3method(print,ceteris_paribus_cutoff) | ||
S3method(print,chosen_metric) | ||
S3method(print,fairness_heatmap) | ||
S3method(print,fairness_object) | ||
S3method(print,fairness_pca) | ||
S3method(print,fairness_radar) | ||
S3method(print,group_metric) | ||
S3method(print,metric_scores) | ||
S3method(print,performance_and_fairness) | ||
S3method(print,stacked_metrics) | ||
export(all_cutoffs) | ||
export(calculate_group_fairness_metrics) | ||
export(ceteris_paribus_cutoff) | ||
export(choose_metric) | ||
export(confusion_matrix) | ||
export(disparate_impact_remover) | ||
export(expand_fairness_object) | ||
export(fairness_check) | ||
export(fairness_heatmap) | ||
export(fairness_pca) | ||
export(fairness_radar) | ||
export(group_matrices) | ||
export(group_metric) | ||
export(group_model_performance) | ||
export(metric_scores) | ||
export(performance_and_fairness) | ||
export(plot_density) | ||
export(plot_fairmodels) | ||
export(pre_process_data) | ||
export(resample) | ||
export(reweight) | ||
export(roc_pivot) | ||
export(stack_metrics) | ||
import(ggplot2) | ||
import(patchwork) | ||
importFrom(DALEX,model_performance) | ||
importFrom(DALEX,theme_drwhy) | ||
importFrom(DALEX,theme_drwhy_vertical) | ||
importFrom(ggdendro,dendro_data) | ||
importFrom(ggdendro,segment) | ||
importFrom(ggrepel,geom_text_repel) | ||
importFrom(stats,dist) | ||
importFrom(stats,ecdf) | ||
importFrom(stats,hclust) | ||
importFrom(stats,median) | ||
importFrom(stats,na.omit) | ||
importFrom(stats,quantile) | ||
importFrom(utils,head) | ||
# Generated by roxygen2: do not edit by hand | ||
|
||
S3method(plot,all_cutoffs) | ||
S3method(plot,ceteris_paribus_cutoff) | ||
S3method(plot,chosen_metric) | ||
S3method(plot,fairness_heatmap) | ||
S3method(plot,fairness_object) | ||
S3method(plot,fairness_pca) | ||
S3method(plot,fairness_radar) | ||
S3method(plot,fairness_regression_object) | ||
S3method(plot,group_metric) | ||
S3method(plot,metric_scores) | ||
S3method(plot,performance_and_fairness) | ||
S3method(plot,stacked_metrics) | ||
S3method(plot_fairmodels,default) | ||
S3method(plot_fairmodels,explainer) | ||
S3method(plot_fairmodels,fairness_object) | ||
S3method(print,all_cutoffs) | ||
S3method(print,ceteris_paribus_cutoff) | ||
S3method(print,chosen_metric) | ||
S3method(print,fairness_heatmap) | ||
S3method(print,fairness_object) | ||
S3method(print,fairness_pca) | ||
S3method(print,fairness_radar) | ||
S3method(print,fairness_regression_object) | ||
S3method(print,group_metric) | ||
S3method(print,metric_scores) | ||
S3method(print,performance_and_fairness) | ||
S3method(print,stacked_metrics) | ||
export(all_cutoffs) | ||
export(calculate_group_fairness_metrics) | ||
export(ceteris_paribus_cutoff) | ||
export(choose_metric) | ||
export(confusion_matrix) | ||
export(disparate_impact_remover) | ||
export(expand_fairness_object) | ||
export(fairness_check) | ||
export(fairness_check_regression) | ||
export(fairness_heatmap) | ||
export(fairness_pca) | ||
export(fairness_radar) | ||
export(group_matrices) | ||
export(group_metric) | ||
export(group_model_performance) | ||
export(metric_scores) | ||
export(performance_and_fairness) | ||
export(plot_density) | ||
export(plot_fairmodels) | ||
export(pre_process_data) | ||
export(regression_metrics) | ||
export(resample) | ||
export(reweight) | ||
export(roc_pivot) | ||
export(stack_metrics) | ||
import(ggplot2) | ||
import(patchwork) | ||
importFrom(DALEX,model_performance) | ||
importFrom(DALEX,theme_drwhy) | ||
importFrom(DALEX,theme_drwhy_vertical) | ||
importFrom(ggdendro,dendro_data) | ||
importFrom(ggdendro,segment) | ||
importFrom(ggrepel,geom_text_repel) | ||
importFrom(stats,binomial) | ||
importFrom(stats,dist) | ||
importFrom(stats,ecdf) | ||
importFrom(stats,glm) | ||
importFrom(stats,hclust) | ||
importFrom(stats,median) | ||
importFrom(stats,na.omit) | ||
importFrom(stats,quantile) | ||
importFrom(utils,head) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.