To combine two networks in a series manner
1 回表示 (過去 30 日間)
古いコメントを表示
Dear All,
Greetings of the day
Currently, I am working on the RUL of the battery. I have created an RNN based model. I would wish if anyone can assist me in combining the autoencoder model with my current RNN model so that I can research more with regards to the combination of the two networks. I would be grateful for the assistance in this regard.
Regards
net = layrecnet(1:2,N_node);
net.trainFcn = 'trainlm';
net.trainParam.show = 5;
net.trainParam.lr=lr;
net.trainParam.epochs = 1000;
net.performFcn = 'mse';
net = init(net);
net = train(net,data_train,target_train);
capacity_estimated=(sim(net, data_test))';
capacity_error = gsubtract(target_test',capacity_estimated);
RMSE = rms(capacity_error)*100
MSE=(mean((capacity_estimated-target_test').^2))*100
MAPE=(sum(abs((capacity_estimated-target_test')./(capacity_estimated)))./length(target_test'))*100
MAE=(sum(abs(capacity_estimated-target_test'))./length(target_test'))*100
SD=(std(capacity_estimated-target_test'))*100
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Propulsion and Power Systems についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!