MATLAB Answers

how to use deep learning with multivariable?

3 views (last 30 days)
Meltem Tekinay
Meltem Tekinay on 8 May 2020
Commented: Mahesh Taparia on 18 May 2020
Hello everyone,
I've been searching for how to use more than one independent variable in deep learning but I couldn't find it yet. Also I'm not sure if it's possible or not. Am i missing something important about deep learning theory? Hope i could explain my problem.
Thanks in advance!!


Sign in to comment.

Answers (1)

Mahesh Taparia
Mahesh Taparia on 11 May 2020
It is not clear what kind of data you are having and what you want to do with that.Explain it. Also confirm whether you are having a labeled dataset or unlabeled dataset? The algorithm is completely dataset and application dependent. It might be the case that, it can be solved by some basic machine learning algorithms.


Show 3 older comments
Mahesh Taparia
Mahesh Taparia on 18 May 2020
I think you want to train different models in a single code with different set of input. In this case, keep the different name of net variable, i.e.
net1 = trainNetwork(XTrain1,YTrain,layers,options);
net2 = trainNetwork(XTrain2,YTrain,layers,options);
Meltem Tekinay
Meltem Tekinay on 18 May 2020
I want one model that has relation with all XTrain and YTrain datas. As I searched, trainNetwork function is working with same weights and if I use same network, when I add XTrain1 then training is developing. Do I think right?
Mahesh Taparia
Mahesh Taparia on 18 May 2020
Hi Club the complete dataset into 1 variable Xtrain instead of separate variables (as you mentioned Xtrain1/ Xtrain2) and then train the model.

Sign in to comment.




Community Treasure Hunt

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

Start Hunting!

Translated by