I have N samples of training data and M samples of test data, how i combine it together to make it MxN samples.
Afficher commentaires plus anciens
testdata 40X1 cell
traindat 80X1 cell
train_label 80X1 double
I have N samples of training data and M samples of test data, how i combine it together to make it MxN samples. The rows, here, represent each sample and the columns the different types of features detected from a sample. also i want to add an extra column at LAST of the data (preferably): This column should represent the desired labels for the data.
2 commentaires
Ameer Hamza
le 8 Mar 2020
Modifié(e) : Ameer Hamza
le 8 Mar 2020
Can you give a simple example of what you are trying to do? For example, give us 3 training samples and 3 test samples and show us how do you want them converted to 3x3=9 samples.
Also describe what data is stored in these cell arrays.
Balaji M. Sontakke
le 8 Mar 2020
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Text Analytics Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!