Skip to content

Commit

Permalink
minor doc enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
maniospas committed May 17, 2024
1 parent 0129e9f commit f9d3e2e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Visit one of the links below, or read the full documentation.
<div style="display: flex; flex-wrap: wrap; gap: 10px;" markdown="span">

<a href="quickstart/" style="border: 1px solid black; padding: 10px; flex: 1; text-align: center;" markdown="span">
<span style="font-size: 250%"> :rocket: </span><br>**Quickstart**<br> New? Start here.
<span style="font-size: 250%"> :rocket: </span><br>**Quickstart**<br> New to the library? Start here.
</a>

<a href="basics/forks/" style="border: 1px solid black; padding: 10px; flex: 1; text-align: center;" markdown="span">
Expand Down
4 changes: 2 additions & 2 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import fairbench as fb
test, y, yhat = fb.demos.adult() # test is a Pandas dataframe
```

## 2. Create a sensitive attribute [fork](basics/forks.md)
## 2. Set sensitive attribute [fork](basics/forks.md)

Pack sensitive attributes found in your test data
into a data structure called fork.
Expand All @@ -40,7 +40,7 @@ sensitive = fb.Fork(fb.categories @ test[8], fb.categories @ test[9]) # analyse
sensitive = sensitive.intersectional() # automatically find non-empty intersections
```

## 3. Create and explore fairness [reports](basics/reports.md)
## 3. Explore fairness [reports](basics/reports.md)

Use sensitive attribute forks alongside predictions
to generate fairness reports.
Expand Down
6 changes: 3 additions & 3 deletions docs/record/comparisons.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Metric comparisons

In FairBench [reports](../basics/reports.md) you will see
several comparison mechanisms of base metrics that include expansions
and reductions. Here we summarize those mechanisms based on
how they appear as column titles in generated reports.
several comparison mechanisms of [base metrics](metrics.md) that include expansions
and reductions. Here we summarize the mechanisms that
appear as column titles of the in-built report methods.

### `min`
<div class="doc" markdown="span">
Expand Down
2 changes: 1 addition & 1 deletion docs/record/metrics.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Performance metrics
# Base metrics

FairBench [reports](../basics/reports.md)
implement several definitions of fairness that
Expand Down

0 comments on commit f9d3e2e

Please sign in to comment.