hbui's picture
Update README.md
f406254
|
raw
history blame
767 Bytes
metadata
title: Hbui-Drought Vulnerability Assessment
emoji: 🌍
colorFrom: red
colorTo: yellow
sdk: gradio
sdk_version: 3.24.1
app_file: app.py
pinned: false

Example Data

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:

The dataset can be loaded into your model using the following code:

import pandas as pd

df = pd.read_csv("data/example_data.txt", delimiter="\t")
X = df.drop("DroughtExperienced", axis=1)
y = df["DroughtExperienced"]
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference