![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Machine Learning
北极星以南南
继续加油啊!
展开
-
关于全连接层linear的层维度匹配问题
All you have to care isb=cand you are done:m1: [a x b], m2: [c x d]m1is[a x b]which is[batch size x in features]m2is[c x d]which is[in features x out features]原创 2019-12-04 23:05:30 · 2231 阅读 · 0 评论 -
pytorch预训练模型的下载地址(.pth)
https://github.com/pytorch/vision/tree/master/torchvision/models%Resnet:model_urls = { 'resnet18': 'https://download.pytorch.org/models/resnet18-5c106cde.pth', 'resnet34': 'https://downl...转载 2019-11-26 09:50:52 · 7513 阅读 · 1 评论 -
从熵到交叉熵损失函数的理解
首先,热力学中的“熵”和我们要说的机器学习中的也就是信息学中的“熵”是不一样的。记得高中化学老说说过,熵越大说明状态越不稳定,气态的熵就大于固态的熵。但是现在要说的“熵”就不一样了。本文主要的内容:熵-->相对熵(KL散度)-->交叉熵。先来总结一下:熵(信息熵)表示事件所含信息量的大小。熵越大,所含信息量越大。相对熵(KL散度)衡量两个分布的差异交叉熵KL散...转载 2019-10-29 21:25:22 · 155 阅读 · 0 评论 -
学术论文中常用简写(缩写)汇总
1:A.D.拉丁文:anno Domini释义:in the year of the Lord 耶稣纪年,公元2:a.m.拉丁文:Ante Meridiem释义:before middday 上午,午前3:c., ca.拉丁文:circa释义:around, about, approximately 大约4:Cap拉丁文:capitulus释义:chapter 章节5:cf.拉丁...转载 2019-11-09 22:02:54 · 18155 阅读 · 0 评论 -
机器学习中常用的核函数
核函数K(kernel function)就是指K(x, y) = <f(x), f(y)>,其中x和y是n维的输入值,f(·) 是从n维到m维的映射(通常,m>>n)。<x, y>是x和y的内积(inner product)(也称点积(dot product))。1. LinearKernel线性核是最简单的核函数,核函数的数学公式如下:...转载 2019-11-09 21:37:40 · 5891 阅读 · 0 评论