Book Image

Data Science Algorithms in a Week

By : Dávid Natingga
Book Image

Data Science Algorithms in a Week

By: Dávid Natingga

Overview of this book

<p>Machine learning applications are highly automated and self-modifying, and they continue to improve over time with minimal human intervention as they learn with more data. To address the complex nature of various real-world data problems, specialized machine learning algorithms have been developed that solve these problems perfectly. Data science helps you gain new knowledge from existing data through algorithmic and statistical analysis.</p> <p>This book will address the problems related to accurate and efficient data classification and prediction. Over the course of 7 days, you will be introduced to seven algorithms, along with exercises that will help you learn different aspects of machine learning. You will see how to pre-cluster your data to optimize and classify it for large datasets. You will then find out how to predict data based on the existing trends in your datasets.</p> <p>This book covers algorithms such as: k-Nearest Neighbors, Naive Bayes, Decision Trees, Random Forest, k-Means, Regression, and Time-series. On completion of the book, you will understand which machine learning algorithm to pick for clustering, classification, or regression and which is best suited for your problem.</p>
Table of Contents (12 chapters)
11
Glossary of Algorithms and Methods in Data Science

Problems

  1. Determining the trend for Bitcoin prices.

a) We are given the table for the Bitcoin prices for the years 2010 - 2017 in terms of USD. Determine a linear trend line for these prices. The monthly price is for the first day in the month:

Date year-month-day Bitcoin price in USD
2010-12-01 0.23
2011-06-01 9.57
2011-12-01 3.06
2012-06-01 5.27
2012-12-01 12.56
2013-06-01 129.3
2013-12-01 946.92
2014-06-01 629.02
2014-12-01 378.64
2015-06-01 223.31
2015-12-01 362.73
2016-06-01 536.42
2016-12-01 753.25
2017-06-01 2452.18

Data taken from CoinDesk price page.

b) As per the linear trend line from part a), what is the expected price of Bitcoin in 2020?

c) Discuss whether a linear line is a good indicator for the future price of Bitcoin.

  1. Electronics shop's sales. Using the data in the electronics shop's sales example, predict the sales...