Tabular Classification
Scikit-learn
Joblib
English
climate
drought
public water system
vulnerability
Instructions to use hbui/Drought_Vulnerability_Assessment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use hbui/Drought_Vulnerability_Assessment with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("hbui/Drought_Vulnerability_Assessment", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
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"]
- Downloads last month
- -