In this chapter, we will introduce the case study of the book, which analyzes voters’ data in the state of Maine. It is based on a project I did at Harvard University in 2016 during my master’s degree. In fall 2016, the project for my “A Practical Approach to Data Science” course was to predict the presidential election results in every state. The project was under the guidance and supervision of Professor Larry Adams, who set the project milestones and requirements. I was responsible for forecasting Maine’s outcome for the 2016 and 2020 elections.
The project was done in two ...