Posts

Showing posts from August 2, 2021

New Post

Hidden Markov Model (HMM)

Image
Hidden Markov Model (HMM)  VIDEO LINK:  https://youtu.be/YIGCWNG8BIA A Hidden Markov Model (HMM) is a statistical model in which the system has hidden states that cannot be directly observed, but produce observable outputs. It is based on the Markov property, meaning the next state depends only on the current state. Video Chapters: HMM in Artificial Intelligence 00:00 Introduction 00:31 Statistical Model 00:54 HMM Examples 02:30 HMM 03:10 HMM Components 05:23 Viterbi Algorithm 06:23 HMM Applications 06:38 HMM Problems 07:28 HMM in Handwriting Recognition 11:20 Conclusion  HMM COMPONENTS A Hidden Markov Model (HMM) is a statistical model in which the system has hidden states that cannot be directly observed, but produce observable outputs. It is based on the Markov property, meaning the next state depends only on the current state. An HMM consists of states, observations, transition probabilities, emission probabilities, and initial probabilities. It is commonly used in a...

PARTICLE SWARM OPTIMIZATION ALGORITHM NUMERICAL EXAMPLE

Image
 PARTICLE SWARM OPTIMIZATION ALGORITHM NUMERICAL EXAMPLE PSO is a computational method that Optimizes a problem. It is a Population-based stochastic search algorithm. PSO is inspired by the Social Behavior of Birds flocking. n Particle Swarm Optimization the solution of the problem is represented using Particles. [Flocking birds are replaced with particles for algorithm simplicity]. Objective Function is used for the performance evaluation for each particle / agent in the current population. PSO solved problems by having a Population (called Swarms) of Candidate Solutions (Particles). Local and global optimal solutions are used to update particle position in each iteration. Particle Swarm Optimization (PSO) Algorithm step-by-step explanation with Numerical Example and source code implementation. - PART 2 [Example 2] 1.) Initialize Population [Current Iteration (t) = 0] Population Size = 4; 𝑥𝑖 : (i = 1,2,3,4) and (t = 0) 𝑥1 =1.3; 𝑥2=4.3; 𝑥3=0.4; 𝑥4=−1.2 2.) Fitness Function u...

Firefly Optimization Algorithm

Image
Firefly algorithm is a swarm-based metaheuristic algorithm that was introduced by Yang. Firefly Algorithm is inspired by the FLASHING Behavior of Fireflies.  Assumptions Fireflies are attracted to each other. Attractiveness is proportional to BRIGHTNESS.  Less Brighter Firefly is attracted to the Brighter Firefly. Attractiveness decrease as the distance between 2 fireflies increase. If brightness for both is the same, fireflies move randomly. New Solutions are generated by Random walks & the Attraction of fireflies. Video Link:  https://youtu.be/QvpEMR-Jp0U Firefly Optimization Algorithm Steps Initialize Parameters. Generate Population of n Fireflies. Calculate Fitness Value for Each Firefly. Check stopping criteria if (CurrentIteration := 1 to MaximumIteration ).  Update Position and Light Intensity for Each Firefly. Report the Best Solution. Initialize Parameters, Population of Fire Fly Swarm. Population Size (n) = 20; Maximum Iteration (Maxt) = 50; Dimension ...
More posts