<jupyter_start><jupyter_text><NAME>   Cognitive Systems Mathematics and Methods   Mathematics / Python Exercises 2: Exercise 1<jupyter_code>import numpy as np
import matplotlib.pyplot as plt

A = np.ones((1,1))
A1 = np.concatenate((A, A**2, A**3, A**4, A**5))
A1
B1 = A
B2 = A*2
B3 = A*3
B4 = A*4
B5 = A*5
B = np.concatenate((B1, B2, B3, B4, B5))
B

C = B**2
C
D = B**3
D
E = B**4
E
F = np.concatenate((A1, B, C, D, E), axis = 1)
F<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1735357917570499, 'fraction_numerical': 0.06290672451193059, 'mean_word_length': 4.191011235955056, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '586264', 'license': 'MIT', 'n_tokens_mistral': 231, 'n_tokens_neox': 225, 'n_words': 63, 'path': 'Mathematics Python Exercises 2 Exercise 1.ipynb', 'repo_name': 'Joonakle/-Cognitive-Systems-Mathematics-and-Methods', 'size': '484'}