jskswamy commited on
Commit
5a31ba5
·
verified ·
1 Parent(s): 8b083e1

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +14 -13
README.md CHANGED
@@ -4,7 +4,7 @@ tags:
4
  - sklearn
5
  - predictive-maintenance
6
  - classification
7
- - random-forest
8
  datasets:
9
  - jskswamy/predictive-maintenance-data
10
  metrics:
@@ -17,25 +17,26 @@ metrics:
17
 
18
  ## Model Description
19
 
20
- This Random Forest classifier predicts whether a diesel engine requires maintenance based on sensor readings.
21
  The model was trained for **commercial fleet predictive maintenance** applications.
22
 
23
- ## Primary Metric: Balanced Accuracy
24
 
25
- The model is optimized for **Balanced Accuracy** (equal weight to both classes) because in predictive maintenance:
26
- - Missing a maintenance need (False Negative) leads to costly breakdowns
27
- - A false alarm (False Positive) only results in an extra inspection
28
- - With 63% positive class, F-metrics can be trivially inflated
 
29
 
30
  ## Performance Metrics (Held-Out Test Set)
31
 
32
  | Metric | Value |
33
  |--------|-------|
34
- | **Balanced Accuracy** | **0.6479** |
35
- | ROC-AUC | 0.6979 |
36
- | F2 Score | 0.6275 |
37
- | Recall | 0.5996 |
38
- | Precision | 0.7711 |
39
 
40
  ## Features
41
 
@@ -81,7 +82,7 @@ print(f"Maintenance Probability: {probability[0]:.2%}")
81
 
82
  ## Training Details
83
 
84
- - **Algorithm:** Random Forest
85
  - **Hyperparameter Tuning:** Optuna with 3-fold stratified CV
86
  - **Scoring:** Balanced Accuracy
87
  - **Split:** 75/10/15 (Train/Validation/Test)
 
4
  - sklearn
5
  - predictive-maintenance
6
  - classification
7
+ - adaboost
8
  datasets:
9
  - jskswamy/predictive-maintenance-data
10
  metrics:
 
17
 
18
  ## Model Description
19
 
20
+ This AdaBoost classifier predicts whether a diesel engine requires maintenance based on sensor readings.
21
  The model was trained for **commercial fleet predictive maintenance** applications.
22
 
23
+ ## Metric Strategy
24
 
25
+ **Two-stage approach:**
26
+ 1. **Hyperparameter Tuning:** Balanced Accuracy (ensures genuine discrimination)
27
+ 2. **Model Selection:** Recall (maximizes failure detection)
28
+
29
+ For predictive maintenance, missing a failure is far more costly than a false alarm.
30
 
31
  ## Performance Metrics (Held-Out Test Set)
32
 
33
  | Metric | Value |
34
  |--------|-------|
35
+ | **Recall** | **0.9978** |
36
+ | F2 Score | 0.8942 |
37
+ | Balanced Accuracy | 0.5026 |
38
+ | ROC-AUC | 0.6957 |
39
+ | Precision | 0.6317 |
40
 
41
  ## Features
42
 
 
82
 
83
  ## Training Details
84
 
85
+ - **Algorithm:** AdaBoost
86
  - **Hyperparameter Tuning:** Optuna with 3-fold stratified CV
87
  - **Scoring:** Balanced Accuracy
88
  - **Split:** 75/10/15 (Train/Validation/Test)