Examples Based on Binomial Probability Distribution

Binomial Distribution Overview A discrete random variable \( X \) is said to follow a binomial distribution with parameters \( n \) and \( p \) if it takes on values \( x = 0, 1, 2, …, n \) with the probability mass function: \[ P(X = x) = \binom{n}{x} p^x q^{n – x}, […]

Examples Based on Binomial Probability Distribution 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 »

Object-Oriented Programming in Python

   Object-Oriented Programming in Python By: Bindeshwar Singh Kushwaha Institute: PostNetwork Academy What is Object-Oriented Programming (OOP)? OOP is a programming paradigm. It is based on the concept of “objects”. Helps model real-world entities like BankAccount, Student, Car. Makes code more organized, reusable, and easier to maintain. Class in OOP A class is a blueprint

Object-Oriented Programming in Python 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 »

Tensors in Pytorch

Understanding PyTorch: Tensors, Vectors, and Matrices

Understanding PyTorch: Tensors, Vectors, and Matrices By: Bindeshwar Singh Kushwaha Institute: PostNetwork Academy What is PyTorch? PyTorch is an open-source deep learning framework. It supports dynamic computation graphs. Designed to be Pythonic and flexible. Commonly used for research and production in AI/ML. Types of Tensors A scalar is a 0-dimensional tensor. A vector is a

Understanding PyTorch: Tensors, Vectors, and Matrices 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 »

Binomial Distribution Data Science and A.I. Lecture Series

  Binomial Distribution Data Science and A.I. Lecture Series By Bindeshwar Singh Kushwaha | PostNetwork Academy Binomial Probability Function The binomial probability function is given by: \[ P(X = k) = \binom{n}{k} p^k (1 – p)^{n – k} \] where: \( n \) = total number of trials \( k \) = number of successes

Binomial Distribution Data Science and A.I. Lecture Series 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 »

Addition, Multiplication Theorem of Expectation and Covariance

Addition, Multiplication Theorem of Expectation and Covariance Data Science and A.I. Lecture Series By Bindeshwar Singh Kushwaha PostNetwork Academy Outline Introduction Addition Theorem of Expectation Proof of Addition Theorem Multiplication Theorem of Expectation Proof of Multiplication Theorem Covariance Introduction Expectation (or expected value) is a fundamental concept in probability and statistics. It provides a measure

Addition, Multiplication Theorem of Expectation and Covariance Read More »

©Postnetwork-All rights reserved.