Hussain Nasir Khan

A programmer, writer, and engineer. I have a deep interest in computer vision and artificial intelligence.

How to count unique values in NumPy array

How to count unique values in NumPy array

You can count unique values in the NumPy array with the following code. If you want to learn Python, I highly recommend reading This Book. Output [ 5 10 15] [4 2 1] People are also reading: Best Python Books What is Computer Vision? Examples, Applications, Techniques Books for Machine Learning (ML) Free Learning Resources

How to absolute in NumPy

How to absolute in NumPy

You can find absolute value in the NumPy with the following code. If you want to learn Python, I highly recommend reading This Book. Example 1 [ 5. 10. 1.2 0.6 0.2] Example 2 [[5.38516481] [5. ] [3.60555128]] People are also reading: Best Python Books What is Computer Vision? Examples, Applications, Techniques Books for Machine Learning (ML) …

How to absolute in NumPy Read More »

How to average in NumPy

How to find the average in NumPy

You can find the average in the NumPy with the following code. If you want to learn Python, I highly recommend reading This Book. Example 1 Output 3.0 Example 2 9.0 People are also reading: Best Python Books What is Computer Vision? Examples, Applications, Techniques Books for Machine Learning (ML) Free Learning Resources