Other packages > Find by keyword >

fairmodels  

Flexible Tool for Bias Detection, Visualization, and Mitigation
View on CRAN: Click here


Download and install fairmodels package within the R console
Install from CRAN:
install.packages("fairmodels")

Install from Github:
library("remotes")
install_github("cran/fairmodels")

Install by package version:
library("remotes")
install_version("fairmodels", "1.2.1")



Attach the package and use:
library("fairmodels")
Maintained by
Jakub Wiśniewski
[Scholar Profile | Author Map]
First Published: 2020-08-20
Latest Update: 2022-08-23
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 (Wisniewski, Biecek (2021)) .
How to cite:
Jakub Wiśniewski (2020). fairmodels: Flexible Tool for Bias Detection, Visualization, and Mitigation. R package version 1.2.1, https://cran.r-project.org/web/packages/fairmodels. Accessed 06 Apr. 2025.
Previous versions and publish date:
0.1.1 (2020-08-20 10:50), 0.2.2 (2020-09-21 18:20), 0.2.4 (2020-12-12 20:30), 1.0.1 (2021-04-14 07:20), 1.1.0 (2021-05-31 16:40), 1.2.0 (2021-10-08 13:20)
Other packages that cited fairmodels R package
View fairmodels citation profile
Other R packages that fairmodels depends, imports, suggests or enhances
Complete documentation for fairmodels
Functions, R codes and Examples using the fairmodels R package
Some associated functions: adult . adult_test . all_cutoffs . calculate_group_fairness_metrics . ceteris_paribus_cutoff . choose_metric . compas . confusion_matrx . disparate_impact_remover . expand_fairness_object . fairness_check . fairness_check_regression . fairness_heatmap . fairness_pca . fairness_radar . german . group_matrices . group_metric . group_model_performance . metric_scores . performance_and_fairness . plot_all_cutoffs . plot_ceteris_paribus_cutoff . plot_chosen_metric . plot_density . plot_fairmodels . plot_fairness_heatmap . plot_fairness_object . plot_fairness_pca . plot_fairness_radar . plot_fairness_regression_object . plot_group_metric . plot_metric_scores . plot_performance_and_fairness . plot_stacked_barplot . plot_stacked_metrics . pre_process_data . print_all_cutoffs . print_ceteris_paribus_cutoff . print_chosen_metric . print_fairness_heatmap . print_fairness_object . print_fairness_pca . print_fairness_radar . print_fairness_regression_object . print_group_metric . print_metric_scores . print_performance_and_fairness . print_stacked_metrics . regression_metrics . resample . reweight . roc_pivot . 
Some associated R codes: all_cutoffs.R . calculate_group_fairness_metrics.R . ceteris_paribus_cutoff.R . choose_metric.R . confusion_matrix.R . data_adult.R . data_adult_test.R . data_compas.R . data_german.R . disparate_impact_remover.R . expand_fairness_object.R . fairness_check.R . fairness_check_regression.R . fairness_heatmap.R . fairness_pca.R . fairness_radar.R . group_matrices.R . group_metric.R . group_model_performance.R . helper_functions.R . metric_scores.R . performance_and_fairness.R . plot_all_cutoffs.R . plot_ceteris_paribus_cutoff.R . plot_chosen_metric.R . plot_density.R . plot_fairmodels.R . plot_fairness_heatmap.R . plot_fairness_object.R . plot_fairness_pca.R . plot_fairness_radar.R . plot_fairness_regression_object.R . plot_group_metric.R . plot_metric_scores.R . plot_performance_and_fairness.R . plot_stacked_metrics.R . pre_process_data.R . print.R . regression_metrics.R . resample.R . reweight.R . roc_pivot.R . stack_metrics.R .  Full fairmodels package functions and examples
Downloads during the last 30 days
03/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/2903/3003/3104/0104/0204/0304/0404/05Downloads for fairmodels0510152025303540455055TrendBars

Today's Hot Picks in Authors and Packages

spCP  
Spatially Varying Change Points
Implements a spatially varying change point model with unique intercepts, slopes, variance intercep ...
Download / Learn more Package Citations See dependency  
ider  
Various Methods for Estimating Intrinsic Dimension
An implementation of various methods for estimating intrinsic dimension of vector-valued dataset or ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
danstat  
R Client for the Statistics Denmark Databank API
The purpose of the package is to enable an R function interface into the Statistics Denmark Databank ...
Download / Learn more Package Citations See dependency  
listarrays  
A Toolbox for Working with R Arrays in a Functional Programming Style
A toolbox for R arrays. Flexibly split, bind, reshape, modify, subset and name arrays. ...
Download / Learn more Package Citations See dependency  
FuzzyQ  
Fuzzy Quantification of Common and Rare Species
Fuzzy clustering of species in an ecological community as common or rare based on their abundance a ...
Download / Learn more Package Citations See dependency  

23,990

R Packages

207,311

Dependencies

64,809

Author Associations

23,991

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA