{"id":71829,"date":"2018-09-11T15:15:59","date_gmt":"2018-09-11T06:15:59","guid":{"rendered":"https:\/\/www.sejuku.net\/blog\/?p=71829"},"modified":"2024-05-06T11:51:45","modified_gmt":"2024-05-06T02:51:45","slug":"%e3%80%90numpy%e5%85%a5%e9%96%80-np-matrix%e3%80%91","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/71829","title":{"rendered":"\u3010NumPy\u5165\u9580 np.matrix\u3011\u884c\u5217\u3092\u6271\u3046np.matrix\u30af\u30e9\u30b9\u306e\u7279\u6027\u3092\u77e5\u308d\u3046!"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3001<a href=\"https:\/\/lp.sejuku.net\/lp1_blog_01\/?cid=ai_btn1_71829\">\u30a4\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u30fc\u306e\u30d5\u30af\u30ed\u30a6<\/a>\u3067\u3059\uff01<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f<span style=\"color: #0000ff;\"><strong>\u884c\u5217\u3092\u6271\u3046\u30af\u30e9\u30b9<\/strong><\/span>\u3001<span style=\"color: #008000;\"><strong>np.matrix<\/strong><\/span>\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3059\uff01<\/p>\n<p>NumPy\u3067\u306fnp.ndarray\u30af\u30e9\u30b9\u3067\u914d\u5217\u3092\u7ba1\u7406\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u308c\u306b\u5bfe\u3057\u3066\u3001np.ndarray\u306e\u4e8c\u6b21\u5143\u914d\u5217\u306b\u5f53\u305f\u308b\u69cb\u9020\u306b\u306f\u7279\u5225\u306bnp.matrix\u30af\u30e9\u30b9\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>np.matrix\u306f\u307b\u3068\u3093\u3069<span style=\"color: #0000ff;\"><strong>np.ndarray\u306e\u4e8c\u6b21\u5143\u914d\u5217\u9650\u5b9a\u7248<\/strong><\/span>\u3068\u3044\u3063\u3066\u3082\u826f\u3044\u306e\u3067\u3059\u304c\u3001\u5b9f\u306f\u5c11\u3057\u9055\u3046\u6a5f\u80fd\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067np.matrix\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3059\u308b\u306e\u3067\u3001\u662f\u975e\u8aad\u3093\u3067\u304f\u3060\u3055\u3044\u306d\uff01<\/p>\n<div class=\"p-Widget jp-Cell jp-MarkdownCell jp-Notebook-cell jp-mod-rendered jp-mod-active jp-mod-selected\">\n<div class=\"p-Widget p-Panel jp-Cell-inputWrapper\">\n<div class=\"p-Widget jp-InputArea jp-Cell-inputArea\">\n<div class=\"p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput\" data-mime-type=\"text\/markdown\">\n<h2 id=\"np.matrix%E3%81%A8%E3%81%AF\">np.matrix\u3068\u306f<\/h2>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"p-Widget jp-CellFooter jp-Cell-footer\">Matrix\u306f\u884c\u5217\u3092\u8868\u3059\u30af\u30e9\u30b9\u3067\u3059\u3002<\/div>\n<\/div>\n<div class=\"p-Widget jp-Cell jp-MarkdownCell jp-Notebook-cell jp-mod-rendered\">\n<div class=\"p-Widget p-Panel jp-Cell-inputWrapper\">\n<div class=\"p-Widget jp-InputArea jp-Cell-inputArea\">\n<div class=\"p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput\" data-mime-type=\"text\/markdown\">\n<p>\u3053\u306e\u30af\u30e9\u30b9\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\uff08\u521d\u671f\u5316\u3059\u308b\u95a2\u6570\uff09\u306f\u3001<span style=\"color: #008000;\"><strong>np.matrix\/np.mat<\/strong><\/span>\u3068\u3044\u3046\uff12\u3064\u306e\u95a2\u6570\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3069\u3061\u3089\u3092\u4f7f\u3063\u3066\u3082\u540c\u3058\u3082\u306e\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:python decode:true\">import numpy as np\r\n\r\nX = np.matrix(\r\n    [\r\n        [1,2,3],\r\n        [4,5,6]\r\n    ]\r\n)\r\n\r\nX2 = np.mat(\r\n    [\r\n        [1,2,3],\r\n        [4,5,6]\r\n    ]\r\n)\r\n\r\nX3 = np.array(\r\n    [\r\n        [1,2,3],\r\n        [4,5,6]\r\n    ]\r\n)\r\n\r\nprint(type(X))\r\nprint(type(X2))\r\nprint(type(X3))<\/pre>\n<p>[\u51fa\u529b\u7d50\u679c]<\/p>\n<pre class=\"lang:default decode:true\">&lt;class 'numpy.matrixlib.defmatrix.matrix'&gt;\r\n&lt;class 'numpy.matrixlib.defmatrix.matrix'&gt;\r\n&lt;class 'numpy.ndarray'&gt;<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"p-Widget jp-Cell jp-MarkdownCell jp-Notebook-cell jp-mod-rendered\">\n<div class=\"p-Widget p-Panel jp-Cell-inputWrapper\">\n<div class=\"p-Widget jp-InputArea jp-Cell-inputArea\">\n<div class=\"p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput\" data-mime-type=\"text\/markdown\">\n<p>\u3053\u306e\u30af\u30e9\u30b9\u306f\u884c\u5217\u3092\u8868\u73fe\u3059\u308b\u3082\u306e\u306a\u306e\u3067\u3001\u4e8c\u6b21\u5143\u4ee5\u5916\u306e\u914d\u5217\u304b\u3089\u4f5c\u308d\u3046\u3068\u3059\u308b\u3068ValueError\u306b\u306a\u308a\u307e\u3059\u3002\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"lang:python decode:true \">X = np.matrix(\r\n    [[[1,2,3],[4,5,6]]]\r\n)<\/pre>\n<p>[\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8]<\/p>\n<pre class=\"lang:default decode:true \">---------------------------------------------------------------------------\r\nValueError                                Traceback (most recent call last)\r\n&lt;ipython-input-19-bf08575410de&gt; in &lt;module&gt;()\r\n      1 X = np.matrix(\r\n----&gt; 2     [[[1,2,3],[4,5,6]]]\r\n      3 )\r\n\r\n~\/anaconda3\/lib\/python3.7\/site-packages\/numpy\/matrixlib\/defmatrix.py in __new__(subtype, data, dtype, copy)\r\n    144         shape = arr.shape\r\n    145         if (ndim &gt; 2):\r\n--&gt; 146             raise ValueError(\"matrix must be 2-dimensional\")\r\n    147         elif ndim == 0:\r\n    148             shape = (1, 1)\r\n\r\nValueError: matrix must be 2-dimensional\r\n<\/pre>\n<div class=\"p-Widget jp-Cell jp-MarkdownCell jp-Notebook-cell jp-mod-rendered\">\n<div class=\"p-Widget p-Panel jp-Cell-inputWrapper\">\n<div class=\"p-Widget jp-InputArea jp-Cell-inputArea\">\n<div class=\"p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput\" data-mime-type=\"text\/markdown\">\n<h2 id=\"np.matrix%E3%81%A8np.array%E3%81%AE%E5%8B%95%E4%BD%9C%E3%81%AE%E9%81%95%E3%81%84\">np.matrix\u3068np.array\u306e\u52d5\u4f5c\u306e\u9055\u3044<\/h2>\n<p>np.matrix\u3068np.ndarray\u306f\u307b\u3068\u3093\u3069\u540c\u3058\u52d5\u4f5c\u3092\u3059\u308b\u3001\u3053\u308c\u306f\u5148\u7a0b\u66f8\u304d\u307e\u3057\u305f\u306d\u3002<\/p>\n<p>\u5b9f\u306f\u3053\u308c\u3089\u304c<span style=\"color: #0000ff;\"><strong>\u9055\u3046\u52d5\u304d\u3092\u3059\u308b\u5834\u5408\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059<\/strong><\/span>\u3002<\/p>\n<p>\u305d\u308c\u3089\u306e\u4e2d\u3067\u3082\u7279\u306b\u4e3b\u8981\u306a\u3082\u306e\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h3 id=\"%E5%86%85%E7%A9%8D\">\u5185\u7a4d<\/h3>\n<p><span style=\"color: #0000ff;\"><strong>\u914d\u5217\u540c\u58eb\u306e\u5185\u7a4d<\/strong><\/span>\u3092\u53d6\u308b\u8a08\u7b97\u306b\u3001<span style=\"color: #008000;\"><strong>np.dot<\/strong><\/span>\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/71827\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/09\/np.dot_-150x86.png\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010NumPy\u5165\u9580 np.dot\u3011\u884c\u5217\u8a08\u7b97\u306e\u57fa\u790e\uff01np.dot\u3067\u306e\u5185\u7a4d\u8a08\u7b97\u306e\u4ed5\u65b9\uff01<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<p>\u3053\u306e\u95a2\u6570\u306f\u3082\u3061\u308d\u3093\u3001np.ndarray\u3067\u3082np.matrix\u3067\u3082\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<p>\u3067\u3059\u304c\u3001<span style=\"color: #ff0000;\"><strong>np.ndarray\u3067\u306f*\u6f14\u7b97\u5b50\u3067\u306f\u5185\u7a4d\u8a08\u7b97\u306f\u3067\u304d\u306a\u3044<\/strong><\/span>\u306e\u306b\u5bfe\u3057\u3066\u3001<span style=\"color: #ff0000;\"><strong>np.matrix\u3067\u306f*\u6f14\u7b97\u5b50\u3067\u5185\u7a4d\u304c\u8a08\u7b97\u3067\u304d\u307e\u3059<\/strong><\/span>\u3002<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"p-Widget jp-Cell jp-MarkdownCell jp-Notebook-cell jp-mod-rendered jp-mod-active jp-mod-selected\">\n<div class=\"p-Widget p-Panel jp-Cell-inputWrapper\">\n<div class=\"p-Widget jp-InputArea jp-Cell-inputArea\">\n<div class=\"p-Widget jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput\" data-mime-type=\"text\/markdown\">\n<h4 id=\"np.matrix%E3%81%AE%E5%86%85%E7%A9%8D%E8%A8%88%E7%AE%97\">np.matrix\u306e\u5185\u7a4d\u8a08\u7b97<\/h4>\n<pre class=\"lang:python decode:true\">X*X.transpose()\r\n\r\n# \u8a08\u7b97\u7d50\u679c\r\nmatrix([[14, 32],\r\n        [32, 77]])\r\n\r\n<\/pre>\n<pre class=\"lang:python decode:true \">np.dot(X,X.transpose())\r\n\r\n# \u8a08\u7b97\u7d50\u679c\r\nmatrix([[14, 32],\r\n        [32, 77]])<\/pre>\n<h4 id=\"np.array%E3%81%AE%E5%86%85%E7%A9%8D%E8%A8%88%E7%AE%97\">np.array\u306e\u5185\u7a4d\u8a08\u7b97<\/h4>\n<pre class=\"lang:python decode:true\">np.dot(X3,X3.transpose())\r\n\r\n# \u8a08\u7b97\u7d50\u679c\r\narray([[14, 32],\r\n       [32, 77]])<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre class=\"lang:python decode:true \">X3*X3.transpose()<\/pre>\n<p>[\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8]<\/p>\n<pre class=\"lang:default decode:true \">---------------------------------------------------------------------------\r\nValueError                                Traceback (most recent call last)\r\n&lt;ipython-input-32-0720f2ef1dc3&gt; in &lt;module&gt;()\r\n----&gt; 1 X3*X3.transpose()\r\n\r\nValueError: operands could not be broadcast together with shapes (2,3) (3,2) \r\n<\/pre>\n<h3 id=\"%E3%82%A2%E3%83%80%E3%83%9E%E3%83%BC%E3%83%AB%E7%A9%8D%EF%BC%88%E8%A6%81%E7%B4%A0%E3%81%94%E3%81%A8%E3%81%AE%E7%A9%8D%EF%BC%89\">\u30a2\u30c0\u30de\u30fc\u30eb\u7a4d\uff08\u8981\u7d20\u3054\u3068\u306e\u7a4d\uff09<\/h3>\n<p><span style=\"color: #0000ff;\"><strong>\u914d\u5217\u306e\u8981\u7d20\u3054\u3068\u306e\u7a4d<\/strong><\/span>\u3092\u8a08\u7b97\u3059\u308b\u306b\u306f\u3001<span style=\"color: #ff0000;\"><strong>np.array\u3067\u306f*\u6f14\u7b97\u5b50\u3067\u53ef\u80fd<\/strong><\/span>\u3067\u3059\u304c\u3001<strong><span style=\"color: #ff0000;\">np.matrix\u3067\u306f\u3067\u304d\u307e\u305b\u3093<\/span><\/strong>\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>np.matrix\u3067\u306fnp.multiply\u95a2\u6570<\/strong><\/span>\u3092\u4f7f\u3044\u307e\u3059\u3002\uff08np.arary\u3067\u3082np.multiply\u306f\u4f7f\u3048\u307e\u3059\u3088\uff09<\/p>\n<h4 id=\"np.matrix%E3%81%AE%E3%82%A2%E3%83%80%E3%83%9E%E3%83%BC%E3%83%AB%E7%A9%8D\">np.matrix\u306e\u30a2\u30c0\u30de\u30fc\u30eb\u7a4d<\/h4>\n<p>np.matrix\u540c\u58eb\u3092*\u6f14\u7b97\u5b50\u3067\u8a08\u7b97\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u3067\u307e\u3059\u3002<\/p>\n<pre class=\"lang:python decode:true\">X*X<\/pre>\n<p>[\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8]<\/p>\n<pre class=\"lang:default decode:true\">---------------------------------------------------------------------------\r\nValueError                                Traceback (most recent call last)\r\n&lt;ipython-input-34-0794a8b26aec&gt; in &lt;module&gt;()\r\n----&gt; 1 X*X\r\n\r\n~\/anaconda3\/lib\/python3.7\/site-packages\/numpy\/matrixlib\/defmatrix.py in __mul__(self, other)\r\n    213         if isinstance(other, (N.ndarray, list, tuple)) :\r\n    214             # This promotes 1-D vectors to row vectors\r\n--&gt; 215             return N.dot(self, asmatrix(other))\r\n    216         if isscalar(other) or not hasattr(other, '__rmul__') :\r\n    217             return N.dot(self, other)\r\n\r\nValueError: shapes (2,3) and (2,3) not aligned: 3 (dim 1) != 2 (dim 0)<\/pre>\n<p>\u30a2\u30c0\u30de\u30fc\u30eb\u7a4d\u3092\u8a08\u7b97\u3059\u308b\u306a\u3089np.ndarray.multiply\u95a2\u6570\u3092\u4f7f\u3048\u3070OK\u3067\u3059\u3002<\/p>\n<pre class=\"lang:python decode:true \">np.multiply(X,X)\r\n\r\n# \u8a08\u7b97\u7d50\u679c\r\nmatrix([[ 1,  4,  9],\r\n        [16, 25, 36]])\r\n<\/pre>\n<h4 id=\"np.array%E3%81%AE%E3%82%A2%E3%83%80%E3%83%9E%E3%83%BC%E3%83%AB%E7%A9%8D\">np.array\u306e\u30a2\u30c0\u30de\u30fc\u30eb\u7a4d<\/h4>\n<p>np.ndarray\u540c\u58eb\u306a\u3089\u3070*\u6f14\u7b97\u5b50\u3067\u3082\u30a2\u30c0\u30de\u30fc\u30eb\u7a4d\u304c\u8a08\u7b97\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:python decode:true \">X3*X3\r\n\r\n# \u8a08\u7b97\u7d50\u679c\r\narray([[ 1,  4,  9],\r\n       [16, 25, 36]])<\/pre>\n<p>\u307e\u305f\u3001np.ndarray.multiply\u95a2\u6570\u306a\u3089\u3070\u3001np.ndarray\u3067\u3082np.matrix\u3067\u3082\u540c\u69d8\u306b\u30a2\u30c0\u30de\u30fc\u30eb\u7a4d\u304c\u8a08\u7b97\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:python decode:true \">np.multiply(X3,X3)\r\n\r\n# \u8a08\u7b97\u7d50\u679c\r\narray([[ 1,  4,  9],\r\n       [16, 25, 36]])<\/pre>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<span style=\"color: #0000ff;\"><strong>NumPy\u3067\u884c\u5217\u3092\u6271\u3046\u30af\u30e9\u30b9np.matrix\u306e\u7d39\u4ecb<\/strong><\/span>\u3068\u3001<span style=\"color: #0000ff;\"><strong>np.ndarray\u3068\u306e\u52d5\u4f5c\u306e\u9055\u3044\u306b\u3064\u3044\u3066\u89e3\u8aac<\/strong><\/span>\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>np.matrix\u3092\u4f7f\u3048\u3070\u660e\u793a\u7684\u306b\u884c\u5217\u3092\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u884c\u5217\u8a08\u7b97\u306f\u3069\u3093\u306a\u6a5f\u68b0\u5b66\u7fd2\u30e2\u30c7\u30eb\u306e\u5b9f\u88c5\u3067\u3082\u3088\u304f\u4f7f\u308f\u308c\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>np.matrix\u306e\u4f7f\u3044\u65b9\u3092\u899a\u3048\u3066\u3001\u662f\u975e\u3068\u3082\u52b9\u7387\u7684\u306b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u884c\u3044\u307e\u3057\u3087\u3046\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u30fc\u306e\u30d5\u30af\u30ed\u30a6\u3067\u3059\uff01 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u884c\u5217\u3092\u6271\u3046\u30af\u30e9\u30b9\u3001np.matrix\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3059\uff01 NumPy\u3067\u306fnp.ndarray\u30af\u30e9\u30b9\u3067\u914d\u5217\u3092\u7ba1\u7406\u3057\u3066\u3044\u307e\u3057\u305f\u3002 \u3053\u308c\u306b\u5bfe\u3057\u3066\u3001np.ndarray\u306e [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":71988,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"swell_btn_cv_data":"","footnotes":""},"categories":[2350],"tags":[1888],"class_list":["post-71829","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python-study","tag-ai-python-numpy"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3010NumPy\u5165\u9580 np.matrix\u3011\u884c\u5217\u3092\u6271\u3046np.matrix\u30af\u30e9\u30b9\u306e\u7279\u6027\u3092\u77e5\u308d\u3046! | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010NumPy\u5165\u9580 np.matrix\u3011\u884c\u5217\u3092\u6271\u3046np.matrix\u30af\u30e9\u30b9\u306e\u7279\u6027\u3092\u77e5\u308d\u3046! \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sejuku.net\/blog\/71829\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010NumPy\u5165\u9580 np.matrix\u3011\u884c\u5217\u3092\u6271\u3046np.matrix\u30af\u30e9\u30b9\u306e\u7279\u6027\u3092\u77e5\u308d\u3046! | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010NumPy\u5165\u9580 np.matrix\u3011\u884c\u5217\u3092\u6271\u3046np.matrix\u30af\u30e9\u30b9\u306e\u7279\u6027\u3092\u77e5\u308d\u3046! \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sejuku.net\/blog\/71829\" \/>\n<meta property=\"og:site_name\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sejuku2013\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/sejuku2013\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-09-11T06:15:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:51:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/09\/np.matrix.png\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/samuraijuku\" \/>\n<meta name=\"twitter:site\" content=\"@samuraijuku\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/71829#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/71829\"},\"author\":{\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\"},\"headline\":\"\u3010NumPy\u5165\u9580 np.matrix\u3011\u884c\u5217\u3092\u6271\u3046np.matrix\u30af\u30e9\u30b9\u306e\u7279\u6027\u3092\u77e5\u308d\u3046!\",\"datePublished\":\"2018-09-11T06:15:59+00:00\",\"dateModified\":\"2024-05-06T02:51:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/71829\"},\"wordCount\":98,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/71829#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/np.matrix.png\",\"keywords\":[\"AI. python. NumPy\"],\"articleSection\":[\"Python\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/71829\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/71829\",\"name\":\"\u3010NumPy\u5165\u9580 np.matrix\u3011\u884c\u5217\u3092\u6271\u3046np.matrix\u30af\u30e9\u30b9\u306e\u7279\u6027\u3092\u77e5\u308d\u3046! | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/71829#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/71829#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/np.matrix.png\",\"datePublished\":\"2018-09-11T06:15:59+00:00\",\"dateModified\":\"2024-05-06T02:51:45+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010NumPy\u5165\u9580 np.matrix\u3011\u884c\u5217\u3092\u6271\u3046np.matrix\u30af\u30e9\u30b9\u306e\u7279\u6027\u3092\u77e5\u308d\u3046! \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/71829#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/71829\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/71829#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/np.matrix.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/np.matrix.png\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/71829#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010NumPy\u5165\u9580 np.matrix\u3011\u884c\u5217\u3092\u6271\u3046np.matrix\u30af\u30e9\u30b9\u306e\u7279\u6027\u3092\u77e5\u308d\u3046!\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"description\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\",\"name\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":600,\"height\":600,\"caption\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\",\"https:\\\/\\\/x.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\"},\"description\":\"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\\\/Web\u958b\u767a\\\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\\\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\\\/\u30b2\u30fc\u30e0\u958b\u767a\\\/AI\\\/Web\u30c7\u30b6\u30a4\u30f3\",\"sameAs\":[\"https:\\\/\\\/www.sejuku.net\\\/\",\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\\\/\",\"https:\\\/\\\/www.instagram.com\\\/samuraiengineer_official\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\"],\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-blog\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010NumPy\u5165\u9580 np.matrix\u3011\u884c\u5217\u3092\u6271\u3046np.matrix\u30af\u30e9\u30b9\u306e\u7279\u6027\u3092\u77e5\u308d\u3046! | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010NumPy\u5165\u9580 np.matrix\u3011\u884c\u5217\u3092\u6271\u3046np.matrix\u30af\u30e9\u30b9\u306e\u7279\u6027\u3092\u77e5\u308d\u3046! \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sejuku.net\/blog\/71829","og_locale":"ja_JP","og_type":"article","og_title":"\u3010NumPy\u5165\u9580 np.matrix\u3011\u884c\u5217\u3092\u6271\u3046np.matrix\u30af\u30e9\u30b9\u306e\u7279\u6027\u3092\u77e5\u308d\u3046! | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010NumPy\u5165\u9580 np.matrix\u3011\u884c\u5217\u3092\u6271\u3046np.matrix\u30af\u30e9\u30b9\u306e\u7279\u6027\u3092\u77e5\u308d\u3046! \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/www.sejuku.net\/blog\/71829","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_author":"https:\/\/www.facebook.com\/sejuku2013\/","article_published_time":"2018-09-11T06:15:59+00:00","article_modified_time":"2024-05-06T02:51:45+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/09\/np.matrix.png","type":"image\/png"}],"author":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/71829#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/71829"},"author":{"name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61"},"headline":"\u3010NumPy\u5165\u9580 np.matrix\u3011\u884c\u5217\u3092\u6271\u3046np.matrix\u30af\u30e9\u30b9\u306e\u7279\u6027\u3092\u77e5\u308d\u3046!","datePublished":"2018-09-11T06:15:59+00:00","dateModified":"2024-05-06T02:51:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/71829"},"wordCount":98,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/71829#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/09\/np.matrix.png","keywords":["AI. python. NumPy"],"articleSection":["Python\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/71829","url":"https:\/\/www.sejuku.net\/blog\/71829","name":"\u3010NumPy\u5165\u9580 np.matrix\u3011\u884c\u5217\u3092\u6271\u3046np.matrix\u30af\u30e9\u30b9\u306e\u7279\u6027\u3092\u77e5\u308d\u3046! | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/71829#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/71829#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/09\/np.matrix.png","datePublished":"2018-09-11T06:15:59+00:00","dateModified":"2024-05-06T02:51:45+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010NumPy\u5165\u9580 np.matrix\u3011\u884c\u5217\u3092\u6271\u3046np.matrix\u30af\u30e9\u30b9\u306e\u7279\u6027\u3092\u77e5\u308d\u3046! \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/www.sejuku.net\/blog\/71829#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/71829"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/71829#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/09\/np.matrix.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/09\/np.matrix.png","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/71829#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010NumPy\u5165\u9580 np.matrix\u3011\u884c\u5217\u3092\u6271\u3046np.matrix\u30af\u30e9\u30b9\u306e\u7279\u6027\u3092\u77e5\u308d\u3046!"}]},{"@type":"WebSite","@id":"https:\/\/www.sejuku.net\/blog\/#website","url":"https:\/\/www.sejuku.net\/blog\/","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002","publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sejuku.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.sejuku.net\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793eSAMURAI","url":"https:\/\/www.sejuku.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":600,"height":600,"caption":"\u682a\u5f0f\u4f1a\u793eSAMURAI"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sejuku2013","https:\/\/x.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g\/featured"]},{"@type":"Person","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","caption":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8"},"description":"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\/Web\u958b\u767a\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\/\u30b2\u30fc\u30e0\u958b\u767a\/AI\/Web\u30c7\u30b6\u30a4\u30f3","sameAs":["https:\/\/www.sejuku.net\/","https:\/\/www.facebook.com\/sejuku2013\/","https:\/\/www.instagram.com\/samuraiengineer_official\/","https:\/\/x.com\/https:\/\/twitter.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g"],"url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-blog"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/71829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=71829"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/71829\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/71988"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=71829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=71829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=71829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}