arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0709.1166cs.DB
收藏

一种最优线性时间的准单调分割算法

An Optimal Linear Time Algorithm for Quasi-Monotonic Segmentation

Daniel Lemire, Martin Brooks, Yuhong Yan

摘要:

单调性是一个简单而重要的定性特征。我们考虑的问题,分割一个序列在多达K段。我们希望分段尽可能单调,并交替符号。我们提出了一个质量度量这个问题使用的l_inf范数,我们提出了一个最佳的线性时间算法的基础上新的形式主义。此外,给定一个预先计算的时间为O(n log n)的标签的所有极值,我们计算任何最佳分割在常数时间。我们实验比较其性能的两个分段线性分割算法(自上而下和自下而上)。我们表明,我们的算法是更快,更准确。应用包括模式识别和定性建模。

英文摘要:

Monotonicity is a simple yet significant qualitative characteristic. We consider the problem of segmenting a sequence in up to K segments. We want segments to be as monotonic as possible and to alternate signs. We propose a quality metric for this problem using the l_inf norm, and we present an optimal linear time algorithm based on novel formalism. Moreover, given a precomputation in time O(n log n) consisting of a labeling of all extrema, we compute any optimal segmentation in constant time. We compare experimentally its performance to two piecewise linear segmentation heuristics (top-down and bottom-up). We show that our algorithm is faster and more accurate. Applications include pattern recognition and qualitative modeling.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑