text/models/lightgbm_classification_report.txt
48013e93bd feat(模型): 添加模型训练、评估和预测功能
- 实现模型训练模块,支持逻辑回归和LightGBM
- 添加模型评估功能,包括分类报告和混淆矩阵
- 实现预测功能,支持单条、批量及DataFrame输入
- 更新.gitignore,移除models目录忽略
- 添加模型评估结果文件
2026-01-15 14:15:17 +08:00

9 lines
326 B
Plaintext

precision recall f1-score support
ham 0.98 0.99 0.99 969
spam 0.93 0.89 0.91 145
accuracy 0.98 1114
macro avg 0.96 0.94 0.95 1114
weighted avg 0.98 0.98 0.98 1114