Skip to content

Commit 9bee20f

Browse files
committed
update readme
1 parent 127320d commit 9bee20f

File tree

6 files changed

+32
-88
lines changed

6 files changed

+32
-88
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ covid_access
66
data_story.Rmd
77
debug.log
88

9+
reports/
10+
911
__pycache__
1012

1113
.mypy_cache

README.md

+30
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ This is a computationally intense calculation, with the total road network used
3939

4040
This calculation was made possible through the GPU accelerated Python library `cugraph`, part of the [NVIDIA RAPIDS ecosystem](https://rapids.ai), allowing the computation to be highly parallel, taking minutes, rather than days.
4141

42+
## Methodology
43+
4244
## Project layout
4345

4446
```bash
@@ -84,6 +86,34 @@ ahah
8486
to determine buffer suitability when converted to a graph
8587
- All processed data written to respective files
8688

89+
#### 3. Combine into index `ahah/create_index.py`
90+
91+
- Combine both processed secure and open data
92+
- Intermediate variables calculated
93+
- All variables ranked
94+
- Exponential default calculated for all ranked variables
95+
- Percentiles calculated from ranked variables
96+
- Domains Scores calculated
97+
- Domain scores calculated from mean of each domains input variables
98+
- Domain scores ranked
99+
- Domain percentiles calculated
100+
- Exponential transformation calculated for each domain
101+
- AHAH index calculated from mean of domain exponential transformations
102+
- Ranked AHAH index calculated
103+
- AHAH percentiles calculated
104+
105+
Exponential default:
106+
107+
$$
108+
(x-0.5)/len(y)
109+
$$
110+
111+
Exponential transformation:
112+
113+
$$
114+
X=-23 ln(1-R(1-exp(-100/23)))
115+
$$
116+
87117
#### 3. Routing `ahah/routing.py`
88118

89119
> The routing stage of this project primarily makes use of the RAPIDS

ahah/create_index.py

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
import pandas as pd
33
from scipy.stats import norm
44

5-
from ahah.common.utils import Config, combine_lsoa
6-
75

86
def exp_trans(x, df):
97
return -23 * np.log(1 - (x / len(df)) * (1 - np.exp(-100 / 23)))

reports/data_sources.md

-79
This file was deleted.

reports/data_sources.pdf

-104 KB
Binary file not shown.

setup.py

-7
This file was deleted.

0 commit comments

Comments
 (0)