![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
文章平均质量分 91
小老袁
荷兰代尔夫特理工大学,航天航空控制工程师
展开
-
Python中各种小方法汇总
1. 确定列表中出现最多的元素源地址在StackOverflow:https://stackoverflow.com/questions/1518522/find-the-most-common-element-in-a-list 代码如下:def most_common(lst): return max(set(lst), key=lst.count)方法:集合set函数确定列表l...原创 2018-05-13 01:47:31 · 462 阅读 · 0 评论 -
Softmax函数于导数及交叉熵系数导数的计算
Softmax函数及导数softmax函数在各种神经网络中应用广泛,本文粗略推导softmax函数的导数计算过程,假设softmax函数为: 如同名称所说,这是一个‘max’函数的‘soft’版本。区分于原版的max函数,这个函数将一组数转化为一组0到1之间的值,并且这些值的总和为...原创 2018-05-31 06:03:35 · 945 阅读 · 0 评论