Skip to Content
実践 機械学習システム
book

実践 機械学習システム

by Willi Richert, Luis Pedro Coelho, 斎藤 康毅
October 2014
Intermediate to advanced
288 pages
6h 27m
Japanese
O'Reilly Japan, Inc.
Content preview from 実践 機械学習システム
42
2
章 実例を対象とした分類法入門
ます。一般的に、kの値は5など、小さな値を用います。しかし、特にデータセットが大きい場合など
は、kを大きな値に設定することもできます。
2.4
 二項分類と多項分類
本章で初めに紹介した分類器は、閾値によって分類を行う単純な分類器でした。それは、データの
値が閾値より大きいかどうかによって、あるクラスかそれ以外かに分類しました。そのため、これは
項分類binary classification)と呼ばれます。また、二つ目の分類器は最近傍法という手法を用いま
した。この手法は複数あるクラスの中からどれか一つを結果として出力します。そのため、これは多項
分類multiclass classification)と呼ばれます。
一般的に、二項分類を行う手法を設計するほうが、多項分類を行う手法を設計するよりも単純で
す。しかし、多項分類を行う場合でも、その問題を二項分類からなる問題に分解することができま
す。前の節では、
アイリスデータセットで分類を行うときに、この考え方を採用しました。アイリス
データセットを可視化してわかったことは、Setosaアイリスとそれ以外のアイリスは簡単に分類できそ
うである、ということでした。そのため、まずはじめにSetosaかどうか判定し、そうでない場合、残
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

実践 時系列解析 ―統計と機械学習による予測

実践 時系列解析 ―統計と機械学習による予測

Aileen Nielsen, 山崎 邦子, 山崎 康宏

Publisher Resources

ISBN: 9784873116983Other