View full-text article in PMC Entropy (Basel). 2021 Nov 18;23(11):1532. doi: 10.3390/e23111532 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1 The process of extracting and splitting a dataset. Require:datasets[D1,D2,D3,D4,D5] trainDataset,testDataset=dividing_the_set_in_a_ratio_of_70_to_30 subDataset=[10,100,500,1000,2000,10000,20000,30000,N] tempDataset=[] for each d∈trainDataset do for each size∈subDataset do tempDataset=d[size]+tempDataset d=d−tempDataset end for end for