版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Feature Selection for Classification by M. Dash and H. Liu,Group 10 Stanlay Irawan HD97-1976M Loo Poh Kok HD98-1858E Wong Sze Cheong HD99-9031U Slides: .sg/wongszec/group10.ppt,Feature Selection for Classification,Agenda: Overview and general introduction. (pk) Four main steps in any featur
2、e selection methods. (pk) Categorization of the various methods. (pk) Algorithm = Relief, Branch FOR I = 1 to MAX-TRIES S = randomSet(seed); C = numOfFeatures(S); IF (C Cbest) IF (InconCheck(S,D) ); Sbest = S; Cbest = C; print_Current_Best(S) ELSE IF (C = Cbest) AND (InConCheck(S,D) ) print_Current_
3、Best(S) END FOR,CATEGORY XII (Consistency Random),LVF Algorithm ADVANTAGE Find optimal subset even for database with Noise User does not have to wait too long for a good subset Efficient and simple to implement, guarantee to find optimal subset if resources permit DISADVANTAGE It take more time to f
4、ind the optimal subset (whether the data-set is consistent or not),CATEGORY XII (Consistency Random),FILTER METHOD,FILTER VS WRAPPER,Consider attributes independently from the induction algorithm,Exploit general characteristics of the training set (statistics: regression tests) Filtering (of irrelev
5、ant attributes) occurs before the training,WRAPPER METHOD Generate a set of candidate features Run the learning method with each of them Use the accuracy of the results for evaluation (either training set or a separate validation set),FILTER VS WRAPPER,Evaluation Criteria (Classifier Error Rate) Fea
6、tures are selected using the classifier Use these selected features in predicting the class labels of unseen instances Accuracy is very high Use actual target classification algorithm to evaluate accuracy of each candidate subset Generation method: heuristics, complete or random The feature subset s
7、election algorithm conducts a search for a good subset using the induction algorithm, as part of evaluation function,WRAPPER METHOD,DISADVANTAGE Wrapper very slow Higher Computation Cost Wrapper has danger of overfitting,WRAPPER METHOD,SFS (Sequential Forward Selection) Begins with zero attributes E
8、valuates all features subsets w/ exactly 1 feature Selects the one with the best performance Adds to this subsets the feature that yields the best performance for subsets of next larger size If EVAL() is a heuristics measure, the feature selection algorithm acts as a filter, extracting features to b
9、e used by the main algorithm; If it is the actual accuracy, it acts as a wrapper around that algorithm,CATEGORY XIII: CER Heuristics,SFS (Sequential Forward Selection) SS = 0 BestEval = 0 REPEAT BestF = None FOR each feature F in FS AND NOT in SS SS = SS F IF Eval(SS) BestEval THEN BestF = F; BestEv
10、al = Eval(SS) IF BestF None THEN SS = SS BestF UNTIL BestF = None OR SS = FS RETURN SS,CATEGORY XIII: CER Heuristics,SBS (Sequential Backward Selection) Begins with all features Repeatedly removes a feature whose removal yields the maximal performance improvement,CATEGORY XIII: CER Heuristics,SBS (S
11、equential Backward Selection) SS =FS BestEval = Eval(SS) REPEAT WorstF = None FOR each feature in F in FS SS = SS - F IF Eval(SS) = BestEval THEN WorstF = F; BestEval = Eval(SS) IF WorstF None THEN SS = SS - WorstF UNTIL WorstF = None OR SS = 0 RETURN SS,CATEGORY XIII: CER Heuristics,ABB Algorithm C
12、ombat the disadvantage of B PROCEDURE ABB(S,D) FOR all feature f in S S1 = S - f ; enQueue(Q1, S1); END FOR WHILE notEmpty(Q) S2 = deQueue(Q); IF (S2 is legitimate inConCal(S2,D) = ) ABB(S2, D); END WHILE END,CATEGORY XIII: CER Complete,ABB Algorithm ABB expands the search space quickly but is ineff
13、icient in reducing the search space although it guarantee optimal results Simple to implement and guarantees optimal subsets of features ABB removes irrelevant, redundant, and/or correlated features even with the presence of noise Performance of a classifier with the features selected by ABB also im
14、proves,CATEGORY XIII: CER Complete,LVW Algorithm Las Vegas Algorithm Probabilistic choices of subsets Find Optimal Solution, if given sufficient long time Apply Induction algorithm to obtain estimated error rate It uses randomness to guide their search, in such a way that a correct solution is guara
15、nteed even if unfortunate choices are made,CATEGORY XIII: CER Random,LVW Algorithm Err = 0; k = 0; C = 100; REPEAT S1 = randomSet(); C1 = numOfFeatures(S1); err1 = LearnAlgo(S1, Dtrain, NULL); IF (err1 err) OR (err1 = err AND C1 C) output the current best; k = 0; err = err1; C = C1; S = S1; END IF k
16、 = k + 1; UNTIL err is not updated for K times; err2 = LearnAlgo(S, Dtrain, Dtest);,CATEGORY XIII: CER Random,LVW Algorithm LVW can reduce the number of features and improve the accuracy Not recommended in applications where time is critical factor Slowness is caused by learning algorithm,CATEGORY X
17、III: CER Random,Test Datasets Artificial Consists of Relevant and Irrelevant Features Know beforehand which features are relevant and which are not Procedure Compare Generated subset with the known relevant features,EMPIRICAL COMPARISON,CHARACTERISTIC OF TEST DATASETS,Different methods works well un
18、der different conditions RELIEF can handle noise, but not redundant or correlated features FOCUS can detect redundant features, but not when data is noisy No single method works under all conditions Finding a good feature subset is an important problem for real datasets. A good subset can Simplify data description Reduce the task of data collection Improve accuracy and performa
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- GB/T 47023-2026信息技术脑机接口参考架构
- 陕西航空职业技术学院《新闻主播实践》2024-2025学年第二学期期末试卷
- 解析:2024届陕西省安康市高新中学、安康中学高新分校高三5月模拟预测文综试题-高中政治(原卷版)
- 矿山提升设备操作工安全实操模拟考核试卷含答案
- 铁合金转炉冶炼工安全综合评优考核试卷含答案
- 注聚工岗前健康知识考核试卷含答案
- 电视调频天线工岗前诚信考核试卷含答案
- 软膏剂工班组安全水平考核试卷含答案
- 水(油)压机锻造工安全培训测试考核试卷含答案
- 养鸡工岗前客户关系管理考核试卷含答案
- 福建省龙岩市2025-2026学年高二上学期期末教学质量检查语文试卷(含答案)
- 2026年物流师物流管理与供应链优化模拟试题
- 2026春统编版小学道德与法治二年级下册每课教学设计(含目录)新教材
- 2025~2026学年江苏省南京市七年级上学期期末数学模拟试卷
- 工业机器人设备营销课件
- 2025版《中国胰腺癌整合诊治指南》
- 2025年中国科协所属单位招聘笔试真题
- 2026届新高考语文三轮冲刺复习古代诗歌阅读命题解读
- 2025-2026学年湘美版(新教材)小学美术二年级第二学期教学计划及进度表
- 2026年度烟花爆竹单位安全教育培训计划培训记录(12个月带内容模板)
- 2025年中职(畜禽生产技术)养殖技术综合测试题及答案
评论
0/150
提交评论