<jupyter_start><jupyter_text>MVA - MCMC                                             TP3 - Hasting-Metropolis                                         <NAME><jupyter_code># Import the libraries : 
import numpy as np 
%matplotlib inline 
import matplotlib.pyplot as plt 
import pandas as pd
from scipy.stats import multivariate_normal as mn # To evaluate a multivariate normal distribution<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.05048076923076923, 'fraction_numerical': 0.002403846153846154, 'mean_word_length': 2.183206106870229, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '19819', 'license': 'MIT', 'n_tokens_mistral': 116, 'n_tokens_neox': 107, 'n_words': 34, 'path': 'TP3/tp3_exo1.ipynb', 'repo_name': 'abyoussef/MCMC', 'size': '432'}