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

11 次查看(过去 30 天)
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?

回答(1 个)

Tejas
Tejas 2024-10-28,5:55
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"));

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by