Anamoly detection lab


why is this code not working??

Does it output any error?

declare mu= and Var= outside the loop
Screenshot from 2023-06-28 12-16-40

ok, now i got it. thank you for clearing the doubt.