Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
denysgerasymuk799 committed Jan 29, 2024
1 parent 4d5bf86 commit d605e6b
Show file tree
Hide file tree
Showing 22 changed files with 4,479 additions and 38 deletions.
2 changes: 1 addition & 1 deletion docs/api/custom-classes/MetricsComposer.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MetricsComposer

Metric Composer class that combines different subgroup metrics to create disparity metrics such as 'Disparate_Impact' or 'Accuracy_Parity'.
Metric Composer class that combines different subgroup metrics to create disparity metrics such as 'Disparate_Impact' or 'Accuracy_Difference'.

Definitions of the disparity metrics could be observed in the __init__ method of the Metric Composer: https://github.com/DataResponsibly/Virny/blob/main/virny/custom_classes/metrics_composer.py

Expand Down
2 changes: 1 addition & 1 deletion docs/api/datasets/CreditCardDefaultDataset.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CreditCardDefaultDataset

Dataset class for the Credit Card dataset that contains sensitive attributes among feature columns. Description: https://arxiv.org/pdf/2110.00530.pdf (Section 3.1.6)
Dataset class for the Credit Card Default dataset that contains sensitive attributes among feature columns. Description: https://arxiv.org/pdf/2110.00530.pdf (Section 3.1.6)



Expand Down
19 changes: 19 additions & 0 deletions docs/api/datasets/StudentPerformancePortugueseDataset.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# StudentPerformancePortugueseDataset

Dataset class for the Student Performance Portuguese dataset that contains sensitive attributes among feature columns. Source: https://github.com/tailequy/fairness_dataset/blob/main/experiments/data/student_por_new.csv Description: https://arxiv.org/pdf/2110.00530.pdf (Section 3.4.1)



## Parameters

- **subsample_size** (*int*) – defaults to `None`

Subsample size to create based on the input dataset

- **subsample_seed** (*int*) – defaults to `None`

Seed for sampling using the sample() method from pandas




1 change: 1 addition & 0 deletions docs/api/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ The purpose is to provide sample datasets for functionality testing and show exa
- [DiabetesDataset](../datasets/DiabetesDataset)
- [LawSchoolDataset](../datasets/LawSchoolDataset)
- [RicciDataset](../datasets/RicciDataset)
- [StudentPerformancePortugueseDataset](../datasets/StudentPerformancePortugueseDataset)

## metrics

Expand Down
3 changes: 2 additions & 1 deletion docs/examples/.pages
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
title: Examples 🍱
nav:
- Multiple_Models_Interface_Use_Case.md
- Interactive_Web_App_Demo.md
- Multiple_Models_Interface_With_DB_Writer.md
- Multiple_Models_Interface_With_Error_Analysis.md
- Multiple_Models_Interface_With_Multiple_Test_Sets.md
- Multiple_Models_Interface_With_Inprocessor.md
- Multiple_Models_Interface_With_Postprocessor.md
- Interactive_Web_App_Demo.md
Loading

0 comments on commit d605e6b

Please sign in to comment.