Shakiran commited on
Commit
f56a8bb
·
verified ·
1 Parent(s): 15dae0b

Upload 5 files

Browse files

Uploaded model files

xgboost_feature_names_20251103.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:939bade4e1d7c597be16eb307575576a5615222082c0af80a4b509bec63cce34
3
+ size 426
xgboost_label_encoders_20251103.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56471f19ddee5a7a9728dd816faaa2564519148a6bcda29f08e017a4154753c6
3
+ size 1500
xgboost_model_metadata_20251103.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "XGBoost Regressor",
3
+ "model_version": "v1.0_optimized",
4
+ "training_date": "2025-11-03 17:23:35",
5
+ "dataset_size": 1000,
6
+ "train_size": 700,
7
+ "test_size": 300,
8
+ "n_features": 18,
9
+ "feature_names": [
10
+ "Energy_kcal_per_serving",
11
+ "Protein_g_per_serving",
12
+ "Fat_g_per_serving",
13
+ "Carbohydrates_g_per_serving",
14
+ "Fiber_g_per_serving",
15
+ "Calcium_mg_per_serving",
16
+ "Iron_mg_per_serving",
17
+ "Zinc_mg_per_serving",
18
+ "VitaminA_\u00b5g_per_serving",
19
+ "VitaminC_mg_per_serving",
20
+ "Potassium_mg_per_serving",
21
+ "Magnesium_mg_per_serving",
22
+ "region_encoded",
23
+ "condition_encoded",
24
+ "age_group_encoded",
25
+ "season_encoded",
26
+ "portion_size_g",
27
+ "estimated_cost_ugx"
28
+ ],
29
+ "best_parameters": {
30
+ "colsample_bytree": 0.8,
31
+ "gamma": 0,
32
+ "learning_rate": 0.05,
33
+ "max_depth": 4,
34
+ "min_child_weight": 5,
35
+ "n_estimators": 200,
36
+ "reg_alpha": 0,
37
+ "reg_lambda": 1.5,
38
+ "subsample": 0.8
39
+ },
40
+ "performance": {
41
+ "train_r2": 0.9308613599852031,
42
+ "test_r2": 0.6710408438136394,
43
+ "train_rmse": 1.646088466960013,
44
+ "test_rmse": 3.595749432026818,
45
+ "train_mae": 1.2923566384290264,
46
+ "test_mae": 2.8423969070999715,
47
+ "training_time_seconds": 25.0079927444458
48
+ },
49
+ "baseline_comparison": {
50
+ "baseline_test_r2": 0.6310739934579258,
51
+ "baseline_test_mae": 2.998214489299364,
52
+ "improvement_r2": 0.03996685035571357,
53
+ "improvement_mae": 0.15581758219939257
54
+ },
55
+ "regions": [
56
+ "Central Uganda (Buganda)",
57
+ "Western Uganda (Ankole, Tooro, Kigezi, Bunyoro)",
58
+ "Eastern Uganda (Busoga, Bugisu, Teso)",
59
+ "Northern Uganda (Acholi, Lango, Karamoja, West Nile)"
60
+ ],
61
+ "conditions": [
62
+ "Hypertension",
63
+ "Undernutrition",
64
+ "Anemia",
65
+ "Frailty",
66
+ "Digestive issues",
67
+ "Arthritis",
68
+ "Osteoporosis",
69
+ "Diabetes"
70
+ ],
71
+ "age_groups": [
72
+ "80+",
73
+ "60-70",
74
+ "70-80"
75
+ ]
76
+ }
xgboost_nutrition_model_20251103.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee69698f77f48fac915aba2053ea1cd43273b296accf3f5e5c69e3561209d2c3
3
+ size 303779
xgboost_scaler_20251103.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51788f6a1567dbe855b9220b0c07d3d22b58f16737d86e6f5e825ff24c2844c2
3
+ size 16407