- 博客(11)
- 资源 (1)
- 收藏
- 关注
原创 Algorithm(Robert Sedgewick)-Day06 | Quicksort
Basic plan Shuffle the array. Partition so that, for some j entry a[j] is in plac no larger entry to the left of j no smaller entry to the right of j Sort eah piece recursively Phase I. Repeat until ...
2019-06-15 12:15:13
201
原创 Algorithm(Robert Sedgewick)-Day05 | Mergesort
Mergesort To 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
249
原创 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
215
原创 Paper阅读笔记 | 02 AlexNet
01 论文研究背景、成果及意义 两个重要条件 LabelMe, ImageNet等大的标注数据集的出现 硬件计算能力的提升(算力比较强的GPU等) 研究意义 环境影响的物体展示出多样性,想要获得更好的识别能力需要更加强大的训练数据以及更加复杂的拟合参数 图像物体分类 计算机视觉中的基本问题。图像分割、物体跟踪、行为分析等其他高级视觉任务的基础。 深度学习分类两个阶段 第一阶段:训练阶段 第二阶段:...
2019-06-10 12:01:32
254
原创 Algorithm(Robert Sedgewick)-Day04 | Elementary sorts
Sorting problem Rearrange 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
288
原创 Algorithm(Robert Sedgewick)-Day03 | Bags, Stacks and Queues
Fundamental data types. Value: collection of objects Operations: insert, remove, iterate, test if empty Stack. Examine the item most recently added. LIFO = ‘last in first out’ push, pop Queue. Examine...
2019-06-07 12:16:45
182
原创 Algorithm(Robert Sedgewick)-Day02 | Analysis of Algorithms
Primary pratical reason: avoid performance bugs Predict performance Compare algorithms Provide guarantees Understand theoretical basis Use sicentific method to understand performance Observe some feat...
2019-06-06 13:40:29
169
原创 菜鸟的奋斗——Python-100-Days(3)
Day08 类和对象 类是对象的蓝图和模板,而对象是类的实例。 在面向对象编程的世界中,一切皆为对象,对象都有属性和行为,每个对象都是独一无二的,而且对象一定属于某个类(型)。当我们把一大堆拥有共同特征的对象的静态特征(属性)和动态特征(行为)都抽取出来后,就可以定义出一个叫做“类”的东西。 在Python中可以使用class关键字定义类。 在Python中,属性和方法的访问权限只有两种,也就...
2019-06-02 21:38:06
380
原创 菜鸟的奋斗——Python-100-Days(2)
Day06 可变参数 具体有多少个参数是由调用者来决定,我们作为函数的设计者对这一点是一无所知的,因此在不确定参数个数的时候,我们可以使用可变参数,代码如下所示。 # 在参数名前面的*表示args是一个可变参数 # 即在调用add函数时可以传入0个或多个参数 def add(*args): total = 0 for val in args: total += ...
2019-06-02 10:45:25
180
原创 统计学习方法训练营第一次作业:感知机
感知机模型的假设空间是分离超平面 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
371
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅