Book Image

Getting Started with Haskell Data Analysis

By : James Church
Book Image

Getting Started with Haskell Data Analysis

By: James Church

Overview of this book

Every business and organization that collects data is capable of tapping into its own data to gain insights how to improve. Haskell is a purely functional and lazy programming language, well-suited to handling large data analysis problems. This book will take you through the more difficult problems of data analysis in a hands-on manner. This book will help you get up-to-speed with the basics of data analysis and approaches in the Haskell language. You'll learn about statistical computing, file formats (CSV and SQLite3), descriptive statistics, charts, and progress to more advanced concepts such as understanding the importance of normal distribution. While mathematics is a big part of data analysis, we've tried to keep this course simple and approachable so that you can apply what you learn to the real world. By the end of this book, you will have a thorough understanding of data analysis, and the different ways of analyzing data. You will have a mastery of all the tools and techniques in Haskell for effective data analysis.
Table of Contents (8 chapters)

Creating compelling visualizations using EasyPlot

For this section, I would like to propose a question. As we get older, do our perceptions of movies increase with approval, decrease with approval, or stay about the same? In other words, what we are trying to figure out is: as we get older, do we appreciate movies more and rate them higher, do we appreciate movies less and rate them lower, or do they stay about the same? What we would like to do is pull together the data in this section, plot it, and see if we can answer that question. So, in this section, we're going to perform a table join to study age and the average movie rating. We're going to be parsing that information into a useable type for plotting, and then we're going to plot. Let's go back to our MovieLens IHaskell notebook and import Graphics.EasyPlot, it's a plotting library. This is shown...