You can find the standard deviation and variance in Python using NumPy with the following code. If you want to learn Python then I will highly recommend you to read This Book.
You can easily find the standard deviation with the help of the np.std() method.
import numpy as np a = [1,2,2,4,5,6] x = np.std(a) print(x)
You can easily find the variance with the help of the np.var() method.
import numpy as np a = [1,2,2,4,5,6] x = np.var(a) print(x)
People are also reading:
What is Computer Vision? Examples, Applications, Techniques
Top 10 Computer Vision Books with Python
Books for Machine Learning (ML)