Skip to Content
初めてのSpark
book

初めてのSpark

by Holden Karau, Andy Konwinski, Patrick Wendell, Matei Zaharia, Sky株式会社 玉川竜司
August 2015
Intermediate to advanced
312 pages
7h 28m
Japanese
O'Reilly Japan, Inc.
Content preview from 初めてのSpark
221
11
MLlib

MLlib
は、機械学習のための
Spark
のライブラリです。
MLlib
はクラスタ上で並列に動作する
ように設計されており、多くの学習アルゴリズムを含むと共に、
Spark
のすべてのプログラミング
言語から利用できます。本章では、ユーザーのプログラムから
MLlib
を呼ぶ方法を紹介すると共
に、一般的な使用上のテクニックを示します。
機械学習は、それ自体が多くの書籍に匹敵するだけの大きなトピックです
†
。そのため残念なが
ら、本章では機械学習について詳細に解説するだけのスペースはありません。とはいえ、読者がす
でに機械学習になじみがあるなら、本章を読めば
Spark
で機械学習を使う方法を理解できます。
もし機械学習を試してみるのが初めてであっても、本章の題材を他の入門の題材と組み合わせてみ
てください。本章が最も関係してくるのは、機械学習の背景知識を持っており、
Spark
を使おうと
しているデータサイエンティストや、機械学習のエキスパートと共に働いているエンジニアの方々
です。
11.1

MLlib
の設計と考え方はシンプルです。
MLlib
を使えば、すべてのデータが
RDD
として表現さ
れた分散データセットに対して、さまざまなアルゴリズムを適用できます。
MLlib
はいくつかの
データ型を新たに導入しますが(例えばラベル付きデータ点やベクトル)、結局のところは、
RDD
に対して呼びだす関数の集合にすぎません。例えば、
MLlib
をテキストの分類のタスクのために利
用するには、次の手順を踏みます。 ...
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

オブザーバビリティ・エンジニアリング

オブザーバビリティ・エンジニアリング

Charity Majors, Liz Fong-Jones, George Miranda, 大谷 和紀, 山口 能迪

Publisher Resources

ISBN: 9784873117348Other