Skip to Content
データサイエンス講義
book

データサイエンス講義

by Rachel Schutt, Cathy O'Neil, 瀬戸山 雅人, 石井 弓美子, 河内 崇, 河内 真理子, 古畠 敦, 木下 哲也, 竹田 正和, 佐藤 正士, 望月 啓充
October 2014
Beginner to intermediate
452 pages
5h 43m
Japanese
O'Reilly Japan, Inc.
Content preview from データサイエンス講義

11章因果関係

この本で取り上げた多くのモデルや例では、予測の基本的な問題を扱ってきました。8章の例で議論したように、レコメンデーションエンジンを構築する目的は、ある人が映画や本などある商品を好むかどうかを予測することです。モデルに入れる「特徴」は多量にあり、特徴選択を行って特徴を減らしていきますが、最終的にモデルは予測の正確性が最大になるように最適化されます。正確度を最大化しようとするとき、人は必ずしも特徴の意味解釈について深く考えることはありません。特に、数千もの特徴があれば、それを解釈するのはほとんど無理であると言えます。

さらに、レコメンデーションエンジンに使った特定の特徴が、あるアイテムを購入する原因であると主張するのは難しいでしょう。例えば、Amazonで本の購入予測やレコメンデーションをするモデルを構築し、その特徴として「Wes McKinney著のO'Reillyの本『Pythonによるデータ分析入門』(『Python for Data Analysis』)を買ったかどうか」が選択されたとします。しかし、その本を読んだことが、この本を読む原因となったとは言えないでしょう。その特徴は、正確度の最大化のプロセスで発見され明らかになった、単によい予測因子であるというだけです。相関関係から単純に因果関係を想定してしまうことは、既に頭に刷り込まれているかもしれません。しかし、ここで強調しておきたいのは、このようなモデルやシステムを構築する意図は、その因果関係を理解することではなく、予測することです。そして、もしあなたが因果関係を理解するためのモデルを構築したいのであれば、違った方法で取り組まなければなりません。

因果関係を理解したい場合、つまりある事柄がある結果を引き起こしたと言いたいときには、実際にはこれまで使ってきた同じ統計手法(ロジスティック回帰や線形回帰など)を問題解決の一部として使いますが、解決しようとする問題はこれまでと全く違ったものです。こうした問題に取り組む場合の考え方、あるいはゴールは、予測の正確性を最大化することではなく、原因を特定することです。 ...

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

初めてのGo言語 ―他言語プログラマーのためのイディオマティックGo実践ガイド

初めてのGo言語 ―他言語プログラマーのためのイディオマティックGo実践ガイド

Jon Bodner, 武舎 広幸
プログラミングRust

プログラミングRust

Jim Blandy, Jason Orendorff, 中田 秀基
スクラム実践者が知るべき97のこと

スクラム実践者が知るべき97のこと

Gunther Verheyen, 吉羽 龍太郎, 原田 騎郎, 永瀬 美穂

Publisher Resources

ISBN: 9784873117010Other