<jupyter_start><jupyter_text>What is a Confusion Matrix?The Digonal of the matrix shows the amount of samples predicted correctly, and any other variables outside of the diagonal will be considered as values predicted wrongly.<jupyter_code>sns.heatmap(cm, cmap="Blues", annot=True)
plt.title("Model Evaluation using Confusion Matrix")
plt.xlabel("Estimated", fontsize=15)
plt.ylabel("Actual", fontsize=15)
plt.show()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.09865470852017937, 'fraction_numerical': 0.008968609865470852, 'mean_word_length': 8.122448979591837, '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': '278361', 'license': 'MIT', 'n_tokens_mistral': 145, 'n_tokens_neox': 134, 'n_words': 43, 'path': 'ST1511_AI_and_Machine_Learning/Code/notebooks/irisModel.ipynb', 'repo_name': 'AKS-coder/School_Notebook', 'size': '446'}