matching row samples to class labels

前端 未结 1 392
一向
一向 2021-01-21 09:58

I have a small problem with the below code the last line to be specific, I am attempting to find the class names of my \"sample\" by that I mean I need to know which normal and

1条回答
  •  礼貌的吻别
    2021-01-21 10:33

    Is this what you mean? :

    %
    shuffle = randperm(1000);
    sample = sample(shuffle,:);
    
    %
    idx = [a ; p];
    K1 = Book2(idx (shuffle), :);
    

    0 讨论(0)
提交回复
热议问题