<jupyter_start><jupyter_text>**Artificial Intelligence - MSc**ET5003 - MACHINE LEARNING APPLICATIONS Instructor: <NAME>ET5003_Lab-0.11  Matplotlib exercises<jupyter_code>import numpy as np
import matplotlib.pyplot as plt<jupyter_output><empty_output><jupyter_text>Problem 1Plot a scatter plot of Data using the first column as x and the first column as y, using red points.<jupyter_code>#input
x=np.random.randn(15)
Data=np.hstack([x[:,None],x[:,None]])<jupyter_output><empty_output><jupyter_text>Problem 2Plot a scatter plot of Data using the first column as x and the first column as y,and add the label "x" and "y" to the respective columns using `fontsize` 14.  Problem 4Plot the graph of the function $\cos(8 x)$ for $x \in[0,1]$ and add the label "x" and "cos(8x)" to the respective columns using `fontsize` 14.  Problem 5Plot the histogram of Data using 30 bins.<jupyter_code>#input
Data=np.random.randn(2000)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1014799154334038, 'fraction_numerical': 0.03276955602536998, 'mean_word_length': 6.3984375, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, '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': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '281663', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 346, 'n_tokens_neox': 319, 'n_words': 107, 'path': 'Week-0/ET5003_Lab_0_11.ipynb', 'repo_name': 'tim2277/ET5003_SEM1_2021-2', 'size': '954'}