prathamrajbhar11 commited on
Commit
dc7df0f
·
verified ·
1 Parent(s): f305cb6

Initial upload: Poshan-fertilizer-recommendation

Browse files
Files changed (4) hide show
  1. README.md +43 -0
  2. columns.pkl +3 -0
  3. fertilizer_model.pkl +3 -0
  4. label_encoder.pkl +3 -0
README.md ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - hi
5
+ tags:
6
+ - agriculture
7
+ - fertilizer-recommendation
8
+ - sklearn
9
+ - india
10
+ - kissansahyog
11
+ license: mit
12
+ ---
13
+
14
+ # 🧪 Poshan — Fertilizer Recommendation Model
15
+
16
+ Part of the [KissanSahyog](https://github.com/Pratham200Rajbhar/KissanSahyog) agritech platform.
17
+
18
+ **Poshan** (Hindi: पोषण) means "nourishment / nutrition".
19
+
20
+ ## Model Files
21
+ | File | Description |
22
+ |---|---|
23
+ | `fertilizer_model.pkl` | Fertilizer classifier |
24
+ | `columns.pkl` | Input feature column order |
25
+ | `label_encoder.pkl` | Fertilizer name label encoder |
26
+
27
+ ## Inputs
28
+ - `Soil Type`, `Crop Type` (categorical)
29
+ - `Temperature`, `Humidity`, `Moisture`, `N`, `P`, `K` (numeric)
30
+
31
+ ## Output
32
+ - Recommended fertilizer name + dosage notes
33
+
34
+ ## Usage
35
+ ```python
36
+ import joblib
37
+ import pandas as pd
38
+ model = joblib.load("fertilizer_model.pkl")
39
+ cols = joblib.load("columns.pkl")
40
+ enc = joblib.load("label_encoder.pkl")
41
+ pred = model.predict(pd.DataFrame([your_input], columns=cols))
42
+ print(enc.inverse_transform(pred))
43
+ ```
columns.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cd8976669555d11e8ca3dd885a5f4b3fe70f74a88395124d2f79c7b12f5cb81
3
+ size 69
fertilizer_model.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c740fed5c522728f641d7c0c98713ba134fdeee7a61d909e790cb2c435fcf945
3
+ size 3938885
label_encoder.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b9ba6df59cec95c01cbe48acdc7b3fbd3e0535acc2ca1dc1573f681d709d746
3
+ size 563