I'm not sure how to train this?
1 view (last 30 days)
Show older comments
I have created "lgraph_1" (LayerGraph file) through the Deep Learning Network. I originally had numbers for 29 columns (set as "XTrain") and a classification for the 30th column (set as "YTrain") and I converted the XTrain into images and named that file "Image". I'm not sure how to use XTrain or Image to get a classification for YTrain. I initially used this and it said "not enough input arguments". Does anyone know if there is a way to train this?
net=trainNetwork(Image,lgraph_1,options);
0 Comments
Answers (1)
Divya Gaddipati
on 2 Mar 2020
You need to provide both Xtrain and YTrain to the trainNetwork function.
net = trainNetwork(Xtrain, YTrain, lgraph_1, options);
Please refer to the following link for more information:
Hope this helps!
See Also
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!