Machine Learning

Moment Generating Function of Binomial Distribution

Moment Generating Function of Binomial Distribution Author: Bindeshwar Singh Kushwaha Institute: PostNetwork Academy Definition of Moment Generating Function The moment generating function (m.g.f.) of a random variable \( X \) is defined as: \[ M_X(t) = E(e^{tX}) \] For a continuous random variable: \[ M_X(t) = \int_{-\infty}^{\infty} e^{tx} f(x) \, dx \] For a discrete […]

Moment Generating Function of Binomial Distribution Read More »

Moments of Binomial Distribution Video I Data Science and A.I. Lect. Series

  Moments of Binomial Distribution By Bindeshwar Singh Kushwaha — PostNetwork Academy Moment Definition Let \( X \sim B(n, p) \) be a binomial random variable. The \( r^\text{th} \) raw moment about origin: \( \mu_r’ = \mathbb{E}(X^r) = \sum_{x=0}^{n} x^r \cdot \mathbb{P}(X = x) \) First-order moment (mean): \( \mu_1′ = \mathbb{E}(X) \) Binomial

Moments of Binomial Distribution Video I Data Science and A.I. Lect. Series Read More »

But What A Neural Network Learns Actually: Neural Network Architecture for Iris Data Set

 Neural Network Architecture for Iris Dataset Author: Bindeshwar Singh Kushwaha Institution: PosstNetwork Academy  Outline Iris Dataset Overview Neural Network Architecture Mathematical Formulation Code Walkthrough Live Loss Plot Evaluation and Summary  Sample from Iris Dataset Sepal Length Sepal Width Petal Length Petal Width Class 5.1 3.5 1.4 0.2 Setosa 6.2 2.9 4.3 1.3 Versicolor 5.9 3.0

But What A Neural Network Learns Actually: Neural Network Architecture for Iris Data Set Read More »

Matrix Operations with PyTorch | Learn Linear Algebra with Code

Matrix Operations with PyTorch Author: Bindeshwar Singh Kushwaha Institute: PostNetwork Academy Matrix Addition and Scalar Multiplication Matrix Addition: We add corresponding elements of the same-sized matrices: \( A + B = [a_{ij} + b_{ij}] \) Scalar Multiplication: Multiply each element of the matrix by the scalar value: \( kA = [k \cdot a_{ij}] \) Example:

Matrix Operations with PyTorch | Learn Linear Algebra with Code Read More »

Building a Smart Indian Food Recommender Using TinyLlama, Ollama, and Python

Building a Smart Indian Food Recommender Using TinyLlama, Ollama, and Python In this tutorial, we’ll build a simple yet smart food recommender system that suggests Indian dishes based on the current humidity and temperature values. The system uses a local language model TinyLlama running via Ollama, and Python’s random.randint() function to simulate real-time weather. Why

Building a Smart Indian Food Recommender Using TinyLlama, Ollama, and Python Read More »

Bernoulli Distribution in Probability and Statistics

Bernoulli Distribution Data Science and A.I. Lecture Series By Bindeshwar Singh Kushwaha | PostNetwork Academy Introduction to Bernoulli Distribution A Bernoulli trial is an experiment with only two possible outcomes: Success (1) and Failure (0). If p is the probability of success, then q = 1 – p is the probability of failure. A random

Bernoulli Distribution in Probability and Statistics Read More »

Moments and Other Measures in Terms of Expectations

  Moments and Other Measures in Terms of Expectations Data Science and A.I. Lecture Series By Bindeshwar Singh Kushwaha – PostNetwork Academy Moments The \( r^{th} \) order moment about any point \( A \) of a variable \( X \) is given by: For discrete variables: \[ \mu_r’ = \sum_{i=1}^{n} p_i (x_i – A)^r

Moments and Other Measures in Terms of Expectations Read More »

©Postnetwork-All rights reserved.