as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
create an algorithm for recognizing handwritten numbers using a convolutional neural network
user
the algorithm should involve the following steps: 
1. pre-process the input data by resizing and normalizing the images. 
2. define and design the cnn architecture with the right number of layers and nodes. 
3. train the cnn on a labeled training dataset of handwritten numbers.
4. test and validate the model on a test dataset. 
5. deploy the model in a production environment with capabilities for continuous retraining. 
6. monitor the performance of the model with metrics such as accuracy and recall.
assistant