## List in Python

List in Python List in Python is a very powerful data structure which can store any type of data which is supported by Python. It is created using square bracket for example l=[2,4,5.2,’post’,’network’,10] this statement creates a list object of class list, and indexes objects as l, l, l, l, l and l. If you … Read more List in Python

## Bubble Sort in Python

Bubble Sort in Python The basic idea behind bubble sort is to compare the first element in list to second element . Compare the second element to the third element if greater swap the elements. Compare the third element to the fourth element if greater swap the elements. Do until the list is sorted. The … Read more Bubble Sort in Python

## Logistic Regression

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

## 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

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

## Central Limit Theorem and Normal Distribution

Why is normal distribution is important? To understand the question you have to go through the Central Limit Theorem. Central Limit Theorem According to central limit theorem if X1, X2, X3,……Xn are random variables drawn from any probability distribution function with mean  Σμi  and standard deviation Σσi where (i=1,2,3,……n). The sum of random variables … Read more Central Limit Theorem and Normal Distribution

## Correlation in Statistics

Correlation Correlation measures  the relation between two variables  that how they are related.  And is denoted by r and  ρ moreover, the correlation quantifies the level of relationship between -1 to +1. If the value of correlation  r is -1 then there is perfect negative relationship. If value of  correlation is  +1  then there is … Read more Correlation in Statistics

## Standard Deviation, Variance and Covariance

Standard Deviation Variance and Covariance Standard deviation, variance and covariance have very important applications in machine learning and data science. Further, they are closely related to each other. In feature reduction techniques, such as PCA ( Principle Component Analysis) features are selected based on  high variance.  In this post I will explain standard deviation, variance … Read more Standard Deviation, Variance and Covariance

## Matplotlib in Python

Matplot is a very powerful python library to visualize the datasets. It is built upon the SciPy and the NumPy library. Further, it would be better to give examples that make you understand the matplot library.   Example-1 import matplotlib.pyplot as plt x=[200,300,400,500,600,700] y=[200,300,400,500,600,700] plt.plot(x,y) plt.show() Execution on ubuntu   The output of the code … Read more Matplotlib in Python

## Python Tutorial

About Python Python is a very simple style syntax language. It uses a new line for a new statement. A line space for the scope of the functions and loops. Why Should You Learn?   Python is very popular among data science and machine learning developers. Google, DropBox, Facebook, and Amazan companies are using Python … Read more Python Tutorial