- 博客(11)
- 资源 (1)
- 收藏
- 关注
原创 Algorithm(Robert Sedgewick)-Day06 | Quicksort
Basic planShuffle the array.Partition so that, for some jentry a[j] is in placno larger entry to the left of jno smaller entry to the right of jSort eah piece recursivelyPhase I.Repeat until ...
2019-06-15 12:15:13 128
原创 Algorithm(Robert Sedgewick)-Day05 | Mergesort
MergesortTo sort an array, divide it into two halves, sort the two halves (recursively), and then merge the results.Goal. Given two sorted subarrays a[lo] to a[mid] and a[mid] to a[hi], replace wi...
2019-06-11 11:52:04 163
原创 Paper阅读笔记 | 01 Deep learning
01 引言02 监督学习03 反向传播和链式法则x的微小变化影响到y的变化,再影响z的变化In practice, poor local minima are rarely a problem with large net- works. Regardless of the initial conditions, the system nearly always reaches solu...
2019-06-10 12:02:22 160
原创 Paper阅读笔记 | 02 AlexNet
01 论文研究背景、成果及意义两个重要条件LabelMe, ImageNet等大的标注数据集的出现硬件计算能力的提升(算力比较强的GPU等)研究意义环境影响的物体展示出多样性,想要获得更好的识别能力需要更加强大的训练数据以及更加复杂的拟合参数图像物体分类计算机视觉中的基本问题。图像分割、物体跟踪、行为分析等其他高级视觉任务的基础。深度学习分类两个阶段第一阶段:训练阶段第二阶段:...
2019-06-10 12:01:32 181
原创 Algorithm(Robert Sedgewick)-Day04 | Elementary sorts
Sorting problemRearrange array of N items into ascending order.Goal. Sort any type of data.Sort random real numbers.Sort strings from file in alphabetical order.Sort the files in a given director...
2019-06-09 12:21:49 214
原创 Algorithm(Robert Sedgewick)-Day03 | Bags, Stacks and Queues
Fundamental data types.Value: collection of objectsOperations: insert, remove, iterate, test if emptyStack. Examine the item most recently added. LIFO = ‘last in first out’ push, popQueue. Examine...
2019-06-07 12:16:45 120
原创 Algorithm(Robert Sedgewick)-Day02 | Analysis of Algorithms
Primary pratical reason: avoid performance bugsPredict performanceCompare algorithmsProvide guaranteesUnderstand theoretical basisUse sicentific method to understand performanceObserve some feat...
2019-06-06 13:40:29 116
原创 菜鸟的奋斗——Python-100-Days(3)
Day08类和对象类是对象的蓝图和模板,而对象是类的实例。在面向对象编程的世界中,一切皆为对象,对象都有属性和行为,每个对象都是独一无二的,而且对象一定属于某个类(型)。当我们把一大堆拥有共同特征的对象的静态特征(属性)和动态特征(行为)都抽取出来后,就可以定义出一个叫做“类”的东西。在Python中可以使用class关键字定义类。在Python中,属性和方法的访问权限只有两种,也就...
2019-06-02 21:38:06 248
原创 菜鸟的奋斗——Python-100-Days(2)
Day06可变参数具体有多少个参数是由调用者来决定,我们作为函数的设计者对这一点是一无所知的,因此在不确定参数个数的时候,我们可以使用可变参数,代码如下所示。# 在参数名前面的*表示args是一个可变参数# 即在调用add函数时可以传入0个或多个参数def add(*args): total = 0 for val in args: total += ...
2019-06-02 10:45:25 129
原创 统计学习方法训练营第一次作业:感知机
感知机模型的假设空间是分离超平面 w·x + b = 0;模型的复杂度主要体现在x的特征数量,也就是维度d上使用自编程实现:class MyPerceptron: def __init(self): self.w = None #x维度未知 self.b = 0 self.l_rate = 1 def fi...
2019-04-17 15:21:47 291
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人