Skip to Content
AI開発力を鍛える!機械学習と最適化による問題解決講座
book

AI開発力を鍛える!機械学習と最適化による問題解決講座

by 沓掛 健太朗
April 2025
Intermediate
240 pages
6h 56m
Japanese
Shōeisha
Content preview from AI開発力を鍛える!機械学習と最適化による問題解決講座
2.
3.
0.
1.
125
2.9
 より一般化すると、要求される機械学習精度がデータの分散の大きさに対して
桁で小さい場合は、R2を用いた評価には注意が必要です。ここでの仮想データで
は、分散が大きくなるケースとして1 点だけ大きく外れたデータがある場合を例
として挙げましたが、(分散の大きさ)>>(要求精度)の場合にはいずれも当て
はまります。このような場合は、R2ではなく、要求精度に対応した平均二乗誤差
(MSE)、二乗平均平方根誤差(RMSE)、平均絶対誤差(MAE)などで機械学習
モデルの予測精度を評価する必要があります。逆に、データの分散の大きさと比
較した相対的な値として予測精度を評価したい場合は、R2が適しています。
まとめ
 機械学習の予測精度評価としてR2を用いる場合は、次の点に注意が必要です。
•  R2はデータの分散の大きさを基準とした予測精度を表す指標。
•  要求される予測精度に対してデータの分散の大きさが非常に大きい場合は、
R2を用いた評価には注意が必要。
RMSEが低ければ問題はないのか?
 前項ではR2による機械学習モデルの予測精度評価について考え、データの分
散が大きな場合は、二乗平均平方根誤差(RMSE)などで評価する必要があると
の結論でした。それでは、常にRMSE を用いて評価すればよいかというと、話は
そう簡単ではありません。やはり、データの意味を考えながら、適切な指標で評
価を行う必要があります。本項では、RMSE を用いて評価する場合に気を付ける
べきことを見ていきましょう。なお、 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

マルチクラウドセキュリティの教科書 クラウド横断で実現する堅牢なセキュリティ基盤

マルチクラウドセキュリティの教科書 クラウド横断で実現する堅牢なセキュリティ基盤

大島 悠司, 垣見 宥太, 金光 高宏, 蒲 晃平, 工藤 匡浩, 小西 陽平, 白濱 亮, 平田 一樹, 矢野 純平, 山田 康博, 吉江 瞬

Publisher Resources

ISBN: 9784798189413