diff --git a/homepage/src/components/detection/Result.tsx b/homepage/src/components/detection/Result.tsx index 181aaa7..984636d 100644 --- a/homepage/src/components/detection/Result.tsx +++ b/homepage/src/components/detection/Result.tsx @@ -19,7 +19,7 @@ function Result({ rows }: { rows: ResultRowsType }) { - 检测引擎 + WAF 类别 版本 检出率 误报率 diff --git a/homepage/src/pages/detection.tsx b/homepage/src/pages/detection.tsx index d4d38c4..0144ef7 100644 --- a/homepage/src/pages/detection.tsx +++ b/homepage/src/pages/detection.tsx @@ -3,13 +3,16 @@ import Container from "@mui/material/Container"; import Result from "@/components/detection/Result"; import { useRouter } from "next/router"; import "highlight.js/styles/a11y-light.css"; +import Box from "@mui/material/Box"; import { getSampleSet, getSampleSetResult } from "@/api/detection"; import { Message } from "@/components"; import type { RecordSamplesType, ResultRowsType, } from "@/components/detection/types"; +import Grid from "@mui/material/Grid"; import SampleList from "@/components/detection/SampleList"; +import { Typography } from "@mui/material"; export default Detection; @@ -76,6 +79,27 @@ function Detection() {
+ + + TP: 正确识别到攻击样本的数量
+ 检出率 = TP / (TP + FN) +
+ + TN: 正确识别到普通样本的数量
+ 误报率 = FP / (TP + FP) +
+ + FP: 将普通样本误报为攻击的数量
+ 准确率 = (TP + TN) / (TP + TN + FP + FN) +
+ + FN: 未识别到攻击样本的数量 + +
); }