I have 2 sets of train data, A
and B
with different sizes, which I want to use for training the classifier, and I have 2 labels in 2 char variables like,
L1 = 'label A';
L2 = 'label B';
How can I produce appropriate labels ?
I will use cat(1,A,B);
to merge data first.
Depending on the size(A,1)
and size(B,1)
, It should be something like,
label = ['label A'
'label A'
'label A'
.
.
'label B'
'label B'];