Book Image

Statistics for Data Science

Book Image

Statistics for Data Science

Overview of this book

Data science is an ever-evolving field, which is growing in popularity at an exponential rate. Data science includes techniques and theories extracted from the fields of statistics; computer science, and, most importantly, machine learning, databases, data visualization, and so on. This book takes you through an entire journey of statistics, from knowing very little to becoming comfortable in using various statistical methods for data science tasks. It starts off with simple statistics and then move on to statistical methods that are used in data science algorithms. The R programs for statistical computation are clearly explained along with logic. You will come across various mathematical concepts, such as variance, standard deviation, probability, matrix calculations, and more. You will learn only what is required to implement statistics in data science tasks such as data cleaning, mining, and analysis. You will learn the statistical techniques required to perform tasks such as linear regression, regularization, model assessment, boosting, SVMs, and working with neural networks. By the end of the book, you will be comfortable with performing various statistical computations for data science programmatically.
Table of Contents (19 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Sequence mining


Sequence mining evolves the preceding concepts even further. This is a process that the data scientist uses to discover a set of patterns that are shared among objects but which also have between them a specific order.

With sequence mining, we acknowledge that there are sequence rules associated with identified sequences. These rules define the pattern's objects and order. A sequence can have multiple rules. The support of a sequence rule can be calculated or determined by the data scientist by the number of sequences containing the rule divided by the total number of sequences. The confidence of a sequence rule will be the number of sequences containing the rule divided by the number of sequences containing its antecedent.

Overall, the objective of sequential rule mining is to discover all sequential rules having a support and confidence no less than two thresholds, given by the user named minsup and minconf.