Create a regression output layer
A regression layer computes the half-mean-squared-error loss for regression problems.
returns a regression output
layer for a neural network as a layer
= regressionLayerRegressionOutputLayer
object.
Predict responses of a trained regression network using predict
. Normalizing the responses often helps stabilizing and speeding
up training of neural networks for regression. For more information, see Train Convolutional Neural Network for Regression.
sets the optional layer
= regressionLayer(Name,Value
)Name
and ResponseNames
properties using name-value pairs. For example,
regressionLayer('Name','output')
creates a regression layer
with the name 'output'
. Enclose each property name in single
quotes.