<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yasui_swift</author_name>
  <author_url>https://blog.hatena.ne.jp/yasui_swift/</author_url>
  <blog_title>泣きながら覚えるSwift日記</blog_title>
  <blog_url>https://yasui-swift.hatenadiary.org/</blog_url>
  <categories>
    <anon>手順</anon>
  </categories>
  <description>NumPyの多次元数値配列（行列ともいう）ndarrayは画像解析や機械学習には必須の基礎知識だ。Pythonのリストやタプルに似ていてスライスはできるが、計算は数値しか扱えない。（ただし文字列のタプルをarrayに変換するアトリビュートnp.matrix()がある。） 計算を効率化する数々のアトリビュートがある。単純な数値行列sampleという名前の例にして、基本の一部を以下に示す。sample.size 要素数 sample.ndim 次元数 sample.shape 各次元の要素数 sample.size 要素数 sample.dtype 型——————- import numpy as…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyasui-swift.hatenadiary.org%2Fentry%2F20181201%2F1543622205&quot; title=&quot;(6)多次元数値配列のこと（np.ndarray()とnp.zeros()) - 泣きながら覚えるSwift日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/y/yasui_swift/20181202/20181202035404.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-12-01 08:56:45</published>
  <title>(6)多次元数値配列のこと（np.ndarray()とnp.zeros())</title>
  <type>rich</type>
  <url>https://yasui-swift.hatenadiary.org/entry/20181201/1543622205</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
