HOW CAN I USE 3 DIFFERENT DATA TO TRAIN NEURAL NETWORK

7 ビュー (過去 30 日間)
JIBIN GEORGE
JIBIN GEORGE 2021 年 4 月 12 日
コメント済み: Srivardhan Gadila 2021 年 4 月 15 日
I am trying to train a neural network with raw data, normalised data and standardised data.But it shows some errors. I need to do this as one after another resulting 3 different neural networks so I can compare the output with the target.
The code I tried is attached below,
%training neural network using raw data
p=x
p
p = p'
t=t'
mynet = feedforwardnet
view(mynet)
train = train(mynet,p,t)
results = sim(mynet,p)
compare = t==results
%training data using standardised data
p1=xs
p1
p1=p'
t1=t'
mynet1 = feedforwardnet
view(mynet1)
train = mynet1(mynet1,p1,t1)
results1 = sim(mynet1,p)
compare1 = t1==results1
%training data using normaised data
p2=xn
p2
p2=p'
t2=t'
mynet2 = feedforwardnet
view(mynet2)
train2 = mynet2(mynet2,p2,t2)
results2 = sim(mynet2,p2)
compare2 = t2==results2
and the error message I hae recieved
>> train = mynet1(mynet1,p1,t1)
Error using network/sim (line 248)
Inputs is not a matrix or cell array.
  3 件のコメント
JIBIN GEORGE
JIBIN GEORGE 2021 年 4 月 12 日
still has some more errors
Srivardhan Gadila
Srivardhan Gadila 2021 年 4 月 15 日
@JIBIN GEORGE, can you provide the exact information of the other errors you are getting apart from the ones mentioned in the question.

サインインしてコメントする。

回答 (0 件)

カテゴリ

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