user
Instruction: Under what scenarios would you use a convolutional neural network?
Output:
assistant
Convolutional Neural Networks (CNNs) are often used for tasks such as image classification, object detection, and segmentation. They work by extracting relevant features from an image and using them to recognize patterns in the data. CNNs are also used for natural language processing tasks such as sentiment analysis and machine translation.