Menu

Selva Prabhakaran

Selva is an experienced Data Scientist and leader, specializing in executing AI projects for large companies. Selva started machinelearningplus to make Data Science / ML / AI accessible to everyone. The website enjoys 4 Million+ readership. His courses, lessons, and videos are loved by hundreds of thousands of students and practitioners.

p-value Intuition

What is P-Value? – Understanding the meaning, math and methods

P Value is a probability score that is used in statistical tests to establish the statistical significance of an observed effect. Though p-values are commonly used, the definition and meaning is often not very clear even to experienced Statisticians and Data Scientists. In this post I will attempt to explain the intuition behind p-value as …

What is P-Value? – Understanding the meaning, math and methods Read More »

vector autoregression model feature image

Vector Autoregression (VAR) – Comprehensive Guide with Examples in Python

Vector Autoregression (VAR) is a forecasting algorithm that can be used when two or more time series influence each other. That is, the relationship between the time series involved is bi-directional. In this post, we will see the concepts, intuition behind VAR models and see a comprehensive and correct method to train and forecast VAR …

Vector Autoregression (VAR) – Comprehensive Guide with Examples in Python Read More »

Mahalanobis Distance Feature

Mahalanobis Distance – Understanding the math with examples (python)

Mahalanobis distance is an effective multivariate distance metric that measures the distance between a point and a distribution. It is an extremely useful metric having, excellent applications in multivariate anomaly detection, classification on highly imbalanced datasets and one-class classification. This post explains the intuition and the math with practical examples on three machine learning use …

Mahalanobis Distance – Understanding the math with examples (python) Read More »

datetime in Python

datetime in Python – Simplified Guide with Clear Examples

datetime is the standard module for working with dates in python. It provides 4 main objects for date and time operations: datetime, date, time and timedelta. In this post you will learn how to do all sorts of operations with these objects and solve date-time related practice problems (easy to hard) in Python. datetime in …

datetime in Python – Simplified Guide with Clear Examples Read More »

Principal Component Analysis – How PCA algorithms works, the concept, math and implementation

Principal Components Analysis (PCA) is an algorithm to transform the columns of a dataset into a new set of features called Principal Components. By doing this, a large chunk of the information across the full dataset is effectively compressed in fewer feature columns. This enables dimensionality reduction and ability to visualize the separation of classes …

Principal Component Analysis – How PCA algorithms works, the concept, math and implementation Read More »

Logging in Python

Python Logging – Simplest Guide with Full Code and Examples

The logging module lets you track events when your code runs so that when the code crashes you can check the logs and identify what caused it. Log messages have a built-in hierarchy – starting from debugging, informational, warnings, error and critical messages. You can include traceback information as well. It is designed for small …

Python Logging – Simplest Guide with Full Code and Examples Read More »

Matplotlib histogram feature

Matplotlib Histogram – How to Visualize Distributions in Python

Matplotlib histogram is used to visualize the frequency distribution of numeric array by splitting it to small equal-sized bins. In this article, we explore practical techniques that are extremely useful in your initial data analysis and plotting. Content What is a histogram? How to plot a basic histogram in python? Histogram grouped by categories in …

Matplotlib Histogram – How to Visualize Distributions in Python Read More »

Time Series Analysis

Time Series Analysis in Python – A Comprehensive Guide with Examples

Time series is a sequence of observations recorded at regular time intervals. This guide walks you through the process of analyzing the characteristics of a given time series in python. Time Series Analysis in Python – A Comprehensive Guide. Photo by Daniel Ferrandiz. Contents What is a Time Series? How to import Time Series in …

Time Series Analysis in Python – A Comprehensive Guide with Examples Read More »

Matplotlib Tutorial

Matplotlib Tutorial – A Complete Guide to Python Plot with Examples

Until next time This tutorial explains matplotlib’s way of making plots in simplified parts so you gain the knowledge and a clear understanding of how to build and modify full featured matplotlib plots. 1. Introduction Matplotlib is the most popular plotting library in python. Using matplotlib, you can create pretty much any type of plot. …

Matplotlib Tutorial – A Complete Guide to Python Plot with Examples Read More »

Topic modeling visualization – How to present the results of LDA models?

In this post, we discuss techniques to visualize the output and results from topic model (LDA) based on the gensim package. Topic modeling visualization – How to present the results of LDA models? Contents Introduction Import NewsGroups Dataset Tokenize Sentences and Clean Build the Bigram, Trigram Models and Lemmatize Build the Topic Model Presenting the …

Topic modeling visualization – How to present the results of LDA models? Read More »

Top 50 matplotlib Visualizations – The Master Plots (with full python code)

A compilation of the Top 50 matplotlib plots most useful in data analysis and visualization. This list lets you choose what visualization to show for what situation using python’s matplotlib and seaborn library. Introduction The charts are grouped based on the 7 different purposes of your visualization objective. For example, if you want to picturize …

Top 50 matplotlib Visualizations – The Master Plots (with full python code) Read More »

Python @Property Explained – How to Use and When? (Full Examples)

A python @property decorator lets a method to be accessed as an attribute instead of as a method with a ‘()’. Today, you will gain an understanding of when it is really needed, in what situations you can use it and how to actually use it. Contents 1. Introduction2. What does @property do?3. When to …

Python @Property Explained – How to Use and When? (Full Examples) Read More »

Naive Bayes Feature

How Naive Bayes Algorithm Works? (with example and full code)

Naive Bayes is a probabilistic machine learning algorithm based on the Bayes Theorem, used in a wide variety of classification tasks. In this post, you will gain a clear and complete understanding of the Naive Bayes algorithm and all necessary concepts so that there is no room for doubts or gap in understanding. Contents 1. …

How Naive Bayes Algorithm Works? (with example and full code) Read More »

parallel processing python

Parallel Processing in Python – A Practical Guide with Examples

Parallel processing is a mode of operation where the task is executed simultaneously in multiple processors in the same computer. It is meant to reduce the overall processing time. In this tutorial, you’ll understand the procedure to parallelize any typical logic using python’s multiprocessing module. 1. Introduction Parallel processing is a mode of operation where …

Parallel Processing in Python – A Practical Guide with Examples Read More »

Cosine Similarity – Understanding the math and how it works (with python codes)

Cosine similarity is a metric used to measure how similar the documents are irrespective of their size. Mathematically, it measures the cosine of the angle between two vectors projected in a multi-dimensional space. The cosine similarity is advantageous because even if the two similar documents are far apart by the Euclidean distance (due to the …

Cosine Similarity – Understanding the math and how it works (with python codes) Read More »

Course Preview

Machine Learning A-Z™: Hands-On Python & R In Data Science

Free Sample Videos:

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science