Haskell Data Analysis Cookbook
eBook - ePub

Haskell Data Analysis Cookbook

  1. 334 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Haskell Data Analysis Cookbook

Book details
Book preview
Table of contents
Citations

About This Book

In Detail

This book will take you on a voyage through all the steps involved in data analysis. It provides synergy between Haskell and data modeling, consisting of carefully chosen examples featuring some of the most popular machine learning techniques.

You will begin with how to obtain and clean data from various sources. You will then learn how to use various data structures such as trees and graphs. The meat of data analysis occurs in the topics involving statistical techniques, parallelism, concurrency, and machine learning algorithms, along with various examples of visualizing and exporting results. By the end of the book, you will be empowered with techniques to maximize your potential when using Haskell for data analysis.

Approach

Step-by-step recipes filled with practical code samples and engaging examples demonstrate Haskell in practice, and then the concepts behind the code.

Who this book is for

This book shows functional developers and analysts how to leverage their existing knowledge of Haskell specifically for high-quality data analysis. A good understanding of data sets and functional programming is assumed.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Haskell Data Analysis Cookbook by Nishant Shukla in PDF and/or ePUB format, as well as other popular books in Informatik & Datenverarbeitung. We have over one million books available in our catalogue for you to explore.

Information

Year
2014
ISBN
9781783286331
Edition
1

Haskell Data Analysis Cookbook


Table of Contents

Haskell Data Analysis Cookbook
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
Errata
Piracy
Questions
1. The Hunt for Data
Introduction
Harnessing data from various sources
How to do it...
News
Private
Academic
Nonprofits
The United States government
Accumulating text data from a file path
Getting ready
How to do it...
How it works...
See also
Catching I/O code faults
How to do it…
How it works…
There's more…
Keeping and representing data from a CSV file
Getting ready
How to do it...
How it works...
Examining a JSON file with the aeson package
Getting ready
How to do it...
How it works...
There's more…
Reading an XML file using the HXT package
Getting ready
How to do it...
How it works...
Capturing table rows from an HTML page
Getting ready
How to do it...
How it works...
Understanding how to perform HTTP GET requests
Getting ready
How to do it...
How it works…
See also…
Learning how to perform HTTP POST requests
Getting ready
How to do it...
How it works...
See also
Traversing online directories for data
Getting ready
How to do it...
How it works...
Using MongoDB queries in Haskell
Getting ready
How to do it...
How it works...
See also
Reading from a remote MongoDB server
Getting ready
How to do it...
See also
Exploring data from a SQLite database
Getting ready
How to do it…
2. Integrity and Inspection
Introduction
Trimming excess whitespace
How to do it...
How it works...
There's more…
Ignoring punctuation and specific characters
How to do it...
There's more...
Coping with unexpected or missing input
Getting ready
How to do it...
How it works...
There's more...
See also
Validating records by matching regular expressions
Getting ready
How to do it...
How it works...
See also
Lexing and parsing an e-mail address
Getting ready
How to do it…
How it works…
Deduplication of nonconflicting data items
Getting ready
How to do it...
How it works...
There's more...
See also
Deduplication of conflicting data items
Getting ready
How to do it...
How it works...
There's more...
See also
Implementing a frequency table using Data.List
How to do it...
How it works...
See also
Implementing a frequency table using Data.MultiSet
Getting ready
How to do it...
How it works...
See also
Computing the Manhattan distance
Getting ready
How to do it...
See also
Computing the Euclidean distance
Getting ready
How to do it...
See also
Comparing scaled data using the Pearson correlation coefficient
How to do it...
How it works...
Comparing sparse data using cosine similarity
How to do it...
See also
3. The Science of Words
Introduction
Displaying a number in another base
How to do it...
How it works...
See also
Reading a number from another base
How to do it...
How it works...
See also
Searching for a substring using Data.ByteString
How to do it...
How it works...
There's more...
See also
Searching a string using the Boyer-Moore-Horspool algorithm
How to do it...
How it works...
There's more...
See also
Searching a string using the Rabin-Karp algorithm
Getting ready
How to do it...
How it works...
See also
Splitting a string on lines, words, or arbitrary tokens
Getting ready
How to do it...
Finding the longest common subsequence
Getting ready
How to do it...
How it works...
Computing a phonetic code
Getting ready
How to do it...
How it works...
There's more...
Computing the edit distance
Getting ready
How to do it...
How it works...
See also
Computing the Jaro-Winkler distance between two strings
Getting ready
How to do it...
See also
Finding strings within one-edit distance
Getting ready
How to do it...
There's more...
See also
Fixing spelling mistakes
Getting ready
How to do it...
How it works...
There's more...
See also
4. Data Hashing
Introduction
Hashin...

Table of contents

  1. Haskell Data Analysis Cookbook