Data Mining
文章平均质量分 88
第五清风
这个作者很懒,什么都没留下…
展开
-
蒙特卡罗方法的代码实现——python
蒙特卡罗方法的代码实现——python简单抽样Exercise 1.The Monte Carlo method can be used to generate an approximate value of pi. The figure below shows a unit square with a quarter of a circle inscribed. The area of t...原创 2019-03-19 09:15:55 · 6193 阅读 · 3 评论 -
梯度下降法——python实现
梯度下降法——python实现另一篇博客是随机梯度下降法的实现In this homework, you will investigate multivariate linear regression using Gradient Descent and Stochastic Gradient Descent. You will also examine the relationship b...原创 2019-04-08 10:27:18 · 1712 阅读 · 3 评论 -
随机梯度下降法——python实现
随机梯度下降法——python实现梯度下降法及题目见此博客Exercise 3:题目Now, we turn to use other optimization methods to get the optimal parameters. Can you use Stochastic Gradient Descent to get the optimal parameters? Plots...原创 2019-04-08 10:30:32 · 3618 阅读 · 2 评论 -
解决不均匀样本下的分类
在不均匀样本下训练分类器,容易造成分类器将样本直接判别为大样本,从而降低损失,没有动力继续优化参数。针对这个问题,可以由以下几个方法进行优化:随机采样+集成学习相结合修改大小样本在计算loss时的权重欠采样过采样综合采样1 随机采样+集成学习这个是在面试过程中想到的,不过考虑到其不稳定性就没说出来了。1...原创 2019-06-29 20:22:14 · 2782 阅读 · 0 评论