Complex statistics in Machine Learning worry a lot of developers. Knowing statistics helps you build strong Machine Learning models that are optimized for a given problem statement. This book will teach you all it takes to perform complex statistical computations required for Machine Learning. You will gain information on statistics behind supervised learning, unsupervised learning, reinforcement learning, and more. You will see real-world examples that discuss the statistical side of Machine Learning and familiarize yourself with it. You will come across programs for performing tasks such as model, parameter fitting, regression, classification, density collection, working with vectors, matrices, and more. By the end of the book, you will have mastered the required statistics for Machine Learning and will be able to apply your new skills to any sort of industry problem.
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
The code will look like the following:
>>> import numpy as np >>> from scipy import stats >>> data = np.array([4,5,1,2,7,2,6,9,3]) # Calculate Mean >>> dt_mean = np.mean(data) ; print ("Mean :",round(dt_mean,2)) # Calculate Median >>> dt_median = np.median(data) ; print ("Median :",dt_median) # Calculate Mode >>> dt_mode = stats.mode(data); print ("Mode :",dt_mode)
This book assumes that you know the basics of Python and R and how to install the libraries. It does not assume that you are already equipped with the knowledge of advanced statistics and mathematics, like linear algebra and so on. The following versions of software are used throughout this book, but it should run fine with any more recent ones as well: