diff --git a/01_分类报告.txt b/01_分类报告.txt new file mode 100644 index 0000000..9e22302 --- /dev/null +++ b/01_分类报告.txt @@ -0,0 +1,17 @@ +随机森林 - 分类报告 +================================================== +准确率: 0.2000 + + precision recall f1-score support + + 中度 0.17 0.17 0.17 6 + 极重度 0.33 0.33 0.33 9 + 轻度 0.17 0.20 0.18 10 + 轻微 0.17 0.14 0.15 7 + 重度 0.14 0.12 0.13 8 + + accuracy 0.20 40 + macro avg 0.20 0.19 0.19 40 +weighted avg 0.20 0.20 0.20 40 + +决策树准确率: 0.1500 \ No newline at end of file diff --git a/02_混淆矩阵.png b/02_混淆矩阵.png new file mode 100644 index 0000000..54215b5 Binary files /dev/null and b/02_混淆矩阵.png differ diff --git a/03_特征重要性.png b/03_特征重要性.png new file mode 100644 index 0000000..ab5b1ae Binary files /dev/null and b/03_特征重要性.png differ diff --git a/04_特征重要性.csv b/04_特征重要性.csv new file mode 100644 index 0000000..8caf0d2 --- /dev/null +++ b/04_特征重要性.csv @@ -0,0 +1,9 @@ +特征,重要性分数 +湿度_%,0.15141699171542286 +纬度,0.14931218701658863 +经度,0.14621280907970782 +温度_℃,0.14460801529455541 +病害编码,0.1272387182769803 +作物编码,0.10275315955691904 +地区编码,0.09393894108755316 +部位编码,0.08451917797227279 diff --git a/05_预测结果.txt b/05_预测结果.txt new file mode 100644 index 0000000..4e41e0b --- /dev/null +++ b/05_预测结果.txt @@ -0,0 +1,8 @@ +模型预测结果 +================================================== +随机森林准确率: 0.2000 +决策树准确率: 0.1500 + +样本1: 水稻/稻瘟病 => 预测严重程度: 轻度 +样本2: 小麦/锈病 => 预测严重程度: 重度 +样本3: 玉米/大斑病 => 预测严重程度: 轻微 \ No newline at end of file