<jupyter_start><jupyter_text>Attraction plots  Ratio<jupyter_code>color_list = ['blue','orange','green']
for st in range(hmm.n_components):
    ratio_plot(X = x_vector, hmm = hmm, t_ = 2, state_ = st , c_ =1,
               k_value_ = 10000, N_ite = 1, initial_ratio = 0.1, 
               final_ratio = 150, ratio_step = 0.1, color_ = color_list[st])
    plt.legend(bbox_to_anchor = (1.05, 0.6))<jupyter_output><empty_output><jupyter_text>Contour<jupyter_code>compute_contour_w1_w2(hmm=hmm, X= x_vector ,t_= 4, state_ = 0, N_ite=1, k_value_=100000, c_= 1)<jupyter_output><empty_output><jupyter_text>Repulsion plots  Ratio<jupyter_code>color_list = ['blue','orange','green']
for st in range(hmm.n_components):
    ratio_plot(X = x_vector, hmm = hmm, t_ = 3, state_ = st , c_ =-1,
               k_value_ = 10000, N_ite = 1, initial_ratio = 0.1, 
               final_ratio = 150, ratio_step = 0.1, color_ = color_list[st])
    plt.legend(bbox_to_anchor = (1.05, 0.6))<jupyter_output><empty_output><jupyter_text>Contour<jupyter_code>compute_contour_w1_w2(hmm=hmm, X= x_vector ,t_= 4, state_ = 2, N_ite=1, k_value_=100000, c_= -1)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14507772020725387, 'fraction_numerical': 0.055267702936096716, 'mean_word_length': 4.599033816425121, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '235096', 'license': 'MIT', 'n_tokens_mistral': 542, 'n_tokens_neox': 476, 'n_words': 85, 'path': 'notebooks/plots_montecarlo_enumeration_ratio_and_contour.ipynb', 'repo_name': 'roinaveiro/poisoning_hmms', 'size': '1158'}