How to make Deep Ensemble Learning Model with Deep Learning toolbox

Can someone show me how to build an example enseble deep network like is shown in figure 2 of attached zip?
See attached or via link https://www.mdpi.com/2076-3417/10/4/1504/pdf
https://www.mdpi.com/2076-3417/10/4/1504/pdf

2 Comments

The issue was that I made the attached network I made in Deep Learning Toolbox directly referencing "Layers"
[net0,info0] = trainNetwork(inputTrain,targetTrain,lgraph_1.Layers,options);
This give errror shown below.
I should have ran it...
[net0,info0] = trainNetwork(inputTrain,targetTrain,lgraph_1,options);
This works without errors.
Kind Regards
Emil

Sign in to comment.

Answers (1)

Hi Emil,
Regarding the networks: RNNs, GRU and LSTMs are definitely supported.
Regarding the ensemble method: the easiest way to ensemble deep learning models is to train different networks individually and then combine the predictions of all networks using one of the post-hoc ensemble approaches (e.g. average predictions or majority voting). To give you some ideas:

1 Comment

Thanks Paola
For example, the problem I have is building the layers with the deep learning toolbox.
When I try to train the network it get an error.

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 28 Nov 2020

Edited:

on 21 Dec 2020

Community Treasure Hunt

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

Start Hunting!