- 博客(17)
- 收藏
- 关注

原创 [形象的解释神经网络激活函数的作用是什么?]
查阅资料和学习,大家对神经网络中激活函数的作用主要集中下面这个观点:激活函数是用来加入非线性因素的,解决线性模型所不能解决的问题。下面我分别从这个方面通过例子给出自己的理解~@lee philip@颜沁睿俩位的回答已经非常好了,我举的例子也是来源于他们,在这里加入了自己的思考,更加详细的说了一下~开讲~首先我们有这个需求,就是二分类问题,如我要将
2017-02-18 07:53:56
11844
1

原创 为什么梯度反方向是函数值下降最快的方向?
刚接触梯度下降这个概念的时候,是在学习机器学习算法的时候,很多训练算法用的就是梯度下降,然后资料和老师们也说朝着梯度的反方向变动,函数值下降最快,但是究其原因的时候,很多人都表达不清楚。所以我整理出自己的理解,从方向导数这个角度把这个结论证明出来,让我们知其然也知其所以然~下面我一开始不提梯度的概念,完全根据自己的理解进行下文的梳理,一步一步推出梯度的来历:导数导数的几何意
2017-01-22 20:57:18
16157
原创 [ windows下boost的安装与错误解决]
第一步:先从官网(www.boost.org)下载最新版的BOOST源码,我这里下的是zip的那个第二步:编译源代码(放心.这里是傻瓜式的操作,很容易操作)(1)先把源代码放在G盘,例如 G:\boost_1_63_0(2)在源代码中找到一个批处理bootstrap.bat,运行即可此时会弹出Building Boost.Jam之类,过一会之后,源代码中新增了1个文件bja
2017-02-13 16:34:32
3595
原创 [Leetcode 452] Minimum Number of Arrows to Burst Balloons
题目描述:There are a number of spherical balloons spread in two-dimensional space. For each balloon, provided input is the start and end coordinates of the horizontal diameter. Since it's horizontal
2017-01-31 09:20:59
371
原创 LeetCode 122 Best Time to Buy and Sell Stock II(股票买入卖出的最佳时间 II)
题目描述:Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complete as many transactions as you like
2017-01-30 07:49:58
368
原创 [Leetcode 455] Assign Cookies
题目描述:Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child i has a greed factor gi, which is the minimum size
2017-01-29 18:16:11
357
原创 [Leetcode 100] Same Tree
Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical and the nodes have the same value.解题思路:题
2017-01-21 13:50:01
399
原创 [leetcode 81] Search in Rotated Sorted Array II
题目描述:Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).Write a function to determine if a given targe
2017-01-20 21:42:39
698
原创 [Leetcode 79] Word Search
题目描述:Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or verti
2017-01-20 21:35:35
323
原创 Leetcode 78. Subsets
iven a set of distinct integers, nums, return all possible subsets.Note: The solution set must not contain duplicate subsets.For example,If nums = [1,2,3], a solution is:[ [3], [1]
2017-01-19 21:23:41
331
原创 Leetcode 189 Rotate Array
题目描述:Rotate an array of n elements to the right by k steps.For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4].Note:Try to come up as many solu
2017-01-18 15:22:34
349
原创 [Leetcode 349]Intersection of Two Arrays
题目描述:Given two arrays, write a function to compute their intersection.Example:Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2].Note:Each element in the result must be uni
2017-01-17 21:08:21
264
原创 [Leetcode 283]Move Zeroes
题目描述:Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.For example, given nums = [0, 1, 0, 3, 12], after
2017-01-16 17:26:35
431
原创 [Leetcode 485 ]Max Consecutive Ones
题目描述:Given a binary array, find the maximum number of consecutive 1s in this array.Example 1:Input: 1,1,0,1,1,1 Output: 3 Explanation: The first two digits or the last three digits are con
2017-01-16 16:39:45
956
原创 VS2015输入参数执行操作步骤
1 当我们如果一个工程需要输入命令的时候,怎么办?下面给出具体流程!找到你要运行的工程,右键得到下面图片然后点属性进入下面界面:然后在配置属性中的调试出现右边的windows调试器,下面有命令参数输入行,到此为止,我们就可以在这个在这个工程下执行带参数的程序了.知乎号:忆臻专栏地址:机器学习算法博客
2017-01-16 16:22:07
4980
原创 通俗理解神经网络BP传播算法
在学习深度学习相关知识,无疑都是从神经网络开始入手,在神经网络对参数的学习算法bp算法,接触了很多次,每一次查找资料学习,都有着似懂非懂的感觉,这次趁着思路比较清楚,也为了能够让一些像我一样疲于各种查找资料,却依然懵懵懂懂的孩子们理解,参考了梁斌老师的博客BP算法浅谈(Error Back-propagation)(为了验证梁老师的结果和自己是否正确,自己python实现的初始数据和梁老师定义
2017-01-15 13:31:37
5086
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人