bin_classification_​toolbox.zip

版本 1.1.0.0 (23.1 KB) 作者: Zach Ziheng Wang
A toolbox used to learn linear binary classifiers with different loss functions.
513.0 次下载
更新时间 2014/5/14

查看许可证

This toolbox is used to learn linear binary classifiers through regularized risk minimization.
Specifically, it assumes a linear binary classifier y=sign(w'x+b), and the parameters are learned by minimizing the following objective function:
w*,b*=argmin 1/n sum l(y_i,w'x_i+b) + lambda/2*w'w
We use conjugate gradient descent method to solve the optimization problem.
Features:
1. The classifier can be learned using different loss functions such as square loss and logistic loss or any user defined loss.
2. The regularization parameter can be tuned through repeated k-fold cross validation or a separate validation set.
3. Regularization parameter can be tuned based on different criteria such as overall accuracy, average accuracy, average precision and area under roc curve
Note that if you want to use average precision and area under roc curve, make sure vlFeat toolbox (http://www.vlfeat.org/) is downloaded and included in the path

引用格式

Zach Ziheng Wang (2024). bin_classification_toolbox.zip (https://www.mathworks.com/matlabcentral/fileexchange/46614-bin_classification_toolbox-zip), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
致谢

启发作品: Truss displacement based on FEM

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

demo figure changed

1.0.0.0