上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页
摘要: 来源:https://www.nowcoder.com/discuss/1937 (还有其它的,不知道,如有发现可联系我修改 整理一下计算机网络部分的面试常考点,参考书籍:《计算机网络》第五版 谢希仁的那本,希望对大家有所帮助 OSI,TCP/IP,五层协议的体系结构,以及各层协议 OSI分层 (7 阅读全文
posted @ 2017-03-06 16:54 simple_wxl 阅读(262) 评论(0) 推荐(0) 编辑
摘要: KL距离用来度量两个分布的相似度。 阅读全文
posted @ 2017-03-06 13:18 simple_wxl 阅读(154) 评论(0) 推荐(0) 编辑
摘要: sigmoid 容易出现gradient vanishing 函数输出并不是zero-centered 幂运算相对来讲比较耗时 容易出现gradient vanishing 函数输出并不是zero-centered 幂运算相对来讲比较耗时 Gradient Vanishing 优化神经网络的方法是B 阅读全文
posted @ 2017-03-04 13:22 simple_wxl 阅读(2874) 评论(1) 推荐(0) 编辑
摘要: class Solution { public: /** * @param A an integer array * @return void */ int partion(vector<int>& num,int left,int right) { int poit=num[left]; whil 阅读全文
posted @ 2017-03-02 09:48 simple_wxl 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 来源:http://blog.csdn.net/han_xiaoyang/article/details/52665396 xgboost实战:http://www.jianshu.com/p/5709fa18cdb4 4. XGBoost的优势 XGBoost算法可以给预测模型带来能力的提升。当我 阅读全文
posted @ 2017-02-17 18:16 simple_wxl 阅读(1024) 评论(0) 推荐(0) 编辑
摘要: 1、static作用 a)隐藏(对本模块有效,其它文件不可见) b)持久性(保存在静态存储区) c)初始值为0 d)类中所有对象所有,节省空间 2、const作用 a)read only b)节省内存(编译器编译对时候,放到符号表里面,没有分配内存) c)更少对debug,防止被修改 1、指针 in 阅读全文
posted @ 2017-02-15 14:53 simple_wxl 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 如果矩阵对某一个向量或某些向量只发生伸缩变换,不对这些向量产生旋转的效果,那么这些向量就称为这个矩阵的特征向量,伸缩的比例就是特征值。这里可以将特征值为负,特征向量旋转180度,也可看成方向不变,伸缩比为负值。所以特征向量也叫线性不变量 PCA的物理意义: 各种不同的信号(向量)进入这个系统中后,系 阅读全文
posted @ 2017-02-15 09:58 simple_wxl 阅读(1964) 评论(0) 推荐(0) 编辑
摘要: 其中冒泡排序加个标志,所以最好情况下是o(n) 直接选择排序: 排序过程: 1 、首先在所有数据中经过 n-1次比较选出最小的数,把它与第 1个数据交换, 2、然后在其余的数据内选出排序码最小的数,与第 2个数据交换...... 依次类推,直到所有数据排完为止。 在第i 趟排序中选出最小关键字的数据 阅读全文
posted @ 2017-02-14 21:14 simple_wxl 阅读(128705) 评论(1) 推荐(6) 编辑
摘要: struct node{ int id; int cnt; node(int _id,int _cnt):id(_id),cnt(_cnt){} bool operator<(node a) const{return cnt<a.cnt;} bool operator>(node a) const{ 阅读全文
posted @ 2017-02-14 13:42 simple_wxl 阅读(933) 评论(0) 推荐(0) 编辑
摘要: kruscal(eloge): 题目来源:http://acm.hdu.edu.cn/showproblem.php?pid=1102 Problem Description There are N villages, which are numbered from 1 to N, and you 阅读全文
posted @ 2017-02-11 16:21 simple_wxl 阅读(585) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页