<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mathematicsphysical</author_name>
  <author_url>https://blog.hatena.ne.jp/mathematicsphysical/</author_url>
  <blog_title>作業中のメモ</blog_title>
  <blog_url>https://workspacememory.hatenablog.com/</blog_url>
  <categories>
    <anon>数学</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>どうも，筆者です．数点のデータから，関数フィッティングを行う必要が出てきたので，原理から考えたいと思う． gnuplot の fit コマンドを使えば，解は出てくるけど，C 言語等のプログラム中で処理を行いたいため，1 から考えてみる． 最小二乗近似 まず， 点 から得られる観測データ が 個あるとする． これらを関数 で近似することを考える．ここで，関数 は 番目の基底関数である． このとき，測定値の組 における誤差 を で定義する．そして， 個のデータの二乗誤差 を最小にするような係数 を求める．これを満たす は， を解くことで求められる．ここで，式 (4) の左辺は， で求められる．式 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fworkspacememory.hatenablog.com%2Fentry%2F2015%2F09%2F14%2F005946&quot; title=&quot;n 変数関数の最小二乗近似 - 作業中のメモ&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=%20%7Bx%2C%20y%7D</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-09-14 00:59:46</published>
  <title>n 変数関数の最小二乗近似</title>
  <type>rich</type>
  <url>https://workspacememory.hatenablog.com/entry/2015/09/14/005946</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
