Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
1
12.4k
26 53 165 241 275 329 369 449 539 562 631 688 731 776 826 835
40 121 125 206 402 582 705 815 826 835
36 250 675 713 734 760 855 951
40 423 450 705 826 858 896 938 955 965
16 230 263 284 295 353 382 709 739 767 854 884 967 979
27 105 144 321 570 621 799
8 186 215 351 530 659 683 783 810 850 884 948 971 980
228 391
72 193 209 273 280 281 301 334 497 530 531 598 619 675 676 721 856 915 933
184 194 218 257 277 278 375 475 484 497 513 530 627 654 707 879 940
162 176 178 425 491 572 598 624 767 796 854 911 961
126 131 328 699 700 840
393 462 570 802 863
28 79 105 178 734 776 782 846 901 922 939
102 148 230 351 412 462 573 580 658 676 779 804 843 904
72 209 218 267 280 291 459 479 524 615 767 854 889 945 970
44 71 177 205 228 335 370 481 514 704 709 836 875 896
26 53 279 731
152 433 505 831 891
72 74 119 275 311 328 389 420 450 470 485 707 723 796 811 845 847 919
131 275 433 529 968
189 308 327 382 404 524 527 723 775 789 790 835 951 976
90 117 199 202 334 396 654 721 847
71 172 228 290 463 539 542 624 675 702 806 947 965
144 193 318 472 488 632 639 641 679 736 781 866 889 936
18 243 472 759 764 838 957
53 146 162 284 376 386 677 722 732 791 793 886
183 230 277 530
44 523 566 618 860
13 297 351 355 402 549 685 741 775 776 783 842 938
211 347 478 530 562 606 697 705 790 830 852 885 889
235 297 356 461 650 685 713 736 747 830
178 311 601 710 971
29 146 158 275 347 736 743 810
6 40 116 179 353 386 518 636 705 723 737 745 826 845 846 920
176 197 243 280 393 490 495 615 642 674 724 765 790 830 968
562 759 915 920
119 302 363 490 523 530 592 623 931
32 59 60 182 330 355 418 473 574 629 652
40 112 155 165 169 214 273 393 437 490 581 629 633 833 872 989
369 420 518 545 741 830 915
73 271 296 297 369 530 542 586 938 948
71 116 169 177 221 297 327 369 713 739 767 948 968 982
11 184 202 335 382 420 479 570 856 875 896
133 173 228 278 465 539 581 796
22 33 55 137 193 214 240 275 349 412 488 639 754 765 889 936
27 73 101 173 195 277 461 501 872 875 886 889 961
49 127 176 320 495 500 615 640 642 724 766
71 275 297 522 640 739 856
113 141 286 355 388 500 512 595 615 721
33 73 94 355 584 607 618 938
72 237 420 478 490 702 707 723 737 953
32 91 155 199 594 723 941 942 957
36 123 719 724
2 49 237 424 517 661 745
7 70 184 205 416 677 798 914 981
218 343 578 734 806 933
111 369 391 510 570 612 679 735 796 855 984 996
6 156 178 344 355 431 448 488 856
562 592 759 920
377 393 497 528 534 780 790 877 920 965
34 83 159 178 275 355 538 574 584 618 741 884
72 337 355 412 485 510 594 721 847 863 922 990
603 705 779 885
94 123 162 344 391 536 539 676 875 922 933
102 148 658 779 904
22 53 98 148 184 369 382 425 575 677 794 858 948
173 389 465 501 530 539 599 783 946
448 481 530 595 709 810 842 850 875
128 152 162 335 428 471 495 570
22 33 55 137 214 240 275 349 412 754 765
38 384 461 572 624 737 796 815 845 854 859 993
25 56 471 523 776 941
96 144 160 348 461 482 518 683 698 723 775 884 898 920 967
197 225 280 582 675 723 815 896 947 967
215 355 505 957
18 23 235 276 277 473 490 572 716 948
18 209 291 448 459 530 581 595 743 810 850 889 970
205 335 365 580 582 700 704 896 947 967
52 79 137 178 260 284 582 632 652 776 782 965 967
148 460 581 676 702 872 922 974
18 46 74 117 163 218 379 382 535 674 705 712 826 945 951 990
13 40 133 182 349 563 634 673 907 913 936
355 471 545 967
45 73 97 118 184 205 316 510 534 542 570 577 595 643 826 880
13 19 206 235 243 337 374 402 461 490 717 884 919
169 428 485 875
98 121 137 148 184 211 407 539 547 569 666 790 830 879 982
83 94 229 495 512 542 575 632 714 760 786 818 964
146 235 350 420 572 624 795 796 798 854 905
9 33 73 156 194 198 349 391 402 414 424 522 578 750 824 990
95 276 391 549 606 796 983 985
275 522 640 856
38 56 72 177 202 280 450 479 516 693 695 767 854 998
424 568 825 914
3 58 184 240 578 801 813 852 938
22 42 47 58 117 141 175 209 415 542 578 591 607 830 936
386 461 685 776 924
349 378 460 519 572 641 673 676 702 789 866 913 922
44 161 163 457 572 735 879 961
End of preview. Expand in Data Studio

FPClose Frequent Itemset Mining Benchmarks

Dataset card

This repository redistributes nine normalized transaction datasets for educational, reproducible experiments in Frequent Itemset Mining (FIM), particularly frequent closed itemset mining with FPClose. The original datasets were created and maintained by their respective authors and repositories; this project does not claim authorship of the original data.

The dataset files are intended to be used identically with an independent student implementation and with the reference SPMF FPClose implementation. Source URLs and file-level hashes are provided below to make the exact version of each input reproducible.

Contents

File Transactions Category / intended comparison
chess.txt 3,196 Dense transactions, long itemsets
mushrooms.txt 8,416 Dense benchmark, multiple categorical attributes
retail.txt 88,162 Real-world, relatively sparse retail transactions
T10I4D100K.txt 100,000 Synthetic, relatively short transactions
accidents.txt 340,183 Large, relatively dense benchmark
connect.txt 67,557 Dense, longer transactions
kosarak.txt 990,002 Large, sparse, uneven item frequencies
pumsb_star.txt 49,046 Dense, longer transactions
T40I10D100K.txt 100,000 Synthetic, longer transactions

The transaction counts above were measured from the normalized files, not simply copied from public dataset descriptions. Other dataset variants may contain different numbers of transactions.

Format and interpretation

Each .txt file is an SPMF-compatible transaction database:

  • One non-empty line represents one transaction.
  • Each transaction consists of space-separated integer item identifiers.
  • An item identifier represents a distinct item, not its quantity.
  • Transactions can contain different numbers of items.

Example (illustrative; not a sample from a particular benchmark):

1 3 5
2 4
1 2 5

For an absolute minimum support threshold minsup_count, an itemset is frequent if it appears in at least that many transactions. For a relative threshold minsup_pct, use:

minsup_count = ceil(number_of_transactions * minsup_pct / 100)

FPClose returns frequent closed itemsets, which are not the same as all frequent itemsets. When evaluating an implementation, compare both itemsets and their exact support values, not just the number of reported itemsets. Any optional reconstruction of all frequent itemsets must be evaluated separately.

Provenance and original downloads

Normalized file Original source
chess.txt SPMF — chess.txt
mushrooms.txt SPMF — mushrooms.txt
retail.txt SPMF — retail.txt
T10I4D100K.txt SPMF — T10I4D100K.txt
accidents.txt SPMF — accidents.txt
connect.txt SPMF — connect.txt
kosarak.txt FIMI Repository — kosarak.dat.gz
pumsb_star.txt FIMI Repository — pumsb_star.dat.gz
T40I10D100K.txt FIMI Repository — T40I10D100K.dat

Original sources: SPMF and the FIMI datasets. Please consult original source pages for dataset background, credit and redistribution terms. No blanket license for the underlying third-party datasets is claimed here.

Normalization and integrity

The project prepared normalized plain-text transaction files for consistent input to both implementations. Processing includes whitespace normalization and, where applicable, converting original FIMI .dat sources into .txt transaction files. The precise normalization and recorded original-file information are documented in MANIFEST.md accompanying this repository.

Do not normalize the published files a second time before comparing runs: changes to whitespace, line endings, item identifiers or transaction contents can change the file hash and, in some cases, the mining results.

The recorded item-ID offset is 0 for connect and kosarak, and 1 for pumsb_star and T40I10D100K. For chess, mushrooms, retail, T10I4D100K, and accidents, the original item-ID offset was not recorded in the preparation manifest; this is a provenance limitation, not a claim that no transformation occurred.

SHA-256 of normalized .txt files

File SHA-256
chess.txt 341d0ff8676e053dd3b417d61f84c732736154f987ce56975a099b07460957f5
mushrooms.txt 37a11571574d74bd1659c830a1e30e120485c6994b79f32e3b6635621a229bf7
retail.txt 417563fb5feb3711d4f761230ca78b76d100fe2ee0d3178fcc4fbb000d8d1c36
T10I4D100K.txt fb2dd118ff822ff88d724e47d5a4cea6531c0bd6294397db4d36890c1450f1a7
accidents.txt c2b3762e3f8f0ca241c35359b24e3015fd34ea241d09f94b42ae44ed42914726
connect.txt 650a92d7803c465fb08fc0e58de087ceab84cd5f0de4c6816b523774dcd6a2c9
kosarak.txt cb4270629d786207143bb3c4002c36aedc3824f55294c7b3d5538c8023cec314
pumsb_star.txt a9ecd5c882ffff9e0042703253d0eef3453f747537e0027c9be275a8aaf38f2f
T40I10D100K.txt e3d86e8cf6eec0093528e238ab8a4ba10471375c00a9298144edb462caadb28c

For example, verify a local file with:

sha256sum chess.txt

On Windows PowerShell:

Get-FileHash .\chess.txt -Algorithm SHA256

These checksums were previously checked against the corresponding normalized-file entries in the project's MANIFEST.md. After publishing to Hugging Face, download the public versions and verify the hashes again to confirm that upload and download preserved the files byte-for-byte.

Recommended minimum support grid (SPMF pilot)

The following support thresholds were pilot-tested with SPMF FPClose and selected for subsequent group benchmarks. They are not evidence that the student implementation has passed correctness or performance comparison.

Dataset Selected minsup_pct values
Chess 90, 85, 80, 75, 70, 65, 60
Mushrooms 20, 15, 10, 7, 5, 3, 2
Retail 1, 0.5, 0.2, 0.1, 0.05, 0.02
T10I4D100K 1, 0.5, 0.2, 0.1, 0.05, 0.02
Accidents 90, 80, 70, 60, 50, 40
Connect 95, 90, 85, 80, 75, 70
Kosarak 1, 0.5, 0.4, 0.3, 0.25, 0.2
Pumsb* 70, 60, 50, 45, 40, 35
T40I10D100K 5, 3, 2, 1.5, 1.25, 1

Pilot summary: 9 datasets, 56 selected configurations passed the SPMF runs. Three additional exploratory configurations reached a 300-second timeout: kosarak at 0.15% and 0.1%, and T40I10D100K at 0.5%. A timeout means the run did not finish within the limit; it does not mean the number of closed itemsets is zero or that the algorithm is incorrect.

A separate benchmark_config.csv from the project contains the selected thresholds, absolute support counts, SPMF reference closed-itemset counts and single-run pilot measurements. Pilot runtimes are not final performance comparisons. Final evaluation should use a controlled environment, repeated runs, peak-memory measurements and full itemset/support correctness checks.

How to use with SPMF

With an SPMF JAR and a compatible Java runtime installed:

java -Xmx2g -jar spmf.jar run FPClose chess.txt chess_output.txt 90%

This creates output containing frequent closed itemsets and support counts. The preparation notebook ran a Java 25-compatible SPMF build; use the Java version required by your particular JAR. Use the same exact input file and same absolute support threshold when comparing the group implementation to SPMF.

Related derived datasets

The project also prepared additional experimental datasets, which are not assumed to be included in this Hugging Face repository unless separately uploaded:

  • Five reproducible nested Retail subsets (10%, 25%, 50%, 75%, 100%) for scalability experiments.
  • Six synthetic databases with 10,000 transactions, 500 distinct items, and target mean transaction lengths 5, 10, 15, 20, 25, and 30, respectively, for transaction-length experiments.

These should be accompanied by their generation scripts, random seeds, and hashes if they are published.

Limitations and responsible use

  • This is a redistribution and normalization of existing public benchmark data, not a new original dataset.
  • Provenance and normalization details are limited to what was logged in the project's MANIFEST.md; some original item-ID offsets were not recorded.
  • Sources may have differing versions and usage terms. Please cite the original dataset authors/repositories and the algorithm paper as appropriate.
  • This repository does not yet provide evidence of correctness for an independent FPClose implementation; the published pilot results only establish SPMF-side reference observations.

Files to upload alongside this card

Upload this README.md to the root of your Hugging Face dataset repository, together with the nine normalized .txt files and the preparation MANIFEST.md. Do not use this file to replace the separate FIM_Project/README.md that documents the full project.

Downloads last month
54