Downloads · 30 days
0
mona0125/soc-estimation-ne-india
soc-estimation-ne-india is a tabular regression model from mona0125. Use it for the tabular regression task on the model card, and read the license before you ship it in a product. It is set up for xgboost. The card lists the license as mit.
This is an XGBoost Regressor trained to estimate Soil Organic Carbon (SOC) values (g/kg) across Northeast India.
Downloads · 30 days
0
Access
Public
Updated Jan 26, 2026
Repo size
51.8 MB
Likes
0
Public
Click a slice to open those files.
.pkl27.4 MB · 100%
From the Hugging Face model README
This is an XGBoost Regressor trained to estimate Soil Organic Carbon (SOC) values (g/kg) across Northeast India.
It uses multi-source remote sensing data (Optical, Radar, Topography, and Climate) representing the year 2022. The model is designed to handle diverse landscapes, including forests, agricultural land, water bodies, and urban areas.
To use this model, your input dataframe must contain these 16 columns in this exact order:
| Category | Features |
|---|---|
| Sentinel-2 (Optical) | S2_B2, S2_B3, S2_B4, S2_B8, S2_B11, S2_NDVI |
| Sentinel-1 (Radar) | S1_VV, S1_VH |
| Terrain | elevation, slope, aspect |
| Climate | precip_annual, temp_mean |
| Soil/Location | soil_texture, latitude, longitude |
import xgboost as xgb
from huggingface_hub import hf_hub_download
import pandas as pd
# 1. Download Model
model_path = hf_hub_download(
repo_id="mona0125/soc-estimation-ne-india",
filename="soc_estimation_model_ne_india.json"
)
# 2. Load Model
model = xgb.XGBRegressor()
model.load_model(model_path)
# 3. Predict (Example Data)
# Ensure columns match the Feature Inputs list above!
data = pd.DataFrame({
'S2_B2': [0.03], 'S2_B3': [0.05], 'S2_B4': [0.04], 'S2_B8': [0.25], 'S2_B11': [0.15], 'S2_NDVI': [0.72],
'S1_VV': [-8.5], 'S1_VH': [-14.2],
'elevation': [150], 'slope': [5.5], 'aspect': [120],
'precip_annual': [1800], 'temp_mean': [24.5],
'soil_texture': [2], 'latitude': [26.1], 'longitude': [91.7]
})
prediction = model.predict(data)
print(f"Predicted SOC: {prediction[0]:.2f} g/kg")