<jupyter_start><jupyter_text>Chapter 5 ディープラーニングの理論* 5.5 行列と行列積  リスト 5.13 NumPyをつかって行列を表す<jupyter_code>import numpy as np
a = np.array([[1, 0, 5],
              [4, 3, 2]])
print(a)

b = np.array([[1.2, 0.18],
              [2.3, -0.31],
              [0.42, -4.5]])
print(b)<jupyter_output>[[1 0 5]
 [4 3 2]]
[[ 1.2   0.18]
 [ 2.3  -0.31]
 [ 0.42 -4.5 ]]
{'fraction_non_alphanumeric': 0.21690140845070421, 'fraction_numerical': 0.1352112676056338, 'mean_word_length': 2.1228070175438596, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '558016', 'license': 'BSD-2-Clause', 'n_tokens_mistral': 223, 'n_tokens_neox': 198, 'n_words': 38, 'path': 'ISBN978-4-7981-6720-6/list5_13.ipynb', 'repo_name': 'zfukuoka/Copying_a_sutra', 'size': '355'}