当前位置:网站首页>ML8自学笔记-LDA原理公式推导
ML8自学笔记-LDA原理公式推导
2022-07-29 05:22:00 【十九岁的花季少女】
线性判别分析 (LDA)(有监督)
用途:数据预处理中的降维,分类任务
目标:将特征空间投影到一个维度更小的K维子空间中。同时保持区分类别信息。
关心的是怎么让数据更加区分开。
核心点在于,w如何求解,就是如何投影。
分为 类别间和类别中的要求。
计算每类样例的均值
求投影后的均值。对每一个数据进行投影后求均值就相当于对之前的均值投影。
优化目标:J(w)越大越好
想要最大化J(w),投影到x轴会比投影到y轴更大,到那时投影到x轴分类效果不好。所以提出了一个概念:散列值。希望散列值在样本映射后最小。考虑因素变成了,J(w)越大越好,S越小越好。
将上面的两个考虑因素综合成目标函数。获得类内散布矩阵。
类间散布矩阵。得到最终目标函数。
求解。将SwiSB看作是A,即Aw=λw,w为特征向量。
边栏推荐
- Android studio login registration - source code (connect to MySQL database)
- 【综述】图像分类网络
- 【网络设计】ConvNeXt:A ConvNet for the 2020s
- Flutter 绘制技巧探索:一起画箭头(技巧拓展)
- C connect to SharePoint online webservice
- 四、One-hot和损失函数的应用
- pip安装后仍有解决ImportError: No module named XX
- 虚假新闻检测论文阅读(三):Semi-supervised Content-based Detection of Misinformation via Tensor Embeddings
- FFmpeg创作GIF表情包教程来了!赶紧说声多谢乌蝇哥?
- 【Clustrmaps】访客统计
猜你喜欢

简单聊聊 PendingIntent 与 Intent 的区别

【Transformer】ACMix:On the Integration of Self-Attention and Convolution

迁移学习—Geodesic Flow Kernel for Unsupervised Domain Adaptation

Error in installing pyspider under Windows: Please specify --curl dir=/path/to/build/libcurl solution

备份谷歌或其他浏览器插件
![[pycharm] pycharm remote connection server](/img/b2/a4e1c095343f9e635ff3dad1e3c507.png)
[pycharm] pycharm remote connection server
![[overview] image classification network](/img/2b/7e3ba36a4d7e95cb262eebaadee2f3.png)
[overview] image classification network

Wechat built-in browser prohibits caching
![[target detection] 6. SSD](/img/7d/f137ffa4b251360441a9e4ff0f2219.png)
[target detection] 6. SSD
![[image classification] how to use mmclassification to train your classification model](/img/98/f8536bc4c6a291a028a0c4227653ee.png)
[image classification] how to use mmclassification to train your classification model
随机推荐
二、OCR训练时,将txt文件和图片数据转为lmdb文件格式
Valuable blog and personal experience collection (continuous update)
GA-RPN:引导锚点的建议区域网络
Reporting service 2016 custom authentication
研究生新生培训第一周:深度学习和pytorch基础
神经网络相关知识回顾(PyTorch篇)
Flutter 绘制技巧探索:一起画箭头(技巧拓展)
clion+opencv+aruco+cmake配置
【Transformer】AdaViT: Adaptive Vision Transformers for Efficient Image Recognition
Anr Optimization: cause oom crash and corresponding solutions
torch.nn.Parameter()函数理解
【图像分类】如何使用 mmclassification 训练自己的分类模型
Ribbon learning notes 1
MarkDown简明语法手册
pip安装后仍有解决ImportError: No module named XX
迁移学习—— Transfer Feature Learning with Joint Distribution Adaptation
【Clustrmaps】访客统计
[semantic segmentation] setr_ Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformer
ReportingService WebService form authentication
关于Flow的原理解析