Posts

Showing posts from August 30, 2023

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...

WFLO in Python || Optimal Placement of Wind Turbines using PSO in Python...

Image
Wind turbine optimal placement using particle swarm optimization Implementation in Python. Video Chapters: 00:00 Introduction 00:30 Key Points 03:17 Implementation 05:50 Flowchart 06:32 Code 23:47 Apply PSO 31:53 Output SOURCE CODE import numpy as np import math import random #Probability Distribution Function def PDF(U,k,c): return (k / c) * (U / c)**(k - 1) * math.exp(-((U / c)**k)) #Calculate Alpha def Cal_alpha(Z,Z_o): return 0.5 / math.log (Z/Z_o) #Calculate Full Wake Effect def Full_WE(u_o,a,alpha,X,R_1): return u_o*(1-(2*a/(1+alpha*(X/R_1)**2))) #Calculate Partial Wake Effect def Partial_WE(u_o,a,alpha,X,R_1,A_Partial,A_Total): return u_o * (1-(2*a/(1+alpha*(X/R_1)**2)))*(A_Partial-A_Total) #Calculate No Wake Effect def No_WE(u_o): return u_o #Calculate Power def Power(u,Ideal_Power): if u<3: return 0 elif 3<=u<=12: return Ideal_Power elif 12<=u<=25: return 518.4 else: return 0 #Calcu...
More posts