The new iris data: modular data generators

Iris Adä, Michael R. BertholdKDD 2010

Abstract

Synthetic data generation is a critical component of data mining research and education, yet existing tools often lack the flexibility and reproducibility required for complex scenarios. This paper introduces a modular framework built as an extension to the KNIME (Konstanz Information Miner) platform. By leveraging a visual data flow paradigm, the tool enables users to construct sophisticated data pipelines that incorporate diverse statistical distributions, conditional dependencies, and intentional noise. We demonstrate the framework's utility through the generation of multi-relational customer databases and noisy cluster datasets, highlighting its potential as a general-purpose environment for reproducible data synthesis.

Introduction

In the field of data mining, the "Iris dataset" has long served as a foundational benchmark. However, its simplicity and ubiquity limit its effectiveness for testing modern algorithms or teaching complex data concepts. Researchers often require datasets that bridge the gap between simple CSV files and "black box" real-world data—datasets that are controllable yet exhibit realistic complexities such as multi-modal distributions, association rules, and data quality issues.

Traditional synthetic data tools are frequently specialized for single tasks, making them difficult to extend. When a custom dataset is needed, researchers typically resort to writing one-off scripts, which hinders reproducibility and collaboration. This paper addresses these challenges by proposing a modular, graphical environment for data generation that prioritizes flexibility and ease of use.

Methods: A Modular Pipeline Approach

The proposed framework is implemented within KNIME, a popular open-source platform for visual data science. The core philosophy is to decompose the data generation process into a sequence of discrete, modular steps represented by nodes.

Foundation and Attribute Assignment

The generation process begins with a foundation node, such as the "Empty Table Creator," which defines the initial row count. Subsequent nodes add attributes to this table. The framework introduces specialized "Attribute Assigner" nodes for both nominal and continuous data. For continuous variables, the tool supports Gaussian, Beta, and Gamma distributions. Critically, these nodes use human-centric parameters—such as "minimum," "maximum," and "peak"—rather than abstract statistical variables, making them accessible to non-statisticians.

A sample KNIME workflow demonstrating the modular pipeline for synthetic data generation.

Conditional Logic and Rule Injection

To model real-world dependencies, the framework includes a "Conditional Label Assigner." This allows one attribute's value to depend on another (e.g., occupation based on gender).

The Conditional Label Assigner node enables the creation of complex attribute dependencies.

For simulating transactional data, "Association Rule" nodes can inject specific patterns into item lists, such as ensuring a high probability of "cheese" being present when "wine" is selected.

Simulating Real-World Artifacts

A key innovation is the "Stresser" node, designed to intentionally introduce "noise" into the dataset. It can simulate common data entry errors, such as typos (swapping letters in strings) or outliers (replacing values with random numbers). Furthermore, because the framework resides within KNIME, users can utilize standard data processing nodes—like Joiners and Filters—to further manipulate and "dirty" the data, effectively using standard analysis tools for generation purposes.

Results and Applications

The versatility of the generator was validated through three distinct use cases:

  1. Complex Customer Database: A dataset featuring realistic dependencies between demographic attributes (e.g., age, gender, and occupation).
  2. Shopping Basket Data: A multi-relational dataset where transaction contents are governed by customer income and family status, demonstrating the tool's ability to maintain logical links across multiple tables.
  3. Noisy 3D Clusters: A dataset containing five clusters in three dimensions, specifically tailored for testing clustering and outlier detection algorithms.

The modular approach ensures that the "recipe" for these datasets is fully documented within the visual workflow, facilitating easy sharing and modification of experimental setups.

Conclusion and Future Work

The KNIME-based data generator offers a powerful, reproducible alternative to script-based data synthesis. By providing intuitive parameters and a visual interface, it empowers researchers to create "real-world-like" artifacts with high precision. While current limitations include a lack of dedicated support for time-series data, the open-source nature of the project allows for community-driven expansion. Future updates will focus on incorporating temporal dynamics and expanding the library of specialized generation nodes to further enhance the realism of synthetic datasets.

Summary updated

BibTeX
@inproceedings{ada2010new,
  author = {Iris Adä and Michael R. Berthold},
  title = {{The new iris data: modular data generators}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2010},
  doi = {10.1145/1835804.1835858},
}
Figure