Convert Classification Network into Regression Network

1 vue (au cours des 30 derniers jours)
GEORGIOS
GEORGIOS le 11 Déc 2024
Modifié(e) : Cris LaPierre le 12 Déc 2024
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 ?

Réponse acceptée

Cris LaPierre
Cris LaPierre le 12 Déc 2024
Modifié(e) : Cris LaPierre le 12 Déc 2024
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.

Plus de réponses (0)

Catégories

En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by