<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomoshige_n</author_name>
  <author_url>https://blog.hatena.ne.jp/tomoshige_n/</author_url>
  <blog_title>Data Science by R and Python</blog_title>
  <blog_url>https://tomoshige-n.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>疎な行列（Sparse Matrix） ユーザーの購入履歴において、ユーザーを行、アイテムを列、アイテムを購入したら1、アイテムを購入しなかったら0となるような行列や、自然言語処理で用いられる単語文書行列は単語を行、文書を列、単語の出現頻度（出現の有無）を値とする行列。こういう行列は、非常に0の多い行列になります。このような行列は、一般的に行数・列数も大きな行列となるので、普通の行列表現形式はメモリを大量に消費する上に、演算時間も非常にかかります。このような疎な行列をうまく扱う方法がRには存在しています。今回は、それを紹介します。 注意：残念ながら疎な行列クラスに適応できる関数は限られます。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomoshige-n.hatenablog.com%2Fentry%2F2014%2F08%2F05%2F051019&quot; title=&quot;疎な行列をRで扱う -R tips- - Data Science by R and Python&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-08-05 05:10:19</published>
  <title>疎な行列をRで扱う -R tips-</title>
  <type>rich</type>
  <url>https://tomoshige-n.hatenablog.com/entry/2014/08/05/051019</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
