当前位置:网站首页>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为特征向量。
边栏推荐
- PyTorch的数据读取机制
- 性能优化之趣谈线程池:线程开的越多就越好吗?
- Reporting service 2016 custom authentication
- How to obtain openid of wechat applet in uni app project
- 迁移学习——Transitive Transfer Learning
- 备份谷歌或其他浏览器插件
- 一、迁移学习与fine-tuning有什么区别?
- 【pycharm】pycharm远程连接服务器
- 第一周任务 深度学习和pytorch基础
- [image classification] how to use mmclassification to train your classification model
猜你喜欢

【DL】关于tensor(张量)的介绍和理解

【ML】机器学习模型之PMML--概述

The third week of postgraduate freshman training: resnet+resnext

The differences and reasons between MySQL with and without quotation marks when querying string types

【TensorRT】将 PyTorch 转化为可部署的 TensorRT
![[go] use of defer](/img/10/9e4e1c593870450c381a154f31ebef.png)
[go] use of defer

iSCSI vs iSER vs NVMe-TCP vs NVMe-RDMA
![[convolution kernel design] scaling up your kernels to 31x31: revising large kernel design in CNN](/img/71/f3fdf677cd5fddefffd4715e747297.png)
[convolution kernel design] scaling up your kernels to 31x31: revising large kernel design in CNN

ASM插桩:学完ASM Tree api,再也不用怕hook了

【综述】图像分类网络
随机推荐
C # judge whether the user accesses by mobile phone or computer
【Transformer】TransMix: Attend to Mix for Vision Transformers
三、如何搞自定义数据集?
关于Flow的原理解析
[ml] PMML of machine learning model -- Overview
Spring, summer, autumn and winter with Miss Zhang (5)
迁移学习——Transitive Transfer Learning
【TensorRT】将 PyTorch 转化为可部署的 TensorRT
五、图像像素统计
【语义分割】语义分割综述
MySQL inserts millions of data (using functions and stored procedures)
【目标检测】KL-Loss:Bounding Box Regression with Uncertainty for Accurate Object Detection
Flutter 绘制技巧探索:一起画箭头(技巧拓展)
二、如何保存MNIST数据集中train和test的图片?
神经网络相关知识回顾(PyTorch篇)
ASM piling: after learning ASM tree API, you don't have to be afraid of hook anymore
Isaccessible() method: use reflection techniques to improve your performance several times
Change! Change! Change!
Flink connector Oracle CDC synchronizes data to MySQL in real time (oracle12c)
fastText学习——文本分类