Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Apache Mahout
  • Table Of Contents Toc
Learning Apache Mahout

Learning Apache Mahout

By : Chandramani Tiwary
3 (1)
close
close
Learning Apache Mahout

Learning Apache Mahout

3 (1)
By: Chandramani Tiwary

Overview of this book

If you are a Java developer and want to use Mahout and machine learning to solve Big Data Analytics use cases then this book is for you. Familiarity with shell scripts is assumed but no prior experience is required.
Table of Contents (12 chapters)
close
close
Lock Free Chapter
1
1. Introduction to Mahout
9
9. Case Study – Churn Analytics and Customer Segmentation
11
Index

A Mahout command-line example


Now, we will discuss how to cluster objects using the Mahout command line. We start with getting the data first.

Getting the data

We will use the seed dataset from our favorite UCI repository for clustering examples. The dataset is available at https://archive.ics.uci.edu/ml/datasets/seeds.

To download the data, we can execute the following command:

wget https://archive.ics.uci.edu/ml/machine-learning-databases/00236/seeds_dataset.txt

We also have the data downloaded in data/chapter7 in our code base.

Data description

The seed dataset consists of 8 attributes as follows:

Column

Data type

Area (A)

Continuous

Perimeter (P)

Continuous

Compactness (C = 4*pi*A/P^2)

Continuous

Length of kernel

Continuous

Width of kernel

Continuous

Asymmetry coefficient

Continuous

Length of kernel groove

Continuous

Type of seed

Categorical

We can use all the columns for our clustering example or keep Type of seed as an external evaluation metric.

Sample data

15.26 14...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Apache Mahout
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon