Book Image

Practical Data Analysis

By : Hector Cuesta
Book Image

Practical Data Analysis

By: Hector Cuesta

Overview of this book

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.
Table of Contents (24 chapters)
Practical Data Analysis
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Installing and running UMongo


According to the official website http://httpd.apache.org/, UMongo is a GUI app that can browse and administer a MongoDB cluster. It is available for Linux, Windows, and Mac OSX.

Features of UMongo include:

  • Connecting to a single server, a replica set, or a MongoS instance

  • DB ops: create, drop, and authenticate, command, eval

  • Collection ops: create, rename, drop, find, insert, save

  • Document ops: update, duplicate, remove

  • Index ops: create, drop

  • Shard ops: enable sharding, add shard, shard collection

  • GUI Document builder

  • Import/export data from the database to local files in JSON, BSON, CSV format

  • Support for query options and write concerns (getLastError)

  • Display of numerous stats (server status, db stats, replication info, and so on)

  • Mongo tree refreshes to have a real-time view of cluster (servers up/down, durability, and so on)

  • All operations are executed in background to keep UI responsive

  • Background threads can repeat commands automatically

  • GUI is identical on all OS

  • A login Screen

  • User control management

  • MySQL tables management (for categories, and combo-box values)

  • Content management control

  • Client e-mail module

Tip

In order to run UMongo on Windows or Linux, you need to have Java Standard Edition installed on the computer.

You can download the latest version of JSE from the official website, http://www.oracle.com/technetwork/java/javase/downloads/.

See Chapter 13, Working with MapReduce, and Chapter 14, Online Data Analysis with IPython and Wakari, for detailed examples of Umongo.

Installing and running Umongo on Ubuntu

First, download the latest version of Umongo from the official website, http://edgytech.com/wp-content/uploads/umongo-linux-all_1-2-1.zip.

Extract the files, open the extracted folder, and double-click on launch-umongo.sh.

To check whether everything is installed correctly, we need to connect Umongo (File/Connect) with our mongo service, as shown in the following screenshot:

We need to input the server, port and database name. In the following screenshot, in the left we can find our databases and collections. With left-click over any collection, we can use the find command and the result will be set in the right tab:

Installing and running Umongo on Windows

First, download the latest version of Umongo from the official website, http://edgytech.com/wp-content/uploads/umongo-windows-all_1-2-1.zip.

Extract the files, open the extracted folder, and double-click on umongo.exe.

To check that everything is installed correctly, we need to connect Umongo (File/Connect) with our mongo service, as shown in the following screenshot:

We need to provide with the server, port, and database name. In the following screenshot, in the left we can find our databases and collections. With left-click over any collection we can use the find command and the result will be set in the right tab: