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

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

by 沓掛 健太朗
April 2025
Intermediate
240 pages
6h 56m
Japanese
Shōeisha
Content preview from AI開発力を鍛える!機械学習と最適化による問題解決講座
112
0
1
2
3
2
2.7
logを取るべきか
取らざるべきか?
正規化と並び、よく用いられるデータ前処理のためのデータ変換がlog変換
です。本節では、機械学習の入力パラメータ
と出力変数
のそれぞれの
log
変換について、その意味と効果を考えます。
パラメ ー タ の 変換について
 
log
変換は数式では次式のように表されます。
 なお本書では、自然対数を   と書き、常用対数を   と書くことにしま
す。
log
変換は、値が小さいところのスケールは引き延ばし、値が大きいところの
スケールは縮小します。その効果として、偏ったデータを均一にならすことがで
きます。
2.7.1 に、
の値が低い領域に分布が偏ったデータに対して、
log
変換
を行った結果を示します。データの偏りが緩和され、
に対してデータ点が均一
に分布していることがわかります。一般的に、機械学習モデルの予測精度は、
データ数が同じであった場合、パラメータ空間にデータが均一に分布している方
が全体での予測精度は高まります。したがって、
log
変換によって入力パラメータ
空間におけるデータの偏りを補正してならすことで、得られる機械学習モデルの
精度向上が期待できます。また、データの密度が均一になりますので、2.5節で
議論した、データ密度が低い領域のデータの方が機械学習結果への影響が大きい
という問題を緩和することもできます。
 また
log
変換はデータ密度の偏りを補正する以外に、細かくモデル化したい領
域を拡大することができます。
2.7.2 に、 ...
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