当前位置:网站首页>逻辑回归和线性回归
逻辑回归和线性回归
2022-06-22 09:10:00 【code bean】
首先线性回归的定义域和值域都是负无穷到正无穷,它用来预测一个值,比如知道身高预测体重。
逻辑回归其实是由线性回归演变而来

逻辑回归一般用来做二分类,也就是将概率和0.5做比较,概率大于0.5属于一类,其它属于另外一类。所以我希望值域在(0,1),于是就有了逻辑函数。再叠加上线性回归模型就有了逻辑回归。
逻辑回归的决策边界是线性的

由上方公式推导可知,决策边界是条直线 。(直线上的所有元素的概率为0.5)
也就是说,首先可以得到决策边界的方程,从方程可以得知决策边界是线性的还是非线性的。
边栏推荐
- Solidity from introduction to practice (6)
- Sound and shadow 2022 heavy release! Detailed explanation of the new functions of Huisheng Huiying 2022
- C语言刷题 | 用putchar输出Love(14)
- 字符串与内存操作函数详解与模拟实现
- Flask blog practice - display the navigation menu and home page data of the whole site
- Solidity from introduction to practice (II)
- PHP online common color comparison table
- Interview shock 59: can there be multiple auto increment columns in a table?
- WebRTC系列-网络传输之IceConfig及stunPing失败处理
- Nouvelle éclosion de Coronavirus
猜你喜欢

Solidity from introduction to practice (II)

15 command mode

Interview shock 59: can there be multiple auto increment columns in a table?

Thread. Source code analysis of start() method

Solidity from introduction to practice (IV)

Kali Trojan invades win7 system

我的第一个Go程序

Flask blog practice - realize the classified management of blogs

PHP login registration page

Report: in the technical field, men are more likely to get job interviews
随机推荐
mknod
cocoscreator编译报错记录 Could not write cache value 。。。.gradle\daemon\4.10.3\regi
DOM编程
Luogu p4292 [wc2010] reconstruction plan
[detailed explanation] point multiplication and cross multiplication of neural network matrix (pytorch version)
Ten ways to write ABC by three different threads [concurrent programming JUC]
项目优化+上线(掌握了么?)
函数总结(1)
【node】脚手架搭建服务器,完成token验证
深入解析final关键字的用法
C语言刷题 | 用%f控制符输出6位小数(17)
Spark yard memory resource calculation and analysis (Reference) -- optimized configuration of executor cores, nums and memory
炒股致富之curl抓股票信息
Use record of rabbit nest
性能优化专题
Win11 mongodb installation tutorial
scnprintf和snprintf的区别
Guide to quick withdrawal and withdrawal of us and Hong Kong stocks
10.file/io stream -bite
C语言刷题 | 温度转换(11)