<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ke_takahashi</author_name>
  <author_url>https://blog.hatena.ne.jp/ke_takahashi/</author_url>
  <blog_title>memorandums</blog_title>
  <blog_url>https://memorandums.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Apache Commonsは有名だけどなぜかMathのサンプルは見つからないんですね。。。なぜだろう？とりあえず使ってみました。何かの役には立つでしょう。たぶん。。。絵的なものが必要なのでProcessingで動かしました。コードは以下におきました。よければ参考にしてください。github.com実行結果は以下のような感じです（と言われてもわかりにくいですね。。。最初は真っ暗なんですが、左クリックで点を追加していき右クリックを押すと当てはめ計算をします。計算結果でy=ax+bの係数a,bが得られますので、その値にしたがってlineで直線を描画しています。以上です。あ、少し補足しますね。最小二…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemorandums.hatenablog.com%2Fentry%2F2016%2F03%2F14%2F183958&quot; title=&quot;Apache Commons Mathを使って最小二乗法を試した - memorandums&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://cdn-ak.f.st-hatena.com/images/fotolife/k/ke_takahashi/20160314/20160314175932.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-03-14 18:39:58</published>
  <title>Apache Commons Mathを使って最小二乗法を試した</title>
  <type>rich</type>
  <url>https://memorandums.hatenablog.com/entry/2016/03/14/183958</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
