62.4K subscribers
119 photos
1 video
1 link
Data science, Machine learning, and Artificial Intelligence. We post daily contents related to machine learning focusing on Numpy, Pandas, and ML effectively.
Download Telegram
Welcome back to another NumPy lesson! 👋.Basketball players make a great excuse to learn about arg functions in NumPy 🏀.argmax() returns the index of the element with the maximum value.argmin() returns the index of the element with the minimum value.argsort() returns the indices of the array in ascending order 👌.Basically what adding arg to the name of the function does is to make return the *index* of the element and not the element itself.This is handy for this example because we then use the index to retrieve the name of the player from the other array 🤯😏.
.
👨‍💻#NumPy
🗣 Turn on post notifications to be always in the know
.
NumPy part 9: np.where()
.
np.where() returns the indices where the condition is met (not the elements themselves) 👌
.
.

.
👨‍💻#NumPy
👍2
Part 10 🎉 of Intro to NumPy, what a journey guys, thanks for sticking around for these posts!! On to part 100 shall we??
.

Follow u0040bigdataguru for tutorials and instructional posts on AI, machine learning and deep learning!
.
.
👨‍💻#NumPy
.
np.tile() is one of the most beautiful yet super useful functions there is in NumPy and Python! Happy weekend!! 🎉👌
.
Typo alert: 4th slide should say np.array([[6], [7]]) for the picture to match!
.
👨‍💻#NumPy
👍21
np.cumsum() is a useful function when it comes to doing big data cumulative sums. See it, learn it, and use it 💪
.
.
.
👨‍💻#NumPy
👍3