how to recall matrix in nntool

3 次查看(过去 30 天)
Renu
Renu 2022-11-29
how to recall a 120x2 dimension matrix in MATLAB in nntool

回答(1 个)

Ayush Aniket
Ayush Aniket 2025-5-7
If the requirement is to import your 120x2 dimension matrix, you can easily do so using the Import button on the left upper corner of the Neural Net Fitting app after defining your matrix in the base workspace.
However, note that the rows of a matrix are mapped as features, the columns are mapped as obseravtions and you should have atleast 10 obseravtions in you data. If you try to import your data in its current shape, it will give you an error becuase there are only 2 columns.
Considering, the 120 rows in your matrix correspond to observations, you can transpose your matrix and then import it using the tool. Refer the following documentation link to read about the import process: https://www.mathworks.com/help/deeplearning/gs/fit-data-with-a-neural-network.html#UsingTheNeuralNetworkFittingAppExample-1

类别

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