how to use deep learning with multivariable?
Show older comments
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!!
Answers (1)
Mahesh Taparia
on 11 May 2020
0 votes
Hi
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.
6 Comments
Meltem Tekinay
on 12 May 2020
Edited: Meltem Tekinay
on 12 May 2020
Mahesh Taparia
on 13 May 2020
Hi
You can save your trained weights and model performance on test data for comparison with different model.
If you want to increase the training dataset, you need to retrain the model/ used the previous weights and start training again. In this case you need to add the data in the training dataset folder/file.
Similarly for the test/validation data, add them into respective source file/folder and then check the performance.
Meltem Tekinay
on 18 May 2020
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
on 18 May 2020
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.
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!