240 发简信
IP属地:北京
  • 120
    打卡2020-02-25

    在神经网络中,通常需要随机初始化模型参数的原因是什么?回顾多层感知机一节描述的多层感知机。为了方便解释,假设输出层只保留一个输出单元 𝑜1 (删去 𝑜2 和 𝑜3 以及指向它...

  • 打卡2020-02-19

    K折交叉验证 由于验证数据集不参与模型训练,当训练数据不够用时,预留大量的验证数据显得太奢侈。一种改善的方法是K折交叉验证(K-fold cross-validation)。...

  • 打卡2020-02-14

    线性回归 从零开始的实现 使用pytorch的简洁实现 softmax与分类模型 softmax某个类别的softmax结果: 交叉熵 公式:一个样本的交叉熵损失:一个sam...

  • 线性回归 PyTorch 实现

    从零开始的实现 使用pytorch的简洁实现

  • LeetCode 3Sum Closest

    题目 Given an array nums of n integers and an integer target, find three integers in nums...

  • LeeCode 3Sum

    题目 Given an array nums of n integers, are there elements a, b, c in nums such that a + ...

  • LeetCode Longest Common Prefix

    题目 Write a function to find the longest common prefix string amongst an array of string...

  • LeetCode String to Integer (atoi)

    题目 实现一个 atoi 函数,使其能将字符串转换成整数。首先,该函数会根据需要丢弃无用的开头空格字符,直到寻找到第一个非空格的字符为止。当我们寻找到的第一个非空字符为正或者...

  • LeetCode Longest Palindromic Substring

    题目 Given a string s, find the longest palindromic substring in s. You may assume that t...

  • LeetCode Median of Two Sorted Arrays

    题目 给定两个大小为 m 和 n 的有序数组 nums1 和 nums2。请你找出这两个有序数组的中位数,并且要求算法的时间复杂度为 O(log(m + n))。你可以假设 ...

  • LeetCode TwoSum 两数之和

    题目 Given an array of integers, return indices of the two numbers such that they add up ...