上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: 一、题目 Description Farmer John commanded his cows to search for different sets of numbers that sum to a given number. The cows use only numbers that are 阅读全文
posted @ 2017-08-20 15:25 天涯惟笑 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 一、题目 Description The cows don't use actual bowling balls when they go bowling. They each take a number (in the range 0..99), though, and line up in a 阅读全文
posted @ 2017-08-19 22:28 天涯惟笑 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 一、算法说明 1. 为了便于计算类条件概率$P(x|c)$,朴素贝叶斯算法作了一个关键的假设:对已知类别,假设所有属性相互独立。 2. 当使用训练完的特征向量对新样本进行测试时,由于概率是多个很小的相乘所得,可能会出现下溢出,故对乘积取自然对数解决这个问题。 3. 在大多数朴素贝叶斯分类器中计算特征 阅读全文
posted @ 2017-08-19 13:37 天涯惟笑 阅读(2728) 评论(1) 推荐(0) 编辑
摘要: 一、线性回归 1、批量梯度下降法 每次对参数进行一次迭代时,都要扫描一遍输入全集 算法可以收敛到局部最优值 当迭代多次之后,每次迭代参数的改变越小 2、随机梯度下降法 对于一个输入样本,对参数进行一次更新 算法通常不会收敛到局部最优值,整个过程类似在上山迂回下山,有时可能上山,有时可能下山,但算法的 阅读全文
posted @ 2017-08-12 13:43 天涯惟笑 阅读(872) 评论(0) 推荐(0) 编辑
摘要: 一、题目 Description Farmer John went to cut some wood and left N (2 ≤ N ≤ 100,000) cows eating the grass, as usual. When he returned, he found to his hor 阅读全文
posted @ 2017-08-10 20:31 天涯惟笑 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 一、题目 Description Our chemical biologists have invented a new very useful form of life called stripies (in fact, they were first called in Russian polo 阅读全文
posted @ 2017-08-09 22:38 天涯惟笑 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 一、题目 Description As a reward for record milk production, Farmer John has decided to start paying Bessie the cow a small weekly allowance. FJ has a set 阅读全文
posted @ 2017-08-08 17:01 天涯惟笑 阅读(1340) 评论(0) 推荐(0) 编辑
摘要: 一、题目 Description A factory produces products packed in square packets of the same height h and of the sizes 1 1, 2 2, 3 3, 4 4, 5 5, 6 6. These produc 阅读全文
posted @ 2017-08-06 16:01 天涯惟笑 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 一、题目 Description The cows have purchased a yogurt factory that makes world famous Yucky Yogurt. Over the next N (1 include define MAX_N 10005 using na 阅读全文
posted @ 2017-08-06 13:38 天涯惟笑 阅读(811) 评论(0) 推荐(0) 编辑
摘要: 一、题目 Description Oh those picky N (1 Stall 2 .. c2 c4 .. .. Stall 3 .. .. c3 .. .. .. .. Stall 4 .. .. .. c5 .. .. .. Other outputs using the same num 阅读全文
posted @ 2017-08-05 17:14 天涯惟笑 阅读(233) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页