To combine two networks in a series manner
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Propulsion and Power Systems finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!