📣 Back to School开学季 - VIP通行证5折优惠!蓝莓、Offer多多同步优惠
查看: 2208| 回复: 5
跳转到指定楼层
上一主题 下一主题
收起左侧

碰到的DS面试model training方面经常问的问题和解答

全局:

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x
DS面试,关于model training方面,大家喜欢问到几个方面的问题。总结在下面,也欢迎大家一起讨论。另外求大米~~~

Train classification model的时候:
1. train data 非常的skew。要怎样做才能train出好的model?
   - balance training set by oversampling or downsampling
   - throw away minority class and use anomaly detection framework
  
2. 假设已经有了train好的model,来了新的data。new data is very different from the data used for training. Which means the existing model most likely not performing well on the new data. 有什么方法能够不retrain the model, 但是得到好的prediction results?
    - incrementally update the model. check 1point3acres for more.
    不知道还有什么好的方法?

3. 当model perform well on validation set, but not well on testing set. what might be the reasons?
    - distribution of testing set is different from training set
    - overfit

上一篇:analytics方向的data challenge怎么破,加米
下一篇:求队友一起准备从analytical向model转
🔗
Lenin 2019-5-19 05:59:30 来自APP | 只看该作者
全局:
想请问楼主 classification的training data skew是类似imbalanced的意思吗?这样是不是stratified sampling也可以有帮助?其实类似你说的第一项?
回复

使用道具 举报

🔗
 楼主| Xubaomi 2019-5-19 11:33:11 | 只看该作者
全局:
Lenin 发表于 2019-5-19 05:59
想请问楼主 classification的training data skew是类似imbalanced的意思吗?这样是不是stratified sampling ...

是imbalanced的意思。
. 1point 3 acres应该stratified sampling也能够help。主要是保证training set不会出现no instance (or no sufficient instance) of minority class 的情况。
回复

使用道具 举报

🔗
swordever 2019-5-19 13:47:19 | 只看该作者
全局:
第二个问题,一个思路是continual learning,避免catastrophic forgetting
回复

使用道具 举报

🔗
sgy 2019-6-5 04:29:28 | 只看该作者
全局:
第二题也可以reinforcement learning吧

补充内容 (2019-6-5 04:31):. 1point3acres.com
如果数据够多,可以train dnn with batch normalization可以handle covariance shift

补充内容 (2019-6-5 04:40):
on another thought, bayesian methods should work as well?
回复

使用道具 举报

🔗
oralur 2019-6-26 06:50:34 | 只看该作者
全局:
第二题interviewer的想法应该是想你回答再嵌套一个regression,把新数据用旧model的run出来的预测结果当成x, 新数据的label就是Y。 ARIMAX之类的思路。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表