当前位置:网站首页>Li Hongyi 2020 machine learning -- P11 logistic progression
Li Hongyi 2020 machine learning -- P11 logistic progression
2022-07-21 03:30:00 【snowflier】
Review of classification
Step 1 function set
Step 2:Goodeness of function
Suppose it comes from a set of posterior probabilities training data, A certain group w and b Generate a set N individual training data Probability
Is most likely w and b, Is the biggest L, namely
Convert the determined maximum to the minimum , namely
take Ln Can simplify the calculation , We often see , This will change multiplication into addition
y hat Indicates the conclusion of correct classification ,1 Corresponding class 1 0 Corresponding class 2
Put in the above formula
The cross entropy represents how close the two distributions are
Compare the two regression, as follows
Find the best function
use loss function Yes w And for b Partial differential of
Treat the second item in the same way
Yes w The partial differential of is
When updating this parameter :
It is related to three parameters ,xi Is the sample , The green underline indicates the goal and the present model Of output The gap between , Learning rate
larger difference, large update
Limitation of Logistic Regression
Samples like this , adopt logistic Got boundary It's a straight line , So it's hard to separate two categories .
Solutions to problems :Feature Transformation, The way to change with the help of a machine is cascading logistic regression models
Map the original feature plane to another feature plane , Adjustment here w and b, Easy to use one boundary Distinguish between different kinds
边栏推荐
猜你喜欢
随机推荐
Statistical information collection of dream
Introduction to microservice theory
(七)PyTorch深度学习:全连接层网络
Swift中struct与class的区别
SQL processing data synchronization group analysis
A. Log Chopping
达梦统计信息收集
(六)PyTorch深度学习:Logistic回归(多层多维特征输入)
达梦DTS工具使用
(三)PyTorch深度学习:反向传播梯度下降
Antd mobile form validation RC form usage
SQL处理数据 同期群分析
mysql_账号授权权限回收、账号锁定解锁、账号创建删除
事务(隔离界别)
微服務理論介紹
Centos8 (Linux) install mysql8.0.28
Differences between JDBC and ODBC
单链式存储结构 插入顺序的问题
js事件流 (捕获阶段、目标阶段、冒泡阶段)取消浏览器的默认冒泡行为
MIMO-OFDM无线通信技术及MATLAB实现(2)-SISO下的室外信道模型