Goal: High Performance, Few Parameters
AS data pts/params gets larger, we become more confident in futer performance of our classifier.
often #params& is proportional to #feats
*AIC 是用来做model selection的。你要有几个几个模型,你想选一个最好的。一般AIC或者BIC越小越好。
Decreasing parameters
• Force parameter values to 0
• L1 regularization
• Support Vector selection
• Feature selection/removal. 1point 3 acres
• Consolidate feature space
• Component analysis
Feature removal . 1point 3 acres
• Start with feature set: F={x1, …, xk}
• Find classifier performance with set F: perform(F). 1point3acres.com
• Loop
• Find classifier performance for removing feature x1, x2, …, xk:argmaxi perform(F-xi) . .и
• Remove feature that causes least decrease in performance:F=F-xi
Repeat, using AIC or BIC as termination criterion9AIC: ln(L) - kBIC: ln(L) - 0.5 k ln(m)
. 1point 3acres
.--
Feature selection
• Find classifier performance for just set of 1 feature:argmaxi perform({xi})
• Add feature with highest performance: F={xi}
. check 1point3acres for more.• Loop
• Find classifier performance for adding one new feature:argmaxi perform(F+{xi})
• Add to F feature with highest performance increase: F=F+{xi}
Repeat, using AIC or BIC as termination criterion
44:51 stop Until AIC/BIC drop
1 stop when AIC starts dropping
2 keeo going until have all 40 feats then go back find highest AIC/BIC.
![]()
很多参数估计问题均采用似然函数作为目标函数,当训练数据足够多时,可以不断提高模型精度,但是以提高模型复杂度为代价的,同时带来一个机器学习中非常普遍的问题——过拟合。所以,模型选择问题在模型复杂度与模型对数据集描述能力(即似然函数)之间寻求最佳平衡。 人们提出许多信息准则,通过加入模型复杂度的惩罚项来避免过拟合问题,此处我们介绍一下常用的两个模型选择方法——赤池信息准则(Akaike Information Criterion,AIC)和贝叶斯信息准则(Bayesian Information Criterion,BIC)。 AIC是衡量统计模型拟合优良性的一种标准,由日本统计学家赤池弘次在1974年提出,它建立在熵的概念上,提供了权衡估计模型复杂度和拟合数据优良性的标准。 通常情况下,AIC定义为:
AIC: ln L-K ln(.1)=-2.3-40 ln(.04)=-3.2-39 其中k是模型参数个数,L是似然函数。从一组可供选择的模型中选择最佳模型时,通常选择AIC最小的模型。 当两个模型之间存在较大差异时,差异主要体现在似然函数项,当似然函数差异不显著时,上式第一项,即模型复杂度则起作用,从而参数个数少的模型是较好的选择。 一般而言,当模型复杂度提高(k增大)时,似然函数L也会增大,从而使AIC变小,但是k过大时,似然函数增速减缓,导致AIC增大,模型过于复杂容易造成过拟合现象。目标是选取AIC最小的模型,AIC不仅要提高模型拟合度(极大似然),而且引入了惩罚项,使模型参数尽可能少,有助于降低过拟合的可能性。 BIC(Bayesian InformationCriterion)贝叶斯信息准则与AIC相似,用于模型选择,1978年由Schwarz提出。训练模型时,增加参数数量,也就是增加模型复杂度,会增大似然函数,但是也会导致过拟合现象,针对该问题,AIC和BIC均引入了与模型参数个数相关的惩罚项,BIC的惩罚项比AIC的大,考虑了样本数量,样本数量过多时,可有效防止模型精度过高造成的模型复杂度过高。 Ln(L)-0.5kln(m) 其中,k为模型参数个数,n为样本数量,L为似然函数。kln(n)惩罚项在维数过大且训练样本数据相对较少的情况下,可以有效避免出现维度灾难现象。 .(*no feats left check what got highest AIC) . . . . . . . -x3 -x24 -x32 -x15 - x33 -x26 -x7 -x11 .google и
1. stop when AIC starts dropping 2 continue until no feats left check what got highest AIC
√Option 1 saves processing time √Feature removal ★Greedy algorithm assume each removal is always the best.
|