Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
@@ -8,5 +8,18 @@ sdk_version: 3.24.1
|
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
|
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
11 |
+
## Example Data
|
12 |
|
13 |
+
We have provided an example dataset in the `data` subdirectory of this repository. The dataset consists of 5 examples, each with 35 features and a target variable. To download the dataset, simply clone this repository and navigate to the `data` subdirectory:
|
14 |
+
|
15 |
+
|
16 |
+
The dataset can be loaded into your model using the following code:
|
17 |
+
|
18 |
+
```python
|
19 |
+
import pandas as pd
|
20 |
+
|
21 |
+
df = pd.read_csv("data/example_data.txt", delimiter="\t")
|
22 |
+
X = df.drop("DroughtExperienced", axis=1)
|
23 |
+
y = df["DroughtExperienced"]
|
24 |
+
---
|
25 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|