Apache Mahout Cookbook
- Length: 250 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2013-12-26
- ISBN-10: 1849518025
- ISBN-13: 9781849518024
- Sales Rank: #4635092 (See Top 100 Books)
A fast, fresh, developer-oriented dive into the world of Mahout
Overview
- Learn how to set up a Mahout development environment
- Start testing Mahout in a standalone Hadoop cluster
- Learn to find stock market direction using logistic regression
- Over 35 recipes with real-world examples to help both skilled and the non-skilled developers get the hang of the different features of Mahout
In Detail
The rise of the Internet and social networks has created a new demand for software that can analyze large datasets that can scale up to 10 billion rows. Apache Hadoop has been created to handle such heavy computational tasks. Mahout gained recognition for providing data mining classification algorithms that can be used with such kind of datasets.
“Apache Mahout Cookbook” provides a fresh, scope-oriented approach to the Mahout world for both beginners as well as advanced users. The book gives an insight on how to write different data mining algorithms to be used in the Hadoop environment and choose the best one suiting the task in hand.
“Apache Mahout Cookbook” looks at the various Mahout algorithms available, and gives the reader a fresh solution-centered approach on how to solve different data mining tasks. The recipes start easy but get progressively complicated. A step-by-step approach will guide the developer in the different tasks involved in mining a huge dataset. You will also learn how to code your Mahout’s data mining algorithm to determine the best one for a particular task. Coupled with this, a whole chapter is dedicated to loading data into Mahout from an external RDMS system. A lot of attention has also been put on using your data mining algorithm inside your code so as to be able to use it in an Hadoop environment. Theoretical aspects of the algorithms are covered for information purposes, but every chapter is written to allow the developer to get into the code as quickly and smoothly as possible. This means that with every recipe, the book provides the code for reusing it using Maven as well as the Maven Mahout source code.
By the end of this book you will be able to code your procedure to do various data mining tasks with different algorithms and to evaluate and choose the best ones for your tasks.
What you will learn from this book
- Configure from scratch a full development environment for Mahout with NetBeans and Maven
- Handle sequencefiles for better performance
- Query and store results into an RDBMS system with SQOOP
- Use logistic regression to predict the next step
- Understand text mining of raw data with Naïve Bayes
- Create and understand clusters
- Customize Mahout to evaluate different cluster algorithms
- Use the mapreduce approach to solve real world data mining problems
Approach
“Apache Mahout Cookbook” uses over 35 recipes packed with illustrations and real-world examples to help beginners as well as advanced programmers get acquainted with the features of Mahout.
Who this book is written for
“Apache Mahout Cookbook” is great for developers who want to have a fresh and fast introduction to Mahout coding. No previous knowledge of Mahout is required, and even skilled developers or system administrators will benefit from the various recipes presented.
Table of Contents
Chapter 1: Mahout is Not So Difficult!
Chapter 2: Using Sequence Files – When and Why?
Chapter 3: Integrating Mahout with an External Datasource
Chapter 4: Implementing the Naïve Bayes classifier in Mahout
Chapter 5: Stock Market Forecasting with Mahout
Chapter 6: Canopy Clustering in Mahout
Chapter 7: Spectral Clustering in Mahout
Chapter 8: K-means Clustering
Chapter 9: Soft Computing with Mahout
Chapter 10: Implementing the Genetic Algorithm in Mahout