<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>时序数据处理 - 标签 - MartinLwx&#39;s Blog</title>
        <link>https://martinlwx.github.io/zh-cn/tags/%E6%97%B6%E5%BA%8F%E6%95%B0%E6%8D%AE%E5%A4%84%E7%90%86/</link>
        <description>时序数据处理 - 标签 - MartinLwx&#39;s Blog</description>
        <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>martinlwx@163.com (MartinLwx)</managingEditor>
            <webMaster>martinlwx@163.com (MartinLwx)</webMaster><copyright>&lt;a rel=&#34;license noopener&#34; href=&#34;https://creativecommons.org/licenses/by-nc-nd/4.0/&#34; target=&#34;_blank&#34;&gt;CC BY-NC-ND 4.0&lt;/a&gt;</copyright><lastBuildDate>Thu, 03 Sep 2026 00:13:29 &#43;0800</lastBuildDate><atom:link href="https://martinlwx.github.io/zh-cn/tags/%E6%97%B6%E5%BA%8F%E6%95%B0%E6%8D%AE%E5%A4%84%E7%90%86/" rel="self" type="application/rss+xml" /><item>
    <title>时序数据降采样：LTTB 与 MinMaxLTTB</title>
    <link>https://martinlwx.github.io/zh-cn/time-series-data-downsampling-lttb-and-minmaxlttb/</link>
    <pubDate>Thu, 03 Sep 2026 00:13:29 &#43;0800</pubDate><author>
        <name>MartinLwx</name>
    </author><guid>https://martinlwx.github.io/zh-cn/time-series-data-downsampling-lttb-and-minmaxlttb/</guid>
    <description><![CDATA[<h2 id="背景" class="headerLink">
    <a href="#%e8%83%8c%e6%99%af" class="header-mark"></a>背景</h2><p>最近在工作中需要处理一些时序数据，需要对时序数据做降采样（Downsampling）处理。因此学习了一下 LTTB 算法和 MinMaxLTTB 算法</p>
<p>从降采样的技术上来说，大致可以分成 2 种<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></p>
<ul>
<li>特征保持（Characteristic Preserving）：此时降采样的目标是让<strong>统计特征</strong>（均值、方差等）在降采样前后尽量一致</li>
<li>值保持（Value Preserving）：从原始数据点中挑选数据点，目标是让<strong>整体形状</strong>在降采样前后尽量一致</li>
</ul>
<p>无论是 LTTB 算法还是 MinMaxLTTB 算法，本质上都是值保持的一种。即他们的目标都是在降采样后尽量维持原来的形状</p>]]></description>
</item></channel>
</rss>
