In classification and regression problems, sometimes you know the importance of the features in prior. This situation makes it necessary to assign the features different weights when training a prediction model. Here we modify the objective function of 4 popular classification/regression algorithms and provide the feature-weighted versions of logistic regression, ridge regression, SVM and SVR, all for linear cases. The SVM and SVR are based on our modified liblinear toolbox, which is included in this package. Note that we actually assign different penalty weights to the features, so larger penalty indicates smaller importance.
Please refer to Ke Yan et al., Improving the transfer ability of prediction models for electronic noses, Sensors and Actuators B: Chemical, 2015
引用格式
Ke Yan (2024). Feature-weighted logistic regression, ridge regression, SVM and SVR (https://www.mathworks.com/matlabcentral/fileexchange/52213-feature-weighted-logistic-regression-ridge-regression-svm-and-svr), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- AI, Data Science, and Statistics > Deep Learning Toolbox > Image Data Workflows > Pattern Recognition and Classification >
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Regression > Linear Regression >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!liblinear-1.93-fw/matlab/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0 |
|