<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yonesaka</author_name>
  <author_url>https://blog.hatena.ne.jp/yonesaka/</author_url>
  <blog_title>The things we like. </blog_title>
  <blog_url>https://yonesaka.hatenadiary.org/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>はじめての機械学習</anon>
  </categories>
  <description>Pythonの勉強がてら、「はじめての機械学習」のcで書かれたコードをPythonに力技で翻訳していく学習記録。まずは最小２乗法。式の解説はここがわかりやすい：http://szksrv.isc.chubu.ac.jp/lms/lms1.htmlプログラムは標準入力の２値のセットから係数a0, a1を求めるもの。 #!/usr/bin/python import sys __TEXTLENGTH__ = 4096 #print __TEXTLENGTH__ text = [] xi = 0 yi = 0 sxi = 0 syi = 0 sxiyi = 0 sxi2 = 0 a0 = 0 a1 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyonesaka.hatenadiary.org%2Fentry%2F20120101&quot; title=&quot;最小二乗法 - The things we like. &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>2012-01-01 00:00:00</published>
  <title>最小二乗法</title>
  <type>rich</type>
  <url>https://yonesaka.hatenadiary.org/entry/20120101</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
