Apache Mahout Essentials
eBook - ePub

Apache Mahout Essentials

Jayani Withanawasam

Buch teilen
  1. 164 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

Apache Mahout Essentials

Jayani Withanawasam

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist Apache Mahout Essentials als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu Apache Mahout Essentials von Jayani Withanawasam im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Ciencia de la computación & Programación en Java. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Apache Mahout Essentials


Table of Contents

Apache Mahout Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Introducing Apache Mahout
Machine learning in a nutshell
Features
Supervised learning versus unsupervised learning
Machine learning applications
Information retrieval
Business
Market segmentation (clustering)
Stock market predictions (regression)
Health care
Using a mammogram for cancer tissue detection
Machine learning libraries
Open source or commercial
Scalability
Languages used
Algorithm support
Batch processing versus stream processing
The story so far
Apache Mahout
Setting up Apache Mahout
How Apache Mahout works?
The high-level design
The distribution
From Hadoop MapReduce to Spark
Problems with Hadoop MapReduce
In-memory data processing with Spark and H2O
Why is Mahout shifting from Hadoop MapReduce to Spark?
When is it appropriate to use Apache Mahout?
Summary
2. Clustering
Unsupervised learning and clustering
Applications of clustering
Computer vision and image processing
Types of clustering
Hard clustering versus soft clustering
Flat clustering versus hierarchical clustering
Model-based clustering
K-Means clustering
Getting your hands dirty!
Running K-Means using Java programming
Data preparation
Understanding important parameters
Cluster visualization
Distance measure
Writing a custom distance measure
K-Means clustering with MapReduce
MapReduce in Apache Mahout
The map function
The reduce function
Additional clustering algorithms
Canopy clustering
Fuzzy K-Means
Streaming K-Means
The streaming step
The ball K-Means step
Spectral clustering
Dirichlet clustering
Text clustering
The vector space model and TF-IDF
N-grams and collocations
Preprocessing text with Lucene
Text clustering with the K-Means algorithm
Topic modeling
Optimizing clustering performance
Selecting the right features
Selecting the right algorithms
Selecting the right distance measure
Evaluating clusters
The initialization of centroids and the number of clusters
Tuning up parameters
The decision on infrastructure
Summary
3. Regression and Classification
Supervised learning
Target variables and predictor variables
Predictive analytics' techniques
Regression-based prediction
Model-based prediction
Tree-based prediction
Classification versus regression
Linear regression with Apache Spark
How does linear regression work?
A real-world example
The impact of smoking on mortality and different diseases
Linear regression with one variable and multiple variables
The integration of Apache Spark
Setting up Apache Spark with Apache Mahout
An example script
Distributed row matrix
An explanation of the code
Mahout references
The bias-variance trade-off
How to avoid over-fitting and under-fitting
Logistic regression with SGD
Logistic functions
Minimizing the cost function
Multinomial logistic regression versus binary logistic regression
A real-world example
An example script
Testing and evaluation
The confusion matrix
The area under the curve
The Naïve Bayes algorithm
The Bayes theorem
Text classification
Naïve assumption and its pros and cons in text classification
Improvements that Apache Mahout has made to the Naïve Bayes classification
A text classification coding example using the 20 newsgroups' example
Understand the 20 newsgroups' dataset
Text classification using Naïve Bayes – a MapReduce implementation with Hadoop
Text classification using Naïve Bayes – the Spark implementation
The Markov chain
Hidden Markov Model
A real-world example – developing a POS tagger using HMM supervised learning
POS tagging
HMM for POS tagging
HMM implementation in Apache Mahout
HMM supervised learning
The important parameters
Returns
The Baum Welch algorithm
A code example
The important parameters
The Viterbi evaluator
The Apache Mahout references
Summary
4. Recommen...

Inhaltsverzeichnis