How to use from the
Use from the
Scikit-learn library
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

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
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Space using hbui/Drought_Vulnerability_Assessment 1