Free Sample
+ Collection

Practical Data Analysis

Hector Cuesta

For small businesses, analyzing the information contained in their data using open source technology could be game-changing. All you need is some basic programming and mathematical skills to do just that.
RRP $29.99
RRP $49.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783280995
Paperback360 pages

About This Book

  • Explore how to analyze your data in various innovative ways and turn them into insight
  • Learn to use the D3.js visualization tool for exploratory data analysis
  • Understand how to work with graphs and social data analysis
  • Discover how to perform advanced query techniques and run MapReduce on MongoDB

Who This Book Is For

This book is for developers, small business users, and analysts who want to implement data analysis and visualization for their company in a practical way. You need no prior experience with data analysis or data processing; however, basic knowledge of programming, statistics, and linear algebra is assumed.

Table of Contents

Chapter 1: Getting Started
Computer science
Artificial intelligence (AI)
Machine Learning (ML)
Knowledge domain
Data, information, and knowledge
The nature of data
The data analysis process
Quantitative versus qualitative data analysis
Importance of data visualization
What about big data?
Chapter 2: Working with Data
Data scrubbing
Data formats
Getting started with OpenRefine
Chapter 3: Data Visualization
Data-Driven Documents (D3)
Getting started with D3.js
Interaction and animation
Chapter 4: Text Classification
Learning and classification
Bayesian classification
E-mail subject line tester
The algorithm
Classifier accuracy
Chapter 5: Similarity-based Image Retrieval
Image similarity search
Dynamic time warping (DTW)
Processing the image dataset
Implementing DTW
Analyzing the results
Chapter 6: Simulation of Stock Prices
Financial time series
Random walk simulation
Monte Carlo methods
Generating random numbers
Implementation in D3.js
Chapter 7: Predicting Gold Prices
Working with the time series data
Smoothing the time series
The data – historical gold prices
Nonlinear regression
Chapter 8: Working with Support Vector Machines
Understanding the multivariate dataset
Dimensionality reduction
Getting started with support vector machine
Chapter 9: Modeling Infectious Disease with Cellular Automata
Introduction to epidemiology
The epidemic models
Modeling with cellular automata
Simulation of the SIRS model in CA with D3.js
Chapter 10: Working with Social Graphs
Structure of a graph
Social Networks Analysis
Acquiring my Facebook graph
Representing graphs with Gephi
Statistical analysis
Degree distribution
Transforming GDF to JSON
Graph visualization with D3.js
Chapter 11: Sentiment Analysis of Twitter Data
The anatomy of Twitter data
Using OAuth to access Twitter API
Getting started with Twython
Sentiment classification
Getting started with Natural Language Toolkit (NLTK)
Chapter 12: Data Processing and Aggregation with MongoDB
Getting started with MongoDB
Data preparation
The aggregation framework
Chapter 13: Working with MapReduce
MapReduce overview
Programming model
Using MapReduce with MongoDB
Filtering the input collection
Grouping and aggregation
Word cloud visualization of the most common positive words in tweets
Chapter 14: Online Data Analysis with IPython and Wakari
Getting started with Wakari
Getting started with IPython Notebook
Introduction to image processing with PIL
Getting started with Pandas
Multiprocessing with IPython
Sharing your Notebook

What You Will Learn

Work with data to get meaningful results from your data analysis projects
Visualize your data to find trends and correlations
Build your own image similarity search engine
Learn how to forecast numerical values from time series data
Create an interactive visualization for your social media graph
Explore the MapReduce framework in MongoDB
Create interactive simulations with D3js

In Detail

Plenty of small businesses face big amounts of data but lack the internal skills to support quantitative analysis. Understanding how to harness the power of data analysis using the latest open source technology can lead them to providing better customer service, the visualization of customer needs, or even the ability to obtain fresh insights about the performance of previous products. Practical Data Analysis is a book ideal for home and small business users who want to slice and dice the data they have on hand with minimum hassle.

Practical Data Analysis is a hands-on guide to understanding the nature of your data and turn it into insight. It will introduce you to the use of machine learning techniques, social networks analytics, and econometrics to help your clients get insights about the pool of data they have at hand. Performing data preparation and processing over several kinds of data such as text, images, graphs, documents, and time series will also be covered.

Practical Data Analysis presents a detailed exploration of the current work in data analysis through self-contained projects. First you will explore the basics of data preparation and transformation through OpenRefine. Then you will get started with exploratory data analysis using the D3js visualization framework. You will also be introduced to some of the machine learning techniques such as, classification, regression, and clusterization through practical projects such as spam classification, predicting gold prices, and finding clusters in your Facebook friends’ network. You will learn how to solve problems in text classification, simulation, time series forecast, social media, and MapReduce through detailed projects. Finally you will work with large amounts of Twitter data using MapReduce to perform a sentiment analysis implemented in Python and MongoDB.

Practical Data Analysis contains a combination of carefully selected algorithms and data scrubbing that enables you to turn your data into insight.


Read More