MATLAB使用classify做判别分析时出现:TRAINING 中的每个组必须至少包含两个观测值错误。
[x1,y1]=classify(sample,train,group,'mahalanobis'); %马氏距离分类