05 2015 档案
摘要:
本文从p-范数推导无穷范数的max形式。
阅读全文

摘要:
ipython交互模式下无法直接plt.show()显示图片,这里选择plt.savefig保存图片。
阅读全文

摘要:
整数在内存中保存的顺序随CPU的不同而有所区别,最常见的有两种:低位编址(地址低位存储值的低位,地址高位存储值的高位)和高位编址(地址低位存储值的高位,地址高位存储值的低位)。
阅读全文

摘要:
本文主要描述BP神经网络的模型(M-P模型,感知器,BP算法)并推导反向传播算法。
阅读全文

摘要:
生物神经网络基础概念,包括神经元结构(细胞体,轴突,树突,突触,神经递质)和神经系统的电活动(静息电位,动作电位)。
阅读全文

摘要:
隐藏层的提出是伴随着多级网络的概念一起提出的,它主要解决一个线性不可分问题.
阅读全文

摘要:
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space for another array, you must do this in place with constant memory. 去掉数组重复数字,常数空间限制。
阅读全文

摘要:
The count-and-say sequence is the sequence of integers beginning as follows:
1, 11, 21, 1211, 111221, ...
1 is read off as "one 1" or 11.
11 is read off as "two 1s" or 21.
21 is read off as "one 2, then one 1" or 1211.
Given an integer n, generate the nth sequence.
阅读全文

摘要:
Write a function to find the longest common prefix string amongst an array of strings.
阅读全文

摘要:
罗马数字转为阿拉伯数字 Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999.
阅读全文

摘要:
括号匹配判断,关键思想:利用一个栈来保存前括号,然后有后括号来时弹出栈顶来判断。
阅读全文

摘要:
线性回归的Spark/Python实现,具体细节后续补充。
阅读全文

摘要:
分布式框架Spark下实现逻辑回归,先附上源码,方法细节后续补充。
阅读全文

摘要:
Python + lxml获取豆瓣新书信息(包括书名,作者,简介,url),将结果重定向到txt文本文件。
阅读全文

摘要:
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.
阅读全文

摘要:
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?
阅读全文

摘要:
一副牌,抽去大小王后(初练也可以把J/Q/K也拿去),剩下1~10这40张牌(以下用1代替A)。任意抽取4张牌(称为牌组),用加、减、乘、除 (可加括号)把牌面上的数算成24。每张牌必须且只能用一次。
阅读全文

摘要:
使用Python下os,sys模块实现Linux文件查找。
阅读全文

摘要:
Count the number of prime numbers less than a non-negative number, n.
阅读全文
