查看: 3422| 回复: 13
跳转到指定楼层
上一主题 下一主题
收起左侧

机器学习---小组学习笔记,part 2

全局:

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

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

x
本帖最后由 anderson1234 于 2020-9-14 11:16 编辑

求加米看面经, 谢谢(第一帖是这个:  机器学习---面试笔记,part 1(全都是干货,有经验才能看懂)求加米 )

Future topics
1) Network security, Fraud detection (IP address related features), anomaly detection
2) Some automation requirements from Amazon business, What machine learning can do?
3) Lending/ Risk management
Some concepts:
Estimation (or estimating): https://en.wikipedia.org/wiki/Estimation
Estimation is the process of finding an estimate, or approximation, which is a value that is usable for some purpose even if input data may be incomplete, uncertain, or unstable. The value is nonetheless usable because it is derived from the best information available. Typically, estimation involves "using the value of a statistic derived from a sample to estimate the value of a corresponding population parameter". The sample provides information that can be projected, through various formal or informal processes, to determine a range most likely to describe the missing information. An estimate that turns out to be incorrect will be an overestimate if the estimate exceeded the actual result, and an underestimate if the estimate fell short of the actual result.
Point estimate, for example, is the single number most likely to express the value of the property.
Interval estimate defines a range within which the value of the property can be expected (with a specified degree of confidence) to fall.
Sequential estimation, estimates a parameter by analyzing a sample just large enough to ensure a previously chosen degree of precision. The fundamental technique is to take a sequence of samples, the outcome of each sampling determining the need for another sampling. The procedure is terminated when the desired degree of precision is achieved. On average, fewer total observations will be needed using this procedure than with any procedure using a fixed number of observations.


Statistical inference: https://en.wikipedia.org/wiki/Statistical_inference
Statistical inference is the process of deducing properties of an underlying distribution by analysis of data. Inferential statistical analysis infers properties about a population: this includes testing hypotheses and deriving estimates. The population is assumed to be larger than the observed data set; in other words, the observed data is assumed to be sampled from a larger population.
Inferential statistics can be contrasted with descriptive statistics. Descriptive statistics is solely concerned with properties of the observed data, and does not assume that the data came from a larger population
Frequentist inference:  it draws conclusions from sample data by emphasizing the frequency or proportion of the data. An alternative name is frequentist statistics. This is the inference framework in which the well-established methodologies of statistical hypothesis testing and confidence intervals are based.
Bayesian inference, sometimes held to include the approach to inference leading to optimal decisions, is a method of statistical inference in which Bayes' theorem is used to update the probability for a hypothesis as more evidence or information becomes available. Bayesian inference is an important technique in statistics, and especially in mathematical statistics. Bayesian updating is particularly important in the dynamic analysis of a sequence of data.
Fiducial inference is one of a number of different types of statistical inference. These are rules, intended for general application, by which conclusions can be drawn from samples of data. In modern statistical practice, attempts to work with fiducial inference have fallen out of fashion in favour of frequentist inference, Bayesian inference and decision theory. However, fiducial inference is important in the history of statistics since its development led to the parallel development of concepts and tools in theoretical statistics that are widely used.


MLE, MAP, Hierarchical Bayes model, and Empirical Bayes model
MLE: maximal likelihood estimation ß this is the traditional statistical approach to finding parameters







MAP: Maximum a posteriori (MAP) estimation
MAP estimation is the value of the parameter that maximizes the entire posterior distribution (which is calculated using the likelihood). A MAP estimate is the mode of the posterior distribution.









The problem with MLE is that it overfits the data, meaning that the variance of the parameter estimates is high, or the outcome of the parameter estimate is sensitive to random variations in data. To deal with this, it usually helps to add regularization to MLE (i.e., reduce variance by introducing bias into the estimate). In maximum a posteriori (MAP), this regularization is achieved by assuming that the parameters themselves are also (in addition to the data) drawn from a random process. The prior beliefs about the parameters determine what this random process looks like.

It is a design decision as to what prior belief the model has about the parameters, but interestingly, if the prior beliefs are strong, then the observed data have relatively little impact on the parameter estimates, (i.e., low variance but high bias), while if the prior beliefs are weak, then the outcome is more like standard MLE (i.e., low bias but high variance). This leads to two interesting limits: for an infinite amount of data, MAP gives the same result as MLE (as long as the prior is non-zero everywhere in parameter space); for an infinitely weak prior belief (i.e., uniform prior), MAP also gives the same result as MLE.


Some distributions:
Extreme value distribution,  http://www.mathwave.com/articles/extreme-value-distributions.html , https://en.wikipedia.org/wiki/Extreme_value_theory
https://en.wikipedia.org/wiki/Generalized_extreme_value_distribution
Poisson distribution,
Negative binomial distribution,  https://en.wikipedia.org/wiki/Negative_binomial_distribution

Conjugate prior: https://en.wikipedia.org/wiki/Conjugate_prior
In Bayesian probability theory, if the posterior distributions p(θ|x) are in the same family as the prior probability distribution p(θ), the prior and posterior are then called conjugate distributions, and the prior is called a conjugate prior for the likelihood function.
For example, the Gaussian family is conjugate to itself (or self-conjugate) with respect to a Gaussian likelihood function: if the likelihood function is Gaussian, choosing a Gaussian prior over the mean will ensure that the posterior distribution is also Gaussian. This means that the Gaussian distribution is a conjugate prior for the likelihood that is also Gaussian. All members of the exponential family have conjugate priors.
Conjugate priors may give intuition, by more transparently showing how a likelihood function updates a prior distribution.



Discussed Problems:
How to test whether two samples come from the same distributions with the same parameters even we do not know the distributions and the parameters.
This is used in “Transfer learning” and model performance monitoring
Suggestions:
1) Empirical methods including drawing histogram and comparing the shape, getting the percentiles and comparing the values
2) Input the two sample sets to 0/1 classifier, if the classifier’s error always very high no matter how you tune the parameters, then it means these two sets are not from two different classes, they should come from the same class
3) Kullback–Leibler divergence:







image.png (21.13 KB, 下载次数: 1)

image.png

评分

参与人数 2大米 +2 收起 理由
dartmoor + 1 赞一个
lyuhao + 1 赞一个

查看全部评分


上一篇:机器学习---面试笔记,part 1(全都是干货,有经验才能看懂)求加米
下一篇:统计做的预测和machine learning做的预测

本帖被以下淘专辑推荐:

  • · ML八股|主题: 8, 订阅: 3
  • · job|主题: 9, 订阅: 1
推荐
 楼主| anderson1234 2020-9-15 14:17:11 | 只看该作者
全局:
linbaobei001 发表于 2020-9-15 12:56
想一起结伴复习,可以➕微信 加入你们吗,

以前学习的。现在的人都分散在AMFG各大公司。当然我们还差不多每周举行线上讲座。
回复

使用道具 举报

全局:
想一起结伴复习,可以➕微信 加入你们吗,

评分

参与人数 1大米 +1 收起 理由
anderson1234 + 1 给你点个赞!

查看全部评分

回复

使用道具 举报

推荐
john10334 2022-1-3 06:20:10 | 只看该作者
全局:

跪求加入群~study ML together
回复

使用道具 举报

🔗
KimikoVXEK 2020-9-15 14:01:12 | 只看该作者
本楼:
全局:
同求加入!
回复

使用道具 举报

全局:
跪求加入群~感恩
回复

使用道具 举报

🔗
Dulala 2020-9-18 23:01:19 来自APP | 只看该作者
全局:
请问如何加入
回复

使用道具 举报

全局:
可以加入嘛~
回复

使用道具 举报

全局:
求加入一起复习

评分

参与人数 1大米 +2 收起 理由
anderson1234 + 2 给你点个赞!

查看全部评分

回复

使用道具 举报

🔗
Random112233 2021-11-24 09:51:20 | 只看该作者
全局:
请问如何加入你们?
回复

使用道具 举报

🔗
john10334 2021-11-24 11:56:39 | 只看该作者
全局:
请问可以加入你们嘛?
回复

使用道具 举报

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

本版积分规则

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