RegressionOutputLayer
R2026bRegression output layer
RegressionOutputLayer objects are not recommended. Use the trainnet
function and set the loss function to "mse" instead. For more
information, see Version
History.
To learn more about how to transition
trainNetwork, SeriesNetwork, and
DAGNetwork code to dlnetwork workflows, see Transition trainNetwork, SeriesNetwork, and DAGNetwork Code to dlnetwork Workflows.
Description
A regression layer computes the half-mean-squared-error loss for regression tasks.
Creation
Create a regression output layer using regressionLayer.
Properties
Examples
More About
Version History
Introduced in R2017aSee Also
trainnet | trainingOptions | dlnetwork | fullyConnectedLayer