How to understand the fsrftest function in Regression Learner App
Ältere Kommentare anzeigen
From the document, I find that the algorithm description of the fsrftest function, which performs feature selection based on variable importance in regression learners, is as follows:
Univariate Feature Ranking Using F-Tests
- fsrftest examines the importance of each predictor individually using an F-test. Each F-test tests the hypothesis that the response values grouped by predictor variable values are drawn from populations with the same mean against the alternative hypothesis that the population means are not all the same. A small p-value of the test statistic indicates that the corresponding predictor is important.
- The output scores is –log(p). Therefore, a large score value indicates that the corresponding predictor is important. If a p-value is smaller than eps(0), then the output is Inf.
- fsrftest examines a continuous variable after binning, or discretizing, the variable. You can specify the number of bins using the 'NumBins' name-value pair argument
So,how should I understand the statement "In regression tasks, the null hypothesis (H0) of the F-test is that at least one parameter to be fitted is zero," and does it conflict with the statement in the document?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!