Are the training and testing images in the example train stacked autoencoder the same?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
https://www.mathworks.com/help/nnet/examples/train-stacked-autoencoders-for-image-classification.html
in the above example are they considering the same training set data as the testing data with jumbled sequence?or are they using 2 different datasets? can anybody please answer this
1 Kommentar
CHHAVI
am 7 Jul. 2020
How can i use cross validation in this example instead of dividing data in training and testing?
Antworten (1)
Vishal Bhutani
am 31 Aug. 2018
Based on my understanding you want to know about the dataset for training and testing in stacked autoencoder. The datasets used for training and testing are different. They both are synthetic dataset, synthetic images have been generated by applying random affine transformations to digit images created using different fonts. And as you may aware, in Neural Networks both training and testing data is different. And as mentioned in the code while loading training and testing data separate dataset is loaded.
% Load the training data into memory
[xTrainImages,tTrain] = digitTrainCellArrayData;
% Load the test images
[xTestImages,tTest] = digitTestCellArrayData;
Hope it might help you.
1 Kommentar
debojit sharma
am 9 Jun. 2023
Suppose I have 4 different classes of images organized in separate folders for each class. How can I prepare these dataset to fed to a stacked autoencoder? Like in this example how 'digitTrainCellArrayData' dataset is prepared so as to make it ready to fed in a autoencoder. Please provide a sample code for this
Siehe auch
Kategorien
Mehr zu Deep Learning Toolbox 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!