www.gusucode.com > stats 源码程序 matlab案例代码 > stats/DetermineTheImportantPredictorsExample.m

    %% Determine the Important Predictors
%%
% Load the sample data.

% Copyright 2015 The MathWorks, Inc.

load fisheriris
%%
% Find the important predictors.
[ranked,weight] = relieff(meas,species,10)
%%
% The fourth predictor is the most important, and the second predictor is
% the least important.