当前位置:网站首页>Chapter III summary of linear model
Chapter III summary of linear model
2022-07-24 05:49:00 【CsdN317a】
Catalog
The third chapter Summary of linear models
1. The basic form of linear model
Univariate linear regression ( Only one feature x):
Logarithmic probability function ( For the rate function ):
Information entropy -- Measure the uncertainty of things :
4. Linear discriminant analysis (LDA)
Generalized Rayleigh quotient :
The third chapter Summary of linear models
Linear model is a function of prediction learned in the form of linear combination . The main content of this chapter is the basic form of linear model 、 Linear regression 、 Log probability regression 、 Linear discriminant analysis 、 Multi category learning 、 Category imbalance .

1. The basic form of linear model
Scalar form :
Vector form :

Generalized linear model :
![]()
2. Linear regression
Univariate linear regression ( Only one feature x):

Multiple linear regression :
Be careful :1. The loss function is obtained by least square method or maximum likelihood estimation ;2. The problem becomes to find the maximum value of convex function ;3. A positive semidefinite of a Hessian matrix is a convex function ;4. Matrix derivation is generally the denominator layout , The default matrix is column vector ;5. When X The dimension of is larger than the number of samples , Can cause w More solutions , Analogy linear equation has too many dependent variables , There will be multiple solutions .
3. Log probability regression -- Also known as logistic regression , be used for Solve the problem of classification
Logarithmic probability function ( For the rate function ):

Logarithmic probability :

Loss function :

The loss function can also be obtained according to information theory :
Information entropy -- Measure the uncertainty of things :

Relative entropy :

Cross entropy :

Cross entropy is used to measure the difference between two distributions , Typically, the difference between the ideal distribution and the predicted distribution .
4. Linear discriminant analysis (LDA)
The basic idea : There is a straight line , Make the projection of similar samples as close as possible , The projection of heterogeneous samples should be as far away as possible .
LDA It is also often regarded as a classical supervised dimensionality reduction technology .
solve w The process uses generalized eigenvalues and generalized Rayleigh quotients .
Generalized eigenvalue ;

by A be relative to B Generalized eigenvalue of ,x by A be relative to B Is a generalized eigenvalue
Eigenvector of .
Generalized Rayleigh quotient :

5. take LDA Extended to multi classification tasks , The basic idea of multi classification learning is to disassemble the multi classification task into several binary classification tasks .
6. Category imbalance
The number of training samples in different categories varies greatly .
Rebalancing strategy :
Undersampling : Remove some counterexamples , Make positive , The number of counterexamples is close to , Representative algorithm EasyEnsemble;
Oversampling : Add some positive examples , Make the number of positive and negative examples close to , Representative algorithm SMOTE;
Threshold shift : Re scaling is embedded in the decision-making process of classifier prediction .
边栏推荐
- Syntax differences between MySQL and Oracle
- Likeshop | single merchant mall system code open source no encryption -php
- ‘Results do not correspond to current coco set‘
- Highcharts use custom vector maps
- Zotero Quick Start Guide
- SSM项目配置中问题,各种依赖等(个人使用)
- 达梦数据库_DISQL下各种连接数据库的方法和执行SQL、脚本的方法
- likeshop单商户SAAS商城系统无限多开
- Flink task, sub task, task slot and parallelism
- Multi merchant mall system function disassembly lecture 06 - platform side merchant settlement agreement
猜你喜欢

《统计学习方法(第2版)》李航 第16章 主成分分析 PCA 思维导图笔记 及 课后习题答案(步骤详细)PCA 矩阵奇异值 第十六章

Flink task, sub task, task slot and parallelism

多商户商城系统功能拆解05讲-平台端商家主营类目

Multi merchant mall system function disassembly Lecture 10 - platform end commodity units

Zotero Quick Start Guide

多商户商城系统功能拆解06讲-平台端商家入驻协议

Mysqldump export Chinese garbled code

《统计学习方法(第2版)》李航 第14章 聚类方法 思维导图笔记 及 课后习题答案(步骤详细) k-均值 层次聚类 第十四章

Likeshop single merchant mall system is built, and the code is open source without encryption

Similarities and differences of ODS, data mart and data warehouse
随机推荐
Official account development custom menu and server configuration are enabled at the same time
多商户商城系统功能拆解03讲-平台端商家管理
【activiti】组任务
程序员常说的API是什么意思?API类型有什么呢?
多商户商城系统功能拆解11讲-平台端商品栏目
Delete the weight of the head part of the classification network pre training weight and modify the weight name
第四章 决策树总结
The way to attack the first poca hackson project "Manta network"
【activiti】流程变量
【mycat】mycat分库分表
读取csv文件的满足条件的行并写入另一个csv中
ThreadLocal存储当前登录用户信息
‘Results do not correspond to current coco set‘
Too many database connections
likeshop单商户SAAS商城系统无限多开
Target detection tagged data enhancement code
likeshop | 单商户商城系统代码开源无加密-PHP
Problems in SSM project configuration, various dependencies, etc. (for personal use)
Multi merchant mall system function disassembly lesson 03 - platform side merchant management
Multi merchant mall system function disassembly lecture 06 - platform side merchant settlement agreement

