Downloads · 30 days
0
prathamrajbhar11/Poshan-fertilizer-recommendation
Poshan-fertilizer-recommendation is a machine learning model from prathamrajbhar11. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for sklearn. The card lists the license as mit.
Part of the KissanSahyog agritech platform.
Downloads · 30 days
0
Access
Public
Updated Apr 6, 2026
Repo size
3.9 MB
Likes
0
Public
Click a slice to open those files.
.pkl3.9 MB · 100%
From the Hugging Face model README
Part of the KissanSahyog agritech platform.
Poshan (Hindi: पोषण) means "nourishment / nutrition".
| File | Description |
|---|---|
fertilizer_model.pkl | Fertilizer classifier |
columns.pkl | Input feature column order |
label_encoder.pkl | Fertilizer name label encoder |
Soil Type, Crop Type (categorical)Temperature, Humidity, Moisture, N, P, K (numeric)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))