![240](https://cdn2.jianshu.io/assets/default_avatar/12-aeeea4bedf10f2a12c0d50d626951489.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
IP属地:北京
在神经网络中,通常需要随机初始化模型参数的原因是什么?回顾多层感知机一节描述的多层感知机。为了方便解释,假设输出层只保留一个输出单元 𝑜1 (删...
K折交叉验证 由于验证数据集不参与模型训练,当训练数据不够用时,预留大量的验证数据显得太奢侈。一种改善的方法是K折交叉验证(K-fold cro...
线性回归 从零开始的实现 使用pytorch的简洁实现 softmax与分类模型 softmax某个类别的softmax结果: 交叉熵 公式:一...
从零开始的实现 使用pytorch的简洁实现
题目 Given an array nums of n integers and an integer target, find three i...
题目 Given an array nums of n integers, are there elements a, b, c in nums...
题目 Write a function to find the longest common prefix string amongst an ...
题目 实现一个 atoi 函数,使其能将字符串转换成整数。首先,该函数会根据需要丢弃无用的开头空格字符,直到寻找到第一个非空格的字符为止。当我们...
题目 Given a string s, find the longest palindromic substring in s. You ma...