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

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

Central Limit Theorem and Normal Distribution

Area Under Normal Distribution Curve

  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

Spearman Rank Correlation

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

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

python_math

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