高等学校化学学报 ›› 2022, Vol. 43 ›› Issue (10): 20220397.doi: 10.7503/cjcu20220397

• 物理化学 • 上一篇    下一篇

泛Kennard-Stone算法的数据集代表性度量与分块采样策略

武晴滢, 祝震予, 吴剑鸣(), 徐昕   

  1. 复旦大学化学系, 上海 200438
  • 收稿日期:2022-06-05 出版日期:2022-10-10 发布日期:2022-07-11
  • 通讯作者: 吴剑鸣 E-mail:jianmingwu@fudan.edu.cn
  • 基金资助:
    国家自然科学基金(21373053)

A Dataset Representativeness Metric and A Slicing Sampling Strategy for the Kennard-Stone Algorithm

WU Qingying, ZHU Zhenyu, WU Jianming(), XU Xin   

  1. Department of Chemistry,Fudan University,Shanghai 200438,China
  • Received:2022-06-05 Online:2022-10-10 Published:2022-07-11
  • Contact: WU Jianming E-mail:jianmingwu@fudan.edu.cn
  • Supported by:
    the National Natural Science Foundation of China(21373053)

摘要:

在大数据机器学习时代, 选择更具代表性的数据集对于模型的训练和验证尤为重要. Kennard- Stone(KS)算法及其各种变种(泛KS算法)是一大类优异的数据集分割方法, 但其采样比例或采样数的选择仅能依靠经验或根据建模结果事后评判. KS算法依据原始文献的计算复杂度为OK3, 难以用于超大数据样本量的计算. 本文基于数据集完备性的讨论, 提出泛KS算法的数据集代表性度量, 以简正振动采样的甲烷分子中碳氢键数据特征分布为例展示采样集代表性效果. 简化KS采样过程的筛选算法, 提高算法效率至O'K2. 提出将数据集切分成多个子集分别实施KS采样的分块采样策略, 可进一步提高算法效率至OK. 偏最小二乘回归测试结果表明, 该方法在提高采样效率的同时仍可保障采样集的代表性.

关键词: Kennard-Stone算法, 数据完备性, 采样集代表性, 线性标度

Abstract:

In machine learning with big data, it is essential to prepare a representative dataset for training a model. The Kennard-Stone(KS) algorithm and its derivatives are a large class of excellent dataset splitting methods. But it rely heavily on empirical selection or modeling results to determine the sampling ratio and sampling number. In addition, its computational complexity is OK3? according to the original literature, making it difficult to apply to massive data. In this paper, we design a metric based on dataset completeness to quantify the representativeness degree of an extracted subset to the whole dataset. An amendment using dynamic programming algorithm is put to reduce the algorithm complexity to O'K2. And a slicing sampling strategy is proposed to divide the whole dataset into several subset and implement KS sampling respectively, which can further improve the algorithm efficiency to O''K. The partial least squares regression test results show that the method can improve the sampling efficiency while still ensuring the representativeness of the finally extracted dataset.

Key words: Kennard-Stone algorithm, Dataset completeness, Dataset representativeness, Linear scaling

中图分类号: 

TrendMD: