内容简介:All of us have used AIC for model selection. This blog is about the idea behind AIC, what is it and why is it used for model selection. While we have been told how to calculate AIC, at least I was never taught the logic behind why are we doing this — this
Akaike Information Theory
The idea behind AIC
Mar 13 ·3min read
All of us have used AIC for model selection. This blog is about the idea behind AIC, what is it and why is it used for model selection. While we have been told how to calculate AIC, at least I was never taught the logic behind why are we doing this — this blog is to cover that.
AIC is an estimate for the out-of-sample error . AIC is based on information theory. He called it an entropy maximization principle and minimizing AIC is equivalent to maximizing entropy in a thermodynamic system. Thus, in the language of information theory, we can say that while coding a model ( where we can never find the exact model ), some information is lost in representing the process by which the data was generated.
AIC measures the relative loss of information . Since we do not the exact model, we cannot measure the exact loss. Thus we measure relative loss among the different models (from which we have to select our model). If we have 3 models with AIC values 100, 102, and 110, then the second model is exp((100 − 102)/2) = 0.368 times as probable as the first model to minimize the information loss. Similarly, the third model is exp((100 − 110)/2) = 0.007 times as probable as the first model to minimize information loss.
AIC is given by 2 x number of parameters — 2 log(Likelihood)
When selecting the model (for example polynomial function), we select the model with the minimum AIC value. Or if we can select the top 2–3 models, collect more data and select the once with minimum AIC. This blog is about — where does this formula of AIC come from?
In AIC, we try to minimize the (proxy of) KL divergence between the model and the ground truth function. AIC is the calculation for the estimate of the proxy function. Thus minimizing the AIC is akin to minimizing the KL divergence from the ground truth — hence minimizing the out of sample error. The derivation for AIC is shown in the following two images.
Bayesian Information Criteria (BIC) is calculated similarly to AIC. Instead of 2k, BIC uses 2 ln(n)k. These are called the penalty terms. It is argued that if the true model is present in the set of models, BIC selects the true model with probability 1, given n tends to infinity. Since we never really have the true model in the set of candidate models, this property is not highly regarded. Also, AIC minimizes the risk of selecting a very bad model.
Reference
1. Wikipedia page on AIC以上所述就是小编给大家介绍的《Akaike Information Criteria》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
删除
[英] 维克托•迈尔-舍恩伯格(Viktor Mayer-Schönberger)著 / 袁杰 译 / 浙江人民出版社 / 2013-1 / 49.90元
《删除》讲述了遗忘的美德,为读者展现了大数据时代的取舍之道。 《删除》从大数据时代信息取舍的目的和方法分别诠释了“被遗忘的权利”。维克托首先回溯了人类追寻记忆的过程,之后提出数字技术与全球网络正在瓦解我们天生的遗忘能力。对此,他考察了促进遗忘终止4大驱动力——数字化,廉价的存储器,易于提取,全球性访问。之后,他提出了当前数字化记忆的两大威胁——信息权力与时间,并给出了应对威胁的6大对策——数......一起来看看 《删除》 这本书的介绍吧!