<jupyter_start><jupyter_text>JudeasRx for 2 strata (g=male, female)This is a GUI (graphical user interface) with slider controls and interactive plots implemented via ipywidgets.<jupyter_code># this makes sure it starts looking for things from the JudeasRx folder down.
import os
import sys
os.chdir('../')
sys.path.insert(0,os.getcwd())
print(os.getcwd())
from Bounder_ana import Bounder_ana
import Bounder_ana
from Plotter_2z import Plotter_2z
import Plotter_2z
from Widgeter import Widgeter
import Widgeter
import imp

import numpy as np
import ipywidgets as wid
from IPython.display import display, clear_output
%matplotlib inline
# this cell is for development purposes. Rerun this
# every time there are changes to the code,
# instead of restarting the kernel, which takes much longer.
imp.reload(Plotter_2z)
imp.reload(Widgeter)
imp.reload(Bounder_ana)
wter = Widgeter.Widgeter()
wter.run_gui()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.07089151450053706, 'fraction_numerical': 0.00644468313641246, 'mean_word_length': 6.1692307692307695, '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}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '321375', 'license': 'MIT', 'n_tokens_mistral': 307, 'n_tokens_neox': 297, 'n_words': 107, 'path': 'jupyter_notebooks/judeas-rx.ipynb', 'repo_name': 'rrtucci/JudeasRx', 'size': '931'}