How can I train a Convolutional Neural Network for a Regression task?

I recently learned about Matlab's 2016a version having introduced CNN implementations and functions. What I want to ask is if it is possible to construct a CNN to fit a function (regression). Just like you would use 'fitnet' from Neural Network Toolbox. Can I train a new CNN to do that?

Respuestas (1)

Hello Ioannis,
A Convolutional Neural Network (CNN) can indeed be trained for regression tasks. This documentation provides an example of Convolutional Neural Network (CNN) used for regression task. In the example, CNN predicts the angles of rotation (regression task) for handwritten digits:
web(fullfile(docroot, "deeplearning/ug/train-a-convolutional-neural-network-for-regression.html"));

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 22 de Abr. de 2016

Respondida:

el 28 de Oct. de 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by