From ab428f860f2854a683950f82ef5d719a9add04a2 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Sat, 22 Mar 2025 22:36:25 +0800 Subject: [PATCH] doc: update docs. (#30347) * Update 09-error-code.md * Update 03-preprocess.md * Update index.md * Update index.md * Update index.md * doc: update docs. * Update index.md * Update index.md * Update index.md --- docs/zh/06-advanced/06-TDgpt/04-forecast/index.md | 3 +-- docs/zh/06-advanced/06-TDgpt/05-anomaly-detection/index.md | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/zh/06-advanced/06-TDgpt/04-forecast/index.md b/docs/zh/06-advanced/06-TDgpt/04-forecast/index.md index e0f6f238cf..9c9468c9f0 100644 --- a/docs/zh/06-advanced/06-TDgpt/04-forecast/index.md +++ b/docs/zh/06-advanced/06-TDgpt/04-forecast/index.md @@ -136,8 +136,6 @@ res_start_time = 1730000000000 gen_figure = true ``` -算法对比分析运行完成以后,生成 fc-results.xlsx 文件,其中包含了调用算法的预测分析误差、执行时间、调用参数等信息,如下表: - | algorithm | params | MSE | elapsed_time(ms.) | | ----------- | ------------------------------------------------------------------------- | ------- | ----------------- | | holtwinters | `{"trend":"add", "seasonal":"add"}` | 351.622 | 125.1721 | @@ -146,3 +144,4 @@ gen_figure = true 如果设置了 `gen_figure` 为 true,分析结果中还会有绘制的分析预测结果图(如下图所示)。 预测对比结果 + diff --git a/docs/zh/06-advanced/06-TDgpt/05-anomaly-detection/index.md b/docs/zh/06-advanced/06-TDgpt/05-anomaly-detection/index.md index 9b7a5d2834..9ca0204b42 100644 --- a/docs/zh/06-advanced/06-TDgpt/05-anomaly-detection/index.md +++ b/docs/zh/06-advanced/06-TDgpt/05-anomaly-detection/index.md @@ -100,6 +100,7 @@ lof={"algorithm":"auto", "n_neighbor": 3} 对比程序执行完成以后,会自动生成名称为`ad_result.xlsx` 的文件,第一个卡片是算法运行结果(如下图所示),分别包含了算法名称、执行调用参数、查全率、查准率、执行时间 5 个指标。 + | algorithm | params | precision(%) | recall(%) | elapsed_time(ms.) | | --------- | -------------------------------------- | ------------ | --------- | ----------------- | | ksigma | `{"k":2}` | 100 | 100 | 0.453 | @@ -107,6 +108,8 @@ lof={"algorithm":"auto", "n_neighbor": 3} | grubbs | `{}` | 100 | 100 | 2.811 | | lof | `{"algorithm":"auto", "n_neighbor":3}` | 0 | 0 | 4.660 | + 如果设置了 `gen_figure` 为 `true`,比较程序会自动将每个参与比较的算法分析结果采用图片方式呈现出来(如下图所示为 ksigma 的异常检测结果标注)。 异常检测标注图 +