<jupyter_start><jupyter_text>Chapter 5 ディープラーニングの理論* 5.5 行列と行列積  リスト 5.14 NumPyを使った行列の積<jupyter_code>import numpy as np
a = np.array([[0, 1, 2],
              [2, 1, 0]])
b = np.array([[1, 2],
              [1, 2],
              [1, 2]])
print(np.dot(a, b))<jupyter_output>[[3 6]
 [3 6]]
{'fraction_non_alphanumeric': 0.1916376306620209, 'fraction_numerical': 0.07665505226480836, 'mean_word_length': 2.5555555555555554, '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': '582346', 'license': 'BSD-2-Clause', 'n_tokens_mistral': 166, 'n_tokens_neox': 150, 'n_words': 30, 'path': 'ISBN978-4-7981-6720-6/list5_14.ipynb', 'repo_name': 'zfukuoka/Copying_a_sutra', 'size': '287'}