Enviar pesquisa
Carregar
20140706 zuqqhi2-lsm-v1
•
Transferir como PPT, PDF
•
1 gostou
•
2,270 visualizações
zuqqhi 2
Seguir
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 10
Baixar agora
Recomendados
VBAで数値計算 09 掃き出し法
VBAで数値計算 09 掃き出し法
Katsuhiro Morishita
統計的学習の基礎 3章前半
統計的学習の基礎 3章前半
Kazunori Miyanishi
Analyze by StatsModels or Numpy
Analyze by StatsModels or Numpy
Toshiki NOGUCHI
統計的学習の基礎_3章
統計的学習の基礎_3章
Shoichi Taguchi
カステラ本勉強会 第三回 補足
カステラ本勉強会 第三回 補足
ke beck
カステラ本勉強会 第三回
カステラ本勉強会 第三回
ke beck
極限の問題
極限の問題
nabeshimamasataka
Kobayashi 20140409
Kobayashi 20140409
y-kobayashi
Recomendados
VBAで数値計算 09 掃き出し法
VBAで数値計算 09 掃き出し法
Katsuhiro Morishita
統計的学習の基礎 3章前半
統計的学習の基礎 3章前半
Kazunori Miyanishi
Analyze by StatsModels or Numpy
Analyze by StatsModels or Numpy
Toshiki NOGUCHI
統計的学習の基礎_3章
統計的学習の基礎_3章
Shoichi Taguchi
カステラ本勉強会 第三回 補足
カステラ本勉強会 第三回 補足
ke beck
カステラ本勉強会 第三回
カステラ本勉強会 第三回
ke beck
極限の問題
極限の問題
nabeshimamasataka
Kobayashi 20140409
Kobayashi 20140409
y-kobayashi
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Mais conteúdo relacionado
Destaque
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Destaque
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
20140706 zuqqhi2-lsm-v1
1.
Least Square Method zuqqhi2
2.
目的 1 2 下図のようなデータが得られたら、そのデー タが発生するメカニズムを見つける(右の図 の緑色の線を推測する) 0 x y 0 x y
3.
モデル化 3 4 以下の様な多項式でデータを表すことを考え る(モデル化)
ここでは一旦 n を 2 として考えてみる。 0 x y
4.
データ N
点分合計すること部分を式に表す と以下の式になる( 1/2 は後の計算を楽にす るため)。 最小= ( 偏 ) 微分が 0 微分:接線の傾き 最小二乗法の考え方 5 6 各データ点について以下の値を計算して合計 を取ればいい 上の式の値は赤のデータについてはプラス、 水色のデータについてはマイナスになってし まうため、以下のようにして常にプラスにす る 0 x y 0 x y この関数の場合、 接線の傾きが 0 になるのはこの点 => y が最小値
5.
これを行列を元に連立方程式を行列の形にす ると以下のようになる(正規方程式) これを行基本変形で解いて、多項式を作れば 以下の緑線が得られる 最小二乗法の考え方 7
8 ( 偏 ) 微分すると各係数はそれぞれ以下のよ うになる 0 x y
6.
-1/2 ☓
2 行目 3 行目 – 2☓2 行目 -1/2 ☓ 3 行目 アルゴリズム 9 10 Gauss-Jordan 法で正規方程式を解く http://www.yamamo10.jp/yamamoto/lecture/200 6/5E/Linear_eauations/gaussj_html/node2.ht ml Gauss-Jordan 法の例 2 行目 - 2☓1 行目 3 行目 - 2☓1 行目
7.
アルゴリズム 11 12 Gauss-Jordan
法の例 計算結果を連立方程式にすると以下のよう になる これを元に各変数の値を求める
8.
結果の評価 13 14 訓練誤差 最小二乗法の計算に使用したデータとの差分 を見る
汎化誤差 最小二乗法の計算に使用していない観測され たデータとの差分を見る
9.
プログラムと実行結果 15 16 以下に具体的な実装がある https://github.com/zuqqhi2/programming- tips/blob/master/least-squares-method/lsm- polynomial.go
実行結果 汎化誤差が一番少ない n が一番使い勝手がい いから、この場合 n=10 が一番良い n=1 n=2 n=5 n=7 n=11 n=30
10.
プログラムと実行結果 15 16 以下に具体的な実装がある https://github.com/zuqqhi2/programming- tips/blob/master/least-squares-method/lsm- polynomial.go
実行結果 汎化誤差が一番少ない n が一番使い勝手がい いから、この場合 n=10 が一番良い n=1 n=2 n=5 n=7 n=11 n=30
Baixar agora