Instructions to use prathamrajbhar11/Poshan-fertilizer-recommendation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use prathamrajbhar11/Poshan-fertilizer-recommendation with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("prathamrajbhar11/Poshan-fertilizer-recommendation", "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
🧪 Poshan — Fertilizer Recommendation Model
Part of the KissanSahyog agritech platform.
Poshan (Hindi: पोषण) means "nourishment / nutrition".
Model Files
| File | Description |
|---|---|
fertilizer_model.pkl |
Fertilizer classifier |
columns.pkl |
Input feature column order |
label_encoder.pkl |
Fertilizer name label encoder |
Inputs
Soil Type,Crop Type(categorical)Temperature,Humidity,Moisture,N,P,K(numeric)
Output
- Recommended fertilizer name + dosage notes
Usage
import joblib
import pandas as pd
model = joblib.load("fertilizer_model.pkl")
cols = joblib.load("columns.pkl")
enc = joblib.load("label_encoder.pkl")
pred = model.predict(pd.DataFrame([your_input], columns=cols))
print(enc.inverse_transform(pred))
- Downloads last month
- -
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support