Instructions to use medievalpufferfish/lst-rf-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use medievalpufferfish/lst-rf-model with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("medievalpufferfish/lst-rf-model", "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
LST Random Forest Regression Model
Predicts Land Surface Temperature (°C) from Landsat 9 spectral indices.
Features
longitudelatitudendvindbindwielevationalbedo
Target
lst_c— Land Surface Temperature in Celsius
Performance
| Split | RMSE | MAE | R² |
|---|---|---|---|
| Train | 0.7878 | 0.5133 | 0.9891 |
| Test | 2.0728 | 1.4003 | 0.9288 |
5-fold CV R²: 0.9178 ± 0.0183
Usage
import joblib, numpy as np
rf = joblib.load("rf_lst_model.joblib")
# [longitude, latitude, ndvi, ndbi, ndwi, elevation, albedo]
sample = np.array([[121.7, 31.2, 0.33, -0.09, -0.40, 4.0, 0.18]])
print(rf.predict(sample))
- Downloads last month
- -
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support