Reader small image

You're reading from  Getting Started with Haskell Data Analysis

Product typeBook
Published inOct 2018
Reading LevelBeginner
PublisherPackt
ISBN-139781789802863
Edition1st Edition
Languages
Right arrow
Author (1)
James Church
James Church
author image
James Church

James Church lives in Clarksville, Tennessee, United States, where he enjoys teaching, programming, and playing board games with his wife, Michelle. He is an assistant professor of computer science at Austin Peay State University. He has consulted for various companies and a chemical laboratory for the purpose of performing data analysis work. James is the author of Learning Haskell Data Analysis.
Read more about James Church

Right arrow

Summary

We began the section with installing the gnuplot and the EasyPlot Haskell library. We discussed the moving average using the 200-day and the 50-day moving average, which is frequently used by analysts in market analysis. But beware, these are not substitutions for good, solid research. We discussed how to make our plots publication-ready by adding a legend and saving our images to files, and we discussed how to feature scale our plot so that it's on the range of -1 to 1. Feature scaling always retains the shape of the data.

Finally, we demonstrated the utility of taking the log of data. It allowed us to compress higher values, while retaining the general shape of lower values. This changes the overall shape of a plot. In our next chapter, we will discuss the normal distribution.

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Getting Started with Haskell Data Analysis
Published in: Oct 2018Publisher: PacktISBN-13: 9781789802863

Author (1)

author image
James Church

James Church lives in Clarksville, Tennessee, United States, where he enjoys teaching, programming, and playing board games with his wife, Michelle. He is an assistant professor of computer science at Austin Peay State University. He has consulted for various companies and a chemical laboratory for the purpose of performing data analysis work. James is the author of Learning Haskell Data Analysis.
Read more about James Church