@@ -43,7 +43,7 @@ uv run python multiclass_classification.py
43
43
- Advanced result interpretation
44
44
- Model serialization/deserialization
45
45
46
- ### 3. [ Mixed Features] ( mixed_features .py)
46
+ ### 3. [ Using Additional Features] ( Using_additional_features .py)
47
47
Shows how to combine text and categorical features:
48
48
- Text + categorical data preparation
49
49
- Feature engineering for categorical variables
@@ -53,7 +53,7 @@ Shows how to combine text and categorical features:
53
53
** Run the example:**
54
54
``` bash
55
55
cd examples
56
- uv run python mixed_features .py
56
+ uv run python Using_additional_features .py
57
57
```
58
58
59
59
** What you'll learn:**
@@ -81,26 +81,7 @@ uv run python advanced_training.py
81
81
- Training parameter tuning
82
82
- Model performance comparison
83
83
84
- ### 5. [ Categorical Comparison] ( categorical_comparison.py )
85
- Compares model performance with and without categorical features:
86
- - Loading real-world data (Sirene dataset)
87
- - Feature engineering and preprocessing
88
- - Model comparison with statistical analysis
89
- - Performance evaluation and visualization
90
-
91
- ** Run the example:**
92
- ``` bash
93
- cd examples
94
- uv run python categorical_comparison.py
95
- ```
96
-
97
- ** What you'll learn:**
98
- - Real-world data handling
99
- - Feature impact analysis
100
- - Statistical model comparison
101
- - Data preprocessing techniques
102
-
103
- ### 6. [ Simple Explainability] ( simple_explainability_example.py )
84
+ ### 5. [ Simple Explainability] ( simple_explainability_example.py )
104
85
Demonstrates model explainability with ASCII histogram visualizations:
105
86
- Training a FastText classifier with enhanced data
106
87
- Word-level contribution analysis
@@ -210,7 +191,7 @@ Class distribution: Negative=5, Neutral=5, Positive=5
210
191
3. ✅ Predicted: Positive, True: Positive
211
192
Text: Fantastic! Love every aspect of it!
212
193
213
- Final Accuracy: 3/6 = 0.500
194
+ Final Accuracy: 3/3 = 1.000
214
195
```
215
196
216
197
### Simple Explainability
0 commit comments