Get startedGet started for free

Augmenting Monet

Perhaps you're still working on that machine learning model that identifies ocean scenes in paintings. You'd like to generate a few extra images to augment your existing data. After all, a human can tell that a painting is of an ocean even if the painting is upside-down: why shouldn't your machine learning model?

numpy is loaded as np, and the 3D Monet rgb_array is available.

This exercise is part of the course

Introduction to NumPy

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Flip rgb_array so that it is the mirror image of the original
mirrored_monet = ____
plt.imshow(mirrored_monet)
plt.show()
Edit and Run Code