Book Image

Data Science Algorithms in a Week - Second Edition

By : David Natingga
Book Image

Data Science Algorithms in a Week - Second Edition

By: David Natingga

Overview of this book

Machine learning applications are highly automated and self-modifying, and continue to improve over time with minimal human intervention, as they learn from the trained data. To address the complex nature of various real-world data problems, specialized machine learning algorithms have been developed. Through algorithmic and statistical analysis, these models can be leveraged to gain new knowledge from existing data as well. Data Science Algorithms in a Week addresses all problems related to accurate and efficient data classification and prediction. Over the course of seven days, you will be introduced to seven algorithms, along with exercises that will help you understand different aspects of machine learning. You will see how to pre-cluster your data to optimize and classify it for large datasets. This book also guides you in predicting data based on existing trends in your dataset. This book covers algorithms such as k-nearest neighbors, Naive Bayes, decision trees, random forest, k-means, regression, and time-series analysis. By the end of this book, you will understand how to choose machine learning algorithms for clustering, classification, and regression and know which is best suited for your problem
Table of Contents (16 chapters)
Title Page
Packt Upsell
Contributors
Preface
Glossary of Algorithms and Methods in Data Science
Index

Document clustering – understanding the number of k clusters in a semantic context


We are given the following information about the frequency counts for the words money and god(s) in the following 17books from the Project Gutenberg library:

Book number

Book name

Money as a %

God(s) as a %

1

The Vedanta-Sutras, with the commentary by

Ramanuja, by Trans. George Thibaut

0

0.07

2

 

The Mahabharata of Krishna-Dwaipayana Vyasa

-Adi Parva, by Kisari Mohan Ganguli

 

0

0.17

3

The Mahabharata of Krishna-Dwaipayana

Vyasa, Pt. 2, by Krishna-Dwaipayana Vyasa

0.01

0.10

4

The Mahabharata of Krishna-Dwaipayana Vyasa Bk.

3 Pt. 1, by Krishna-Dwaipayana Vyasa

0

0.32

5

The Mahabharata of Krishna-Dwaipayana Vyasa

Bk. 4, by Kisari Mohan Ganguli

0

0.06

6

The Mahabharata of Krishna-Dwaipayana Vyasa

Bk. 3 Pt. 2, translated by Kisari Mohan Ganguli

0

0.27

7

The Vedanta-Sutras, with commentary by

Sankaracarya

0

0.06

8

The King James Bible

0.02

0.59

9

Paradise Regained, by John Milton

0.02

0.45

10

Imitation of Christ, by Thomas A Kempis

0.01

0.69

11

The Koran, as translated...