Principal Component Analysis(PCA)

Principal Component Analysis(PCA)

Principal Component Analysis(PCA) Principal Component Analysis (PCA) is an unsupervised machine learning feature reduction technique for high-dimensional and correlated data sets. Images and text documents have high dimensional data sets which requires unnecessary computation power and storage. Basic goal of PCA is to select features which have high variance. High variance of a feature indicates … Read more Principal Component Analysis(PCA)

Expectation in Statistics

Expectation in Statistics

Expectation  in statistics Expectation  in statistics is the weighted average of a random variable with its probability. Suppose you toss three coins, then think of event to turn heads up. Random variable associates number of occurrence of event to its probability. i.e. Expectation of random variable X is denoted by E(X). 1- Expectation of a … Read more Expectation in Statistics

Logistic Regression

Logistic Distribution PDF

Hyperbolic Functions These functions are very important in regression, classification and to build neural networks. Moreover, it is important to remember expression hyperbolic functions in the form of exponential functions. I have written the expressions and plotted the functions using python library. Python Codes to Plot Hyperbolic Functions import numpy as np import matplotlib.pyplot as … Read more Logistic Regression

Basics of Python : Calculate Factorial

Python

Basics of Python : Calculate Factorial   Python is popular and easy to use language. It is widely used in data science, machine learning, Internet of Things (IoT)  and field of automation  However, it is necessary to learn basics to manipulate statements and customize programs. In this post, I will make a simple factorial program … Read more Basics of Python : Calculate Factorial

Linear Regression in Statistics

Calculation-for-Regression-Line

Linear regression Linear regression refers to find out degree of relationship between two variables in the form of a linear function y=mx+c using statistical techniques. Where m is gradient and c is intercept on y axis. That best fits the data set, which predicts the value of y for a given x or vice versa. … Read more Linear Regression in Statistics

Poisson Distribution as a Limiting Case of Binomial Distribution

For large value of n binomial distribution asymptotically tends to Poisson distribution. Probability distribution  function of binomial random variable  is Probability distribution of Poisson random variable is Poisson Distribution as a Limiting Case of Binomial Distribution Python Code for Binomial Distribution from scipy.stats import binom import numpy as np import matplotlib.pyplot as plt # Let … Read more Poisson Distribution as a Limiting Case of Binomial Distribution

Exponential Probability Distribution

Mean of Exponentially Distributed Random Variable X

A random variable X is said to follow exponential distribution if it follows the following probability mass function. Exponential probability distribution is a continuous distribution. Probability Distribution Function of Exponentially Distributed Variable X   It is heavily used in the Internet traffic modelling and of study queuing models. Numerical Example- Problem- If a computer receives … Read more Exponential Probability Distribution

Poisson Distribution in Statistics

Mean of Poisson Distribution Variable X

A random variable X is said to follow Poisson distribution, if it follows the following probability distribution function. Poisson distribution is a discrete probability distribution. It models the following types of problems Find out number  of new born babies in a city in certain time duration. Find out defective materials in manufactured by a company. … Read more Poisson Distribution in Statistics

Binomial Distribution in Statistics

Expectation of X in Binomial Distribution

Let X be a random variable, it is said to follow binomial distribution if it follows the following probability mass function. And it can have only non-negative values. The binomial distribution is a discrete probability distribution. Binomial distribution is used to model problems, for instance,  getting  number of success after certain  number of random experiments … Read more Binomial Distribution in Statistics

Uniform Distribution

Uniform-Distributionsize5000.png

Uniform Distribution or Rectangular Distribution Uniform distribution or rectangular distribution is a continuous probability distribution. Definition- A random variable X is said to follow uniform or rectangular distribution it follows the following probability distribution function. And is denoted by X~U(a,b) Python Code to Plot Uniform Distribution import numpy import matplotlib.pyplot as plt a=20 b=50 x= … Read more Uniform Distribution