Skip to Content
データサイエンス設計マニュアル
book

データサイエンス設計マニュアル

by Steven S. Skiena, 小野 陽子, 長尾 高弘
January 2020
Beginner to intermediate
728 pages
10h 26m
Japanese
O'Reilly Japan, Inc.
Content preview from データサイエンス設計マニュアル
262 9 線形回帰とロジスティック回帰
できるようになるが、推定された方向が正しいかどうかは疑わしくなる。凸関数では、勾配降下法の学習率
とブロックサイズを最適化すると処理が非常に高速化され、詳細はライブラリ関数呼び出しによってうまく
隠すことができる。
探索
のすべてのステップでランダムに標本を選んでいたのではコストがかかる可能性がある。それより
も、訓練データをランダムに並べ替えて表示順で変なことが起こらないようにした上で、単純にリストから
をたどってブロックを組み立てていった方がよい。こうすれば、n 個のすべての訓練データを最終的に探
索に使うことができる。最適化の過程ですべてのインスタンスを何度か回して導関数を推定すればさらに
よい。
9.5 正則化によるモデルの単純化
線形回帰は、m 1 個の独立変数とターゲット値によって定義された n 個の点の集合に対して考えられ
る最適な回帰式を判定してくれる。しかし、我々が求めているものは、この「最適な」回帰式ではない場合
がある。
問題は、m 1 個の特徴の大半がターゲットとは無関係で、そのため本物の予測力がない場合があるとい
うことだ。一般に、特徴は小さな係数を伴う変数として示される。しかし、回帰アルゴリズムは、これらの
値を使って直線を細かく修正し、与えられた訓練標本の平方誤差を最小限まで減らす。ノイズ(無関係な変
数)を使ってノイズ(純粋に相関している変数による単純なモデルからの残差)にフィットさせると、間違
いなく問題が起こる。
このような問題の ...
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

Python機械学習クックブック

Python機械学習クックブック

Chris Albon, 中田 秀基
Rではじめるデータサイエンス

Rではじめるデータサイエンス

Hadley Wickham, Garrett Grolemund, 黒川 利明, 大橋 真也
プログラミングC# 第8版

プログラミングC# 第8版

Ian Griffiths, 木下 哲也, 鈴木 幸敏

Publisher Resources

ISBN: 9784873118918Other