<jupyter_start><jupyter_text>Generic plot utilityAssumes that xs and ys are lists.<jupyter_code>(require gamble
         "c3_helpers.rkt")<jupyter_output><empty_output><jupyter_text>Scatter plotThe default type.<jupyter_code>(scatter-c3 '(1 2 3 4 5 5.5 6) '(8.2 7 5 4 3 2.5 0.9) 
            #:xlabel "cans of spinach consumed" #:ylabel "fights lost to Bluto")<jupyter_output><empty_output><jupyter_text>Line plotThe old standby.<jupyter_code>(line-c3 '(1 2 3 4 5 5.5 6) '(8.2 7 5 4 3 2.5 0.9) 
            #:xlabel "cans of spinach consumed" #:ylabel "fights lost to Bluto")<jupyter_output><empty_output><jupyter_text>Bar chartLooks lousy unless xs are evenly-spaced.TODO: figure out how to customize the x tick labels.<jupyter_code>(bar-c3 '(1 2 3 4 5 5.5 6) '(8.2 7 5 4 3 2.5 0.9) 
            #:xlabel "cans of spinach consumed" #:ylabel "fights lost to Bluto")<jupyter_output><empty_output><jupyter_text>HistogramA special kind of bar chart, with a little arithmetic up front... sbs-hist-vals returns a list containing three lists:1. bin-edges, of length one greater than the optional input, n-bins.  For $i$ less than or equal to n-bins, the $i$th element is the (inclusive) lower bound of the $i$th bin.  The last element is the upper bound of the n-bins-th bin.  All upper bounds are non-inclusive (strictly less than).2. bin-centers, of length n-bins.  The $i$-th element is the average of the lower and upper bounds of of bin $i$.3. counts, the $i$th element of which is the number of elements of vals in the $i$th bin.<jupyter_code>(require math/distributions)
(hist-c3 (sample (exponential-dist) 100))<jupyter_output><empty_output><jupyter_text>Multiple plots Blah blah...<jupyter_code>(multi-line-c3 '((5 6 7 8) (5.5 6 7.5 8)) '((9 8 6 4) (10 12 13 14.7)))<jupyter_output><empty_output><jupyter_text>TODO: 1. Hide the endpoint dots on the regression lines. "point" isn't working as expected.2. Make all the regression lines light grey.3. Make only one legend entry for all regression lines (or kill the legend entirely).<jupyter_code>(multi-reg-line-plus-scatter-c3 
 '((0 10) (0 10) (0 10) (0 10) (0 10) (0 10) (0 10)) 
 '((3 7) (4 6.1) (3.5 6.8) (3.2 6.6) (3.38 7) (3.3 6.25) (3.6 6.7)) 
 '(1 3 4 7 8 9) 
 '(4 4.1 5.5 6 7 6.6))<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.12764084507042253, 'fraction_numerical': 0.0682218309859155, 'mean_word_length': 4.062360801781737, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '7', 'dir': 'jupyter-structured-clean-dedup', 'id': '482657', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 966, 'n_tokens_neox': 842, 'n_words': 307, 'path': 'sean_notebooks/c3_plot_utils.ipynb', 'repo_name': 'ppaml-op3/iracket', 'size': '2272'}