File size: 1,573 Bytes
8cb0c1d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
  "created_at": "2025-12-03T09:04:03.083507Z",
  "target": "Experience_Level",
  "n_features": 8,
  "n_test_samples": 2999,
  "metrics_by_model": {
    "Linear Regression": {
      "MAE": 1.0702313301015012,
      "RMSE": 1.3044658413432206,
      "R2": -0.7023841026300084
    },
    "Random Forest": {
      "MAE": 0.037401182031597605,
      "RMSE": 0.09026074714124309,
      "R2": 0.9918493924787138
    },
    "Bagging Regressor": {
      "MAE": 0.03729884069670664,
      "RMSE": 0.09030304487293238,
      "R2": 0.9918417516603214
    },
    "Gradient Boosting": {
      "MAE": 0.330239336587384,
      "RMSE": 0.42489344861201594,
      "R2": 0.8193856708756857
    },
    "KNN Regressor": {
      "MAE": 0.15201366322234064,
      "RMSE": 0.31524115755224025,
      "R2": 0.9005790382902003
    }
  },
  "selected_model": {
    "model_type": "Random Forest",
    "model_class": "RandomForestRegressor",
    "model_path": "C:\\Users\\fback\\Desktop\\Projets\\Dev\\GitHub\\train.me\\src\\models\\v1\\life_style_data\\model.joblib",
    "params": {
      "bootstrap": true,
      "ccp_alpha": 0.0,
      "criterion": "squared_error",
      "max_depth": null,
      "max_features": 1.0,
      "max_leaf_nodes": null,
      "max_samples": null,
      "min_impurity_decrease": 0.0,
      "min_samples_leaf": 1,
      "min_samples_split": 2,
      "min_weight_fraction_leaf": 0.0,
      "monotonic_cst": null,
      "n_estimators": 200,
      "n_jobs": null,
      "oob_score": false,
      "random_state": 42,
      "verbose": 0,
      "warm_start": false
    }
  }
}