逻辑回归实现二分类我要分享

Binary classification by logistic regression

friendooe logistic-regression Logistic-分类 逻辑回归 逻辑回归-matlab

关注次数: 371

下载次数: 1

文件大小: 782B

代码分类: 仿真计算

开发平台: matlab

下载需要积分: 1积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:利用逻辑回归实现二分类的matlab程序。随机生成训练样本,利用梯度下降法进行训练,并且在样本图上画出了分类边界。


English Description:

The matlab program of binary classification is realized by using logistic regression. The training samples are randomly generated, and the gradient descent method is used for training, and the classification boundary is drawn on the sample graph.


代码预览