<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kento1109</author_name>
  <author_url>https://blog.hatena.ne.jp/kento1109/</author_url>
  <blog_title>機械学習・自然言語処理の勉強メモ</blog_title>
  <blog_url>https://kento1109.hatenablog.com/</blog_url>
  <categories>
    <anon>numpy</anon>
  </categories>
  <description>特異値分解は、行列を複数の行列の積に分解する方法。こんな感じで分解。 import numpy as np X = np.array([[3,4,1] ,[7,3,2] ,[5,4,2] ,[1,2,1] ,[2,3,2]]) U, s, V = np.linalg.svd(X, full_matrices=True) print s &gt;&gt; [ 12.12789287 2.81497791 0.99504463] 固有値分解で解くと、 import numpy as np import math X = np.array([[3,4,1] ,[7,3,2] ,[5,4,2] ,[1,2,1] …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkento1109.hatenablog.com%2Fentry%2F2017%2F11%2F23%2F141147&quot; title=&quot;numpyで特異値分解 - 機械学習・自然言語処理の勉強メモ&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>http://chart.apis.google.com/chart?cht=tx&amp;chl=X%3DU%5ClambdaV%5ET</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-11-23 14:11:47</published>
  <title>numpyで特異値分解</title>
  <type>rich</type>
  <url>https://kento1109.hatenablog.com/entry/2017/11/23/141147</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
