<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a1026302</author_name>
  <author_url>https://blog.hatena.ne.jp/a1026302/</author_url>
  <blog_title>ものづくりのブログ</blog_title>
  <blog_url>https://a1026302.hatenablog.com/</blog_url>
  <categories>
    <anon>C</anon>
    <anon>C-基礎</anon>
  </categories>
  <description>なんとなくC言語の勉強を行いました。以下線形回帰の実装例です。 （linear_regression.c という名前で保存します） コード #include &lt;stdio.h&gt; int main(void) { double x[] = {1, 2, 3, 4, 5}; double y[] = {2, 4, 5, 4, 5}; int n = 5; double sum_x=0, sum_y=0, sum_xy=0, sum_x2=0; for (int i = 0; i &lt; n; i++) { sum_x += x[i]; sum_y += y[i]; sum_xy += x[i] * y…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa1026302.hatenablog.com%2Fentry%2F2025%2F11%2F10%2F092114&quot; title=&quot;【c言語】線形回帰を実装する - ものづくりのブログ&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>https://cdn.user.blog.st-hatena.com/default_entry_og_image/157314735/1599576939808917</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-11-10 09:21:14</published>
  <title>【c言語】線形回帰を実装する</title>
  <type>rich</type>
  <url>https://a1026302.hatenablog.com/entry/2025/11/10/092114</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
