Open in app

Sign In

Write

Sign In

Reza Bagheri
Reza Bagheri

842 Followers

Home

About

Published in Towards Data Science

·Jan 6

Understanding Multinomial Distribution using Python

The math and intuition behind the multinomial distribution — The multinomial distribution is a generalization of the binomial distribution and is used to find the probabilities in experiments with more than two outcomes. This article gives an intuitive introduction to multinomial distribution and discusses its mathematical properties. In addition, it will teach you how to use the SciPy library…

Statistics

20 min read

Understanding Multinomial Distribution using Python
Understanding Multinomial Distribution using Python
Statistics

20 min read


Published in Towards Data Science

·Dec 8, 2022

Understanding Probability Distributions using Python

An intuitive and comprehensive guide to probability distributions — A probability distribution describes the probabilities of the values that a random variable can take. It is an important concept in statistics and probability theory, and every book on this topic discusses probability distributions along with their properties. However, they emphasize the mathematical properties of these distributions rather than the…

Probability Distributions

97 min read

Understanding Probability Distributions using Python
Understanding Probability Distributions using Python
Probability Distributions

97 min read


Published in Towards Data Science

·Mar 31, 2022

Introduction to SHAP Values and their Application in Machine Learning

Learn how the SHAP library works under the hood — SHAP is a mathematical method to explain the predictions of machine learning models. It is based on the concepts of game theory and can be used to explain the predictions of any machine learning model by calculating the contribution of each feature to the prediction. SHAP can determine the most…

Shapley Values

81 min read

Introduction to SHAP Values and their Application in Machine Learning
Introduction to SHAP Values and their Application in Machine Learning
Shapley Values

81 min read


Published in Better Programming

·May 28, 2021

A Deep Dive Into Spark Datasets and DataFrames Using Scala

A comprehensive guide to Spark datasets and DataFrames — Preliminary Apache Spark is an open source distributed data processing engine that can be used for big data analysis. It has built-in libraries for streaming, graph processing, and machine learning, and data scientists can use Spark to rapidly analyze data at scale. …

Programming

102 min read

A Deep Dive Into Spark Datasets and DataFrames Using Scala
A Deep Dive Into Spark Datasets and DataFrames Using Scala
Programming

102 min read


Feb 7, 2021

Understanding Principal Component Analysis and its Application in Data Science — Part 2

Learn the mathematical intuition behind PCA — In the first part of this article, I introduced the covariance matrix and discussed the mathematical foundation of PCA. In this part first, we discuss the application of singular value decomposition (SVD) in SVD and then we see a case study of PCA for the MNIST dataset. Finally, we discuss…

Principal Component

34 min read

Understanding Principal Component Analysis and Its Application in Data Science — Part 2
Understanding Principal Component Analysis and Its Application in Data Science — Part 2
Principal Component

34 min read


Feb 7, 2021

Understanding Principal Component Analysis and its Application in Data Science — Part 1

Learn the mathematical intuition behind PCA — Principal Component Analysis (PCA), is a method used to reduce the dimensionality of large datasets. We will also study the covariance matrix and the multivariate normal distribution in detail since understanding them will result in a better understanding of PCA. …

Linear Algebra

56 min read

Understanding Principal Component Analysis and its Application in Data Science — Part 1
Understanding Principal Component Analysis and its Application in Data Science — Part 1
Linear Algebra

56 min read


Published in Towards Data Science

·Oct 16, 2020

Weight Initialization in Deep Neural Networks

Learn about different weight initialization methods in neural networks — Weight and bias are the adjustable parameters of a neural network, and during the training phase, they are changed using the gradient descent algorithm to minimize the cost function of the network. However, they must be initialized before one can start training the network, and this initialization step has an…

Deep Learning

30 min read

Weight Initialization in Deep Neural Networks
Weight Initialization in Deep Neural Networks
Deep Learning

30 min read


Published in Towards Data Science

·Jul 20, 2020

An Introduction to Deep Feedforward Neural Networks

The mathematical foundation of feedforward neural nets — The feedforward neural network is the simplest type of artificial neural network which has lots of applications in machine learning. It was the first type of neural network ever created, and a firm understanding of this network can help you understand the more complicated architectures like convolutional or recurrent neural…

Backpropagation

67 min read

An Introduction to Deep Feedforward Neural Networks
An Introduction to Deep Feedforward Neural Networks
Backpropagation

67 min read


Published in Towards Data Science

·Apr 24, 2020

Python Stack Frames and Tail-Call Optimization

Avoiding stack overflow in Python using tail-recursion — Recursion in computer science is a method of problem-solving in which a function calls itself from within its own code. This method is very useful and can be applied to many types of problems, however, it has a limitation. Functions use the stack to keep their local variables, and the…

Python

24 min read

Python Stack Frames and Tail-Call Optimization
Python Stack Frames and Tail-Call Optimization
Python

24 min read


Published in Towards Data Science

·Mar 5, 2020

Understanding Python Bytecode

Learn about disassembling Python bytecode — The source code of a programming language can be executed using an interpreter or a compiler. In a compiled language, a compiler will translate the source code directly into binary machine code. This machine code is specific to that target machine since each machine can have a different operating system…

Python

44 min read

Understanding Python Bytecode
Understanding Python Bytecode
Python

44 min read

Reza Bagheri

Reza Bagheri

842 Followers

Data Scientist and Researcher. LinkedIn: https://www.linkedin.com/in/reza-bagheri-71882a76/

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech