Azzera filtri
Azzera filtri

To combine two networks in a series manner

1 visualizzazione (ultimi 30 giorni)
Shaheer Ansari
Shaheer Ansari il 25 Mar 2021
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

Risposte (0)

Categorie

Scopri di più su Propulsion and Power Systems in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by