上一页 1 ··· 5 6 7 8 9 10 11 12 下一页
摘要: 标准最大margin问题 假设data是linear seperable的 优化目标 希望 margin(w),i.e, 最小的点到直线的距离 最大 即是要得到最右的线,它对噪声的鲁棒性最好 得到的分类器很简单,线一侧为x,另一侧为o 预备知识:点到直线的距离 为了推导方便,不再将截距 bias b 阅读全文
posted @ 2016-07-25 15:50 hopskin1 阅读(334) 评论(0) 推荐(0) 编辑
摘要: standard large margin problem 分割线 阅读全文
posted @ 2016-07-25 14:55 hopskin1 阅读(190) 评论(0) 推荐(0) 编辑
摘要: switch用法 阅读全文
posted @ 2016-07-25 14:38 hopskin1 阅读(124) 评论(0) 推荐(0) 编辑
摘要: vector预分配内存溢出导致原始的 迭代器 失效 consider what happens when you add the one additional object that causes the vector to reallocate storage and move it elsewh 阅读全文
posted @ 2016-07-25 10:35 hopskin1 阅读(245) 评论(0) 推荐(0) 编辑
摘要: vector 当一个vector预分配的存储空间用完之后,为维护其连续的对象数组,它必须在另外一个地方重新分配大块新的(更大的)存储空间,并把以前已有的对象拷贝到新的存储空间中去。 测试结果 Note that the use of reserve( ) is different from usin 阅读全文
posted @ 2016-07-25 10:12 hopskin1 阅读(2185) 评论(0) 推荐(0) 编辑
摘要: 错误代码 测试用例 阅读全文
posted @ 2016-07-24 14:40 hopskin1 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 总结: 求 s 和 reverse(s.begin(),s.end()) 的最长公共子序列 阅读全文
posted @ 2016-07-24 14:19 hopskin1 阅读(553) 评论(0) 推荐(0) 编辑
摘要: 学习UFLDL笔记 第一节 神经网络 神经元长这样 大写W看着有点不习惯。。 激活函数, 就是上面式子中的f。 可以选 sigmoid函数(或者叫 logistic回归,对数几率函数),反正就是这样一个函数啦 长这样。。 也可以选双曲正切函数 tanh,长这样 tanh 跟 sigmoid 长得像, 阅读全文
posted @ 2016-07-22 23:38 hopskin1 阅读(176) 评论(0) 推荐(0) 编辑
摘要: XOR问题 解决办法: 网络如图 其中激活函数 ReLU,令 即可解决XOR问题。 阅读全文
posted @ 2016-07-22 22:53 hopskin1 阅读(2057) 评论(0) 推荐(0) 编辑
摘要: 统计单词出现的频率 参考 《C程序设计语言》第6章 结构 #include <stdio.h> #include <ctype.h> #include <string.h> #include <stdlib.h> #define MAXWORD 100 #define BUFSIZE 100 cha 阅读全文
posted @ 2016-02-26 15:56 hopskin1 阅读(679) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 下一页