-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from ZanMervic/docs
As Fairness Data widget documentation fix
- Loading branch information
Showing
7 changed files
with
30 additions
and
30 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
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
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
As Fairness Data | ||
================ | ||
Adds Fairness attributes to the dataset. | ||
|
||
**Inputs** | ||
|
||
- Data: reference dataset | ||
|
||
**Outputs** | ||
|
||
- Data: reference dataset with selected Fairness meta-attributes. | ||
|
||
**As Fairness Data** is a widget that allows the user to select and add Fairness meta-attributes to the dataset. These meta-attributes are required by other fairness widget to function properly. These meta-attributes are: `Favorable Class Value`, `Protected Attributes` and `Privileged Protected Attribute Values`. | ||
|
||
![](images/as-fairness-data.png) | ||
|
||
Example | ||
------- | ||
|
||
This simple example shows how to use the **As Fairness Data** widget. First, we load the German Credit Data dataset and then we connect it to the **As Fairness Data** widget. We select the `Personal status and sex` attribute as the `Protected Attribute` and all values representing males as the `Privileged Protected Attribute Values`. We also select `good` as the `Favorable Class Value`. The output of the widget is a dataset with the added meta-attributes. | ||
|
||
![](images/as-fairness-data-example.png) | ||
|
||
It should be noted that datasets included in orange with the tag `fairness` already have some default fairness meta-attributes added to them and thus do not require the use of the **As Fairness Data** widget before using other fairness widgets. These datasets include: `Adult`, `German Credit Data` and `COMPAS Analysis`. |
This file was deleted.
Oops, something went wrong.
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
File renamed without changes
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