Feature-weighted logistic regression, ridge regression, SVM and SVR

Version 1.0 (79.3 KB) by Ke Yan
Feature-weighted logistic regression, ridge regression, SVM and SVR
1.2K Downloads
Updated 21 Jul 2015

View License

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

Cite As

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. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0