<commit_before>import argparse
import datetime
#
import pylab
import numpy
#
import tabular_predDB.cython_code.State as State
import tabular_predDB.python_utils.data_utils as du
import tabular_predDB.python_utils.file_utils as fu
import tabular_predDB.python_utils.general_utils as gu


# parse input
parser = argparse.ArgumentParser()
parser.add_argument('--gen_seed', default=0, type=int)
parser.add_argument('--inf_seed', default=0, type=int)
parser.add_argument('--num_clusters', default=10, type=int)
parser.add_argument('--num_cols', default=100, type=int)
parser.add_argument('--num_rows', default=1000, type=int)
parser.add_argument('--num_views', default=1, type=int)
parser.add_argument('--num_iters', default=100, type=int)
parser.add_argument('--max_mean', default=10, type=float)
parser.add_argument('--max_std', default=0.3, type=float)
parser.add_argument('--N_GRID', default=31, type=int)
args = parser.parse_args()
#
gen_seed = args.gen_seed
inf_seed = args.inf_seed
num_clusters = args.num_clusters
num_cols = args.num_cols
num_rows = args.num_rows
num_views = args.num_views
num_iters = args.num_iters
max_mean = args.max_mean
max_std = args.max_std
N_GRID = args.N_GRID


str_args = (num_views, gen_seed, inf_seed)
save_filename_prefix = 'num_views_%s_gen_seed_%s_inf_seed_%s' % str_args
<commit_msg>change num_iters to max specified in convo<commit_after>import argparse
import datetime
#
import pylab
import numpy
#
import tabular_predDB.cython_code.State as State
import tabular_predDB.python_utils.data_utils as du
import tabular_predDB.python_utils.file_utils as fu
import tabular_predDB.python_utils.general_utils as gu


# parse input
parser = argparse.ArgumentParser()
parser.add_argument('--gen_seed', default=0, type=int)
parser.add_argument('--inf_seed', default=0, type=int)
parser.add_argument('--num_clusters', default=10, type=int)
parser.add_argument('--num_cols', default=100, type=int)
parser.add_argument('--num_rows', default=1000, type=int)
parser.add_argument('--num_views', default=1, type=int)
parser.add_argument('--num_iters', default=500, type=int)
parser.add_argument('--max_mean', default=10, type=float)
parser.add_argument('--max_std', default=0.3, type=float)
parser.add_argument('--N_GRID', default=31, type=int)
args = parser.parse_args()
#
gen_seed = args.gen_seed
inf_seed = args.inf_seed
num_clusters = args.num_clusters
num_cols = args.num_cols
num_rows = args.num_rows
num_views = args.num_views
num_iters = args.num_iters
max_mean = args.max_mean
max_std = args.max_std
N_GRID = args.N_GRID


str_args = (num_views, gen_seed, inf_seed)
save_filename_prefix = 'num_views_%s_gen_seed_%s_inf_seed_%s' % str_args

{'fraction_non_alphanumeric': 0.12439115773698015, 'fraction_numerical': 0.015736230798051705, 'mean_word_length': 7.1155015197568385, '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': '5755496', 'n_tokens_mistral': 999, 'n_tokens_neox': 972, 'n_words': 180}