File Exchange

image thumbnail

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

version 1.0.0.0 (79.3 KB) by Ke Yan

Ke Yan (view profile)

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

12 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

Comments and Ratings (0)

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

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor