フィルターのクリア

To combine two networks in a series manner

1 回表示 (過去 30 日間)
Shaheer Ansari
Shaheer Ansari 2021 年 3 月 25 日
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 件)

カテゴリ

Help Center および File ExchangePropulsion and Power Systems についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by