{'fraction_non_alphanumeric': 0.02077687443541102, 'fraction_numerical': 0.0, 'mean_word_length': 6.102564102564102, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Datastack: Unification of Heterogeneous Machine Learning Dataset Interfaces

Machine learning (ML) dataset preprocessing, cleaning, and integration into ML pipelines is often a cum-bersome endeavor that is susceptible to bugs and leads to unstructured code from the start. While existing frameworks for dataset integration often come with an extensive dataset repository, extending these repositories to new datasets is nontrivial due to lack of dataset retrieval, processing and iterator separation. To simplify the process of dataset integration, we present Datastack, an open-source framework that minimizes these efforts by providing well-defined interfaces that seamlessly integrate into existing machine learning frameworks. Inspired by stream processing frameworks such as Flink or Storm, Datastack decouples dataset-specific peculiarities such as custom data formats from the framework by introducing byte streams on an interface level. Furthermore, Datastack delivers dataset preprocessing functionalities such as stacking, splitting, and merging to alleviate error-prone data processing pipelines.