I keep getting this error message "Not enough input arguement" while using the neural network app to train a neural network model. Please help

2 ビュー (過去 30 日間)
After inputing the input and target data into the provided places in the neural network fitting app, when I click on the next icon to take me to the next level I get that message

回答 (1 件)

Himanshu
Himanshu 2024 年 8 月 9 日
Hi,
I see that you are encountering the "Not enough input argument" error while using the neural network fitting app to train your model.
The Neural Net Fitting app lets you create, visualize, and train a two-layer feed-forward network to solve data fitting problems. To open the Neural Net Fitting App, go to the "Apps" tab under "Machine Learning and Deep Learning" in the MATLAB Toolstrip and click the app icon, or enter "nftool" at the MATLAB command prompt. Please note that the "nftool" command does not require any arguments as inputs.
Please ensure that your input and target data are loaded into the app correctly. Use the "Import Data" function to ensure the data is recognized by the app. Ensure that the dimensions of your input data match the dimensions expected by the neural network. The number of input features should correspond to the columns in your input data, and the number of target outputs should match your target data.
Also, please ensure that for any classification task, you need to specify the labels as a categorical array.
Please refer to the below documentations for more information.
  1. Solve fitting problem using two-layer feed-forward networks: https://www.mathworks.com/help/deeplearning/ref/neuralnetfitting-app.html
  2. Open Neural Net Fitting app: https://www.mathworks.com/help/deeplearning/ref/nftool.html
  3. Fit Data Using the Neural Net Fitting App: https://www.mathworks.com/help/deeplearning/gs/fit-data-with-a-neural-network.html
I hope this helps.

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by