السلام عليكم و رحمة الله
في svm classifier باستخدامmatlab كيف يمكنني عمل ال group matrix في ال function svmtrain
ده وصفها في ال help
Group
Grouping variable, which can be a categorical, numeric, or logical vector, a cell vector of strings, or a character matrix with each row representing a class label. Each element of Group specifies the group of the corresponding row of Training. Group should divide Training into two groups. Group has the same number of elements as there are rows in Training. svmtrain treats each NaN, empty string, or 'undefined' in Group as a missing value, and ignores the corresponding row of Training.
و جزاكم الله خيراا