Pandas Series Functions min(), max(), mean(), median() and mode()

Panda’s Series- In the last post, I explained how to create a panda’s series. Further,  a pandas series has a lot of   you often need to analyze, visualize and clean data.  In this post, I will be explaining min(), max(), mean(), median(), and mode functions. min() Function- import pandas as pd lst=[2, 4, 6, 8, […]

Pandas Series Functions min(), max(), mean(), median() and mode() Read More »

K-Means-Clustering

K-Means Clustering Algorithm in Machine Learning

K-Means clustering is an unsupervised   machine learning algorithm which partitions n instances into k clusters by similarity. As K-Means clustering is an unsupervised learning algorithm, therefore instances will not have labels. As  K-Means clustering  is an unsupervised learning algorithm, training instances will not have labels. Furthermore, to make you understand K-Means clustering algorithm, I will

K-Means Clustering Algorithm in Machine Learning Read More »

K-Nearest-Neighbor-Algorithm

K-Nearest Neighbors Algorithm in Machine Learning

K-Nearest Neighbors algorithm (KNN) K-Nearest Neighbors algorithm (KNN) is a very important supervised machine learning algorithm and one should start from this algorithm. It is easy to understand compare to other algorithms and does not involve complex mathematical concepts. In this post, I will explain k-Nearest Neighbors algorithm using Irish flowers data set.   From

K-Nearest Neighbors Algorithm in Machine Learning Read More »

Covariance and Correlation

Covariance and Correlation

Covariance and Correlation- Covariance and correlation both measure linear relationship between two variables.  However, they differ at some points. In this post I will explain covariance and correlation and how they differ from each other. Covariance between two variables is written as Cov(X,Y) and is defined as Calculation of Covariance If you look at the

Covariance and Correlation Read More »

Expectation of a Continuous Random Variable: Uniformly Distributed Random Variable

Expectation of a Continuous Random Variable Expectation of a continuous random variable is defined as Suppose a continuous random variable X is uniformly distributed on [a, b]. Density function of  uniformly distributed random variable X is Expectation of uniformly distributed random variable X is See Video See Also: Expectation in Statistics Expectation of a Discrete

Expectation of a Continuous Random Variable: Uniformly Distributed Random Variable Read More »

Joint and Marginal Probability Mass Function.png

Joint and Marginal Probability Mass Function

Joint and Marginal Probability Mass Function For UploadingIf (X,Y) is a two-dimensional discrete random variable, then joint probability mass function of  X and Y denoted by pxy  and is defined as pxy(xi,yj)=P(X=xi,Y=yj) If you toss three coins the following sample space you will get. S={TTT, TTH, THT, THH, HTT, HTH, HHT,HHH} X—- Occurrence of heads

Joint and Marginal Probability Mass Function Read More »

©Postnetwork-All rights reserved.