multiple inputs with nntool

Hi, I'm a new user of Matlab and trying to create a neural network with the nntool as it is much easier with this interface. While I can load many inputs and targets, when I want to create the network I am having a problem loading multiple inputs and targets at the same time (there is the option of loading only one), for ex. with back-propagation. I would really appreciate any help thanks in advance

답변 (3개)

mohammed
mohammed 2011년 6월 2일

1 개 추천

The following code import 4 columns as inputs, and 1 column as output
may you can modify as your own dataset
inputs = xlsread('D:\MyData\data.xls', 1, 'A2:D115');
targets = xlsread('D:\MyData\data.xls', 1, 'L2:L115');
inputs=inputs';
targets=targets';
mohammed
mohammed 2011년 6월 1일

0 개 추천

There is may way to load your data before using nntool
the following URL shows how to load data from text file
after that you can use nntool

댓글 수: 1

K
K 2011년 6월 1일
Hi, thanks for the quick response. Though, I have already imported my data from an excel file, which are different columns of the xis and yis. I cannot have them as parallel inputs and outputs of the Network I "create" with the nntool. Any ideas?
Thakns!

댓글을 달려면 로그인하십시오.

mohammed
mohammed 2011년 6월 1일

0 개 추천

can explain more regrading your dataset?

댓글 수: 1

K
K 2011년 6월 2일
Yes! Well, the dataset is imported from an excel file with 4 columns: x1,x2...x4 (which I want to be 4 different inputs at the same time of the neural network) and 3 columns: y1, y2, y3 (which I want to be outputs of the network). However, while I create the network with the nntool, with back-propagation, there is only otion of one input and target data at a time. This is my problem

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

K
K
2011년 6월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by