<commit_before># gentex.feature package
#
# note - what's in init should be rewritten in C similar to makecomat.c
# for a significant speed increase - current question is how
# to handle the possibility of being handed a variable number
#        of images and the mask to build the feature space with, using cytypes

import numpy as np


class features:
    """
    Class features for generating and manipulating feature spaces

    Class Methods
    --------------
<commit_msg>refactor features class to Features<commit_after># gentex.features package
#
# note - what's in init should be rewritten in C similar to makecomat.c
# for a significant speed increase - current question is how
# to handle the possibility of being handed a variable number
#        of images and the mask to build the feature space with, using cytypes

import numpy as np


class Features:
    """
    Class features for generating and manipulating feature spaces

    Class Methods
    --------------

{'fraction_non_alphanumeric': 0.06741573033707865, 'fraction_numerical': 0.0, 'mean_word_length': 3.100418410041841, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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}}
{'dir': 'git-commits-cleaned', 'id': '1258731', 'n_tokens_mistral': 238, 'n_tokens_neox': 225, 'n_words': 130}