Setting more than one final output in the fitrnet function

10 ビュー (過去 30 日間)
FERNANDO CALVO RODRIGUEZ
FERNANDO CALVO RODRIGUEZ 2023 年 3 月 31 日
回答済み: Samyuktha 2023 年 4 月 5 日
Hi!
I am trying to make a neural network with cross validation with the fitnet function and I can't find anything to do it with. So I looked in the bibliography and the fitnet function allows to do it with the big disadvantage that it only allows one response output. My model has a few more so it gives me error and I do not know how to modify this structure or if it is possible.
If someone knows something it would be of great help!
Translated with www.DeepL.com/Translator (free version)

回答 (1 件)

Samyuktha
Samyuktha 2023 年 4 月 5 日
Hi Fernando,
I understand that you are trying to modify the 'fitrnet' function.
In R2021a, SMLT introduced the fitting function 'fitrnet', which trains the shallow classification and regression neural network models. You can adjust the number of outputs for the fully connected layers by specifying the 'LayerSizes' name-value argument.
Please refer to the following documentation link for more information:
Hope it helps!!

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by