{'fraction_non_alphanumeric': 0.027122641509433963, 'fraction_numerical': 0.0023584905660377358, 'mean_word_length': 5.792, '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}}
Dimension Reduction in Kernel Spaces from Locality-Sensitive Hashing

We provide novel methods for efficient dimensionality reduction in kernel spaces. That is, we provide efficient and explicit randomized maps from “data spaces” into “kernel spaces” of low dimension, which approximately preserve the original kernel values. The constructions are based on observing that such maps can be obtained from Locality-Sensitive Hash (LSH) functions, a primitive developed for fast approximate nearest neighbor search. Thus, we relate the question of dimensionality reduction in kernel spaces to the already existing theory of LSH functions. Efficient dimensionality reduction in kernel spaces enables a substantial speedup of kernelbased algorithms, as experimentally shown in Rahimi-Recht (NIPS’07). Our framework generalizes one of their constructions.