Convert Classification Network into Regression Network

조회 수: 10 (최근 30일)
GEORGIOS
GEORGIOS 2024년 12월 11일
편집: Cris LaPierre 2024년 12월 12일
I 'm trying to build a regression ResNet 18 model. In previous versions there was lots of output layers. How can i find these layers now ?

채택된 답변

Cris LaPierre
Cris LaPierre 2024년 12월 12일
편집: Cris LaPierre 2024년 12월 12일
In R2024a, machine learning models were transitioned to dlnetwork. Rather than assign the output, they now output the prediction scores.
So you would still use Deep Network Desigher to build your network. You would then use trainnet with the targets set to 'mse', and minibatchpredict to obtain the predictions from your network.
You can learn more about how to implement regression in R2024b on the regressionLayer doc page.

추가 답변 (0개)

카테고리

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