Datasets:
Tasks:
Tabular Regression
Modalities:
Text
Formats:
csv
Languages:
English
Size:
10K - 100K
DOI:
License:
GentlemanOfFate
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -135,13 +135,15 @@ aging clocks:
|
|
135 |
`pip install computage`
|
136 |
|
137 |
Now, suppose you have trained your brand-new epigenetic aging clock model using the classic `scikit-learn` library. You saved your model as `pickle` file.
|
138 |
-
Then, the following block of code can be used to benchmark your model.
|
|
|
|
|
139 |
|
140 |
```python
|
141 |
from computage import run_benchmark
|
142 |
|
143 |
# first, define a method to impute NaNs for the in_library models
|
144 |
-
# we recommend using imputation with gold standard values from
|
145 |
imputation = 'sesame_450k'
|
146 |
|
147 |
# for example, take these three clock models for benchmarking
|
@@ -169,7 +171,7 @@ bench = run_benchmark(models_config,
|
|
169 |
|
170 |
### Explore the dataset
|
171 |
|
172 |
-
In case you want
|
173 |
|
174 |
```python
|
175 |
from huggingface_hub import snapshot_download
|
@@ -178,9 +180,7 @@ snapshot_download(
|
|
178 |
repo_type="dataset",
|
179 |
local_dir='.')
|
180 |
```
|
181 |
-
|
182 |
Once downloaded, the dataset can be open with `pandas` (or any other `parquet` reader).
|
183 |
-
|
184 |
```python
|
185 |
import pandas as pd
|
186 |
|
|
|
135 |
`pip install computage`
|
136 |
|
137 |
Now, suppose you have trained your brand-new epigenetic aging clock model using the classic `scikit-learn` library. You saved your model as `pickle` file.
|
138 |
+
Then, the following block of code can be used to benchmark your model.
|
139 |
+
We also implemented imputation of missing values from the [SeSAMe package](https://github.com/zwdzwd/sesame)
|
140 |
+
and added several published aging clock models for comparison.
|
141 |
|
142 |
```python
|
143 |
from computage import run_benchmark
|
144 |
|
145 |
# first, define a method to impute NaNs for the in_library models
|
146 |
+
# we recommend using imputation with gold standard values from SeSAMe
|
147 |
imputation = 'sesame_450k'
|
148 |
|
149 |
# for example, take these three clock models for benchmarking
|
|
|
171 |
|
172 |
### Explore the dataset
|
173 |
|
174 |
+
In case you only want to explore our dataset locally, use the following commands to download it:
|
175 |
|
176 |
```python
|
177 |
from huggingface_hub import snapshot_download
|
|
|
180 |
repo_type="dataset",
|
181 |
local_dir='.')
|
182 |
```
|
|
|
183 |
Once downloaded, the dataset can be open with `pandas` (or any other `parquet` reader).
|
|
|
184 |
```python
|
185 |
import pandas as pd
|
186 |
|