您好,我發現這個教程關於 http://www.mathworks.com/help/images/examples/color-based-segmentation-using-k-means-clustering.html 從圖像分割顏色有有一個部分,其中的顏色已被分割爲3部分 具體地,代碼 for k = 1:nColors
color = he;
color(rgb_l
我試圖把這種其中: n <- NROW(train)
s <-which(train$cl[-n] == state)
我知道,這只是一個比較,所以我相信熊貓我可能只是這樣做: n = train.count()
s = train['-n'] == state
我真的不知道如何將R中的cl翻譯成熊貓 謝謝!