<commit_before>##############################################################
## <NAME>
## cd_tree.py
## Created: 20130417
## Updated: 20130417
##############################################################

##############
### SET UP ###
##############
"""
Main functions and classes for construction and use of Chaudhuri-Dasgupta level
set trees. A companion to debacl.py, which has a more developed set of tools for
working with generic level set trees.
"""

import numpy as np
import pandas as pd
import scipy.spatial.distance as spdist
import scipy.io as spio
import igraph as igr
import matplotlib.pyplot as plt
from matplotlib.collections import LineCollection



#####################
### BASIC CLASSES ###
#####################
class CD_Component(object):
	"""<commit_msg>testing the git branching system.<commit_after>##############################################################
## <NAME>
## cd_tree.py
## Created: 20130417
## Updated: 20130417
##############################################################
## this is a test
##############
### SET UP ###
##############
"""
Main functions and classes for construction and use of Chaudhuri-Dasgupta level
set trees. A companion to debacl.py, which has a more developed set of tools for
working with generic level set trees.
"""

import numpy as np
import pandas as pd
import scipy.spatial.distance as spdist
import scipy.io as spio
import igraph as igr
import matplotlib.pyplot as plt
from matplotlib.collections import LineCollection



#####################
### BASIC CLASSES ###
#####################
class CD_Component(object):
	"""
{'fraction_non_alphanumeric': 0.30745147150907953, 'fraction_numerical': 0.020037570444583593, 'mean_word_length': 6.330275229357798, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7092450', 'n_tokens_mistral': 455, 'n_tokens_neox': 403, 'n_words': 154}