{"id":7080,"date":"2026-09-12T22:16:10","date_gmt":"2026-09-13T03:16:10","guid":{"rendered":"https:\/\/ykim.synology.me\/wordpress\/multivariate-feature-selection-korean-7080\/"},"modified":"2026-09-14T18:39:10","modified_gmt":"2026-09-14T23:39:10","slug":"multivariate-feature-selection-korean","status":"publish","type":"post","link":"https:\/\/ykim.synology.me\/wordpress\/multivariate-feature-selection-korean-7080\/","title":{"rendered":"Multivariate Feature Selection"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/github.com\/yBarn1\/Images\/blob\/main\/gift-cards\/retail-gift-card-display-rack.jpg?raw=true\" alt=\"\" style=\"width:auto;height:500px\"\/><\/figure>\n\n\n<style>.kt-tabs-id7080_af55b7-a7 > .kt-tabs-content-wrap > .wp-block-kadence-tab{border-top:3px solid #0a6689;border-right:0px solid #0a6689;border-bottom:0px solid #0a6689;border-left:0px solid #0a6689;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;padding-top:var(--global-kb-spacing-sm, 1.5rem);padding-right:var(--global-kb-spacing-sm, 1.5rem);padding-bottom:var(--global-kb-spacing-sm, 1.5rem);padding-left:var(--global-kb-spacing-sm, 1.5rem);background:var(--global-palette9, #ffffff);}.wp-block-kadence-tabs .kt-tabs-id7080_af55b7-a7 > .kt-tabs-title-list li{margin-top:0px;margin-right:8px;margin-bottom:0px;margin-left:0px;}.wp-block-kadence-tabs .kt-tabs-id7080_af55b7-a7 > .kt-tabs-title-list li:last-child{margin-right:0px;}.wp-block-kadence-tabs .kt-tabs-id7080_af55b7-a7 > .kt-tabs-title-list li .kt-tab-title, .wp-block-kadence-tabs .kt-tabs-id7080_af55b7-a7 > .kt-tabs-content-wrap > .kt-tabs-accordion-title .kt-tab-title{line-height:1.4em;font-weight:regular;font-style:normal;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;padding-top:8px;padding-right:20px;padding-bottom:8px;padding-left:20px;border-color:var(--global-palette7, #eeeeee);color:var(--global-palette4, #2D3748);background:var(--global-palette7, #eeeeee);}.wp-block-kadence-tabs .kt-tabs-id7080_af55b7-a7 > .kt-tabs-content-wrap > .kt-tabs-accordion-title .kt-tab-title{margin-top:0px;margin-right:8px;margin-bottom:0px;margin-left:0px;}.wp-block-kadence-tabs .kt-tabs-id7080_af55b7-a7 > .kt-tabs-title-list li .kt-tab-title:hover, .wp-block-kadence-tabs .kt-tabs-id7080_af55b7-a7 > .kt-tabs-content-wrap > .kt-tabs-accordion-title .kt-tab-title:hover{border-color:var(--global-palette7, #eeeeee);color:var(--global-palette3, #1A202C);background:var(--global-palette8, #F7FAFC);}.wp-block-kadence-tabs .kt-tabs-id7080_af55b7-a7 > .kt-tabs-title-list li.kt-tab-title-active .kt-tab-title, .wp-block-kadence-tabs .kt-tabs-id7080_af55b7-a7 > .kt-tabs-content-wrap > .kt-tabs-accordion-title.kt-tab-title-active .kt-tab-title{border-color:var(--global-palette7, #eeeeee);color:#ffffff;background:#0a6689;}@media all and (max-width: 1024px){.kt-tabs-id7080_af55b7-a7 > .kt-tabs-content-wrap > .wp-block-kadence-tab{border-top:3px solid #0a6689;border-right:0px solid #0a6689;border-bottom:0px solid #0a6689;border-left:0px solid #0a6689;}}@media all and (max-width: 767px){.kt-tabs-id7080_af55b7-a7 > .kt-tabs-content-wrap > .wp-block-kadence-tab{border-top:3px solid #0a6689;border-right:0px solid #0a6689;border-bottom:0px solid #0a6689;border-left:0px solid #0a6689;}}<\/style>\n<div class=\"wp-block-kadence-tabs alignnone\"><div class=\"kt-tabs-wrap kt-tabs-id7080_af55b7-a7 kt-tabs-has-2-tabs kt-active-tab-2 kt-tabs-layout-tabs kt-tabs-tablet-layout-inherit kt-tabs-mobile-layout-inherit kt-tab-alignment-left \"><ul class=\"kt-tabs-title-list\"><li id=\"tab-english\" class=\"kt-title-item kt-title-item-1 kt-tabs-svg-show-always kt-tabs-icon-side-right kt-tab-title-inactive\"><a href=\"#tab-english\" data-tab=\"1\" class=\"kt-tab-title kt-tab-title-1 \"><span class=\"kt-title-text\">English<\/span><\/a><\/li><li id=\"tab-korean\" class=\"kt-title-item kt-title-item-2 kt-tabs-svg-show-always kt-tabs-icon-side-right kt-tab-title-active\"><a href=\"#tab-korean\" data-tab=\"2\" class=\"kt-tab-title kt-tab-title-2 \"><span class=\"kt-title-text\">Korean<\/span><\/a><\/li><\/ul><div class=\"kt-tabs-content-wrap\">\n<div class=\"wp-block-kadence-tab kt-tab-inner-content kt-inner-tab-1 kt-inner-tab7080_cfb256-f3\"><div class=\"kt-tab-inner-content-inner\"><p><div class=\"github-readme-container markdown-body\"><div id=\"file\" class=\"md\" data-path=\"Feature-Engineering\/Feature-Selection\/multivariate-feature-selection\/multivariate-feature-selection.md\"><article class=\"markdown-body entry-content container-lg\" itemprop=\"text\"><div class=\"markdown-heading\" dir=\"auto\"><h1 class=\"heading-element\" dir=\"auto\">Multivariate Feature Selection<\/h1><a id=\"user-content-multivariate-feature-selection\" class=\"anchor\" aria-label=\"Permalink: Multivariate Feature Selection\" href=\"#multivariate-feature-selection\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Version 12 | Created: 2026-09-14 | Updated: 2026-11-07 13:46 UTC<\/p>\n<ul dir=\"auto\">\n<li><a href=\"#1-purpose\">1. Purpose<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#11-motivation\">1.1 Motivation<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#2-taxonomy\">2. Taxonomy<\/a><\/li>\n<li><a href=\"#3-approach-based-methods\">3. Approach-based Methods<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#31-multivariate-filter-methods\">3.1 Multivariate Filter Methods<\/a><\/li>\n<li><a href=\"#32-wrapper-methods\">3.2 Wrapper Methods<\/a><\/li>\n<li><a href=\"#33-embedded-methods\">3.3 Embedded Methods<\/a><\/li>\n<li><a href=\"#34-comparison\">3.4 Comparison<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#4-interaction-based-methods\">4. Interaction-based Methods<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#41-redundancy-reduction\">4.1 Redundancy Reduction<\/a><\/li>\n<li><a href=\"#42-feature-synergy\">4.2 Feature Synergy<\/a><\/li>\n<li><a href=\"#43-dimensionality-tradeoff\">4.3 Dimensionality Tradeoff<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#5-target-kind\">5. Target Kind<\/a><\/li>\n<li><a href=\"#6-selection-instability\">6. Selection Instability<\/a><\/li>\n<li><a href=\"#7-workflow\">7. Workflow<\/a><\/li>\n<li><a href=\"#appendix-a-terminology\">Appendix A. Terminology<\/a><\/li>\n<li><a href=\"#appendix-b-implementation\">Appendix B. Implementation<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#b1-choosing-among-answers\">B.1 Choosing Among Answers \ud83e\udd51<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#appendix-c-variance-inflation-factor\">Appendix C. Variance Inflation Factor<\/a><\/li>\n<li><a href=\"#appendix-d-gradient-boosting\">Appendix D. Gradient Boosting<\/a><\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">1. Purpose<\/h2><a id=\"user-content-1-purpose\" class=\"anchor\" aria-label=\"Permalink: 1. Purpose\" href=\"#1-purpose\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li><strong>Problem Statement<\/strong>: Scoring features one at a time handles neither the joint information nor the duplicated information between features, so the feature set is never optimized.<\/li>\n<li><strong>Goal<\/strong>: Build and order a taxonomy and a hierarchy of the methods that read interaction and redundancy together, so that they can be applied to the situation at hand or used as a rule of thumb.<\/li>\n<li><strong>Non-Goal<\/strong>: Testing features one at a time belongs to <a href=\"https:\/\/github.com\/ykim2718\/AIML\/blob\/main\/Feature-Engineering\/Feature-Selection\/univariate-feature-selection\/univariate-feature-selection-ko.md\">Univariate Feature Selection<\/a>.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">1.1 Motivation<\/h3><a id=\"user-content-11-motivation\" class=\"anchor\" aria-label=\"Permalink: 1.1 Motivation\" href=\"#11-motivation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">A combination of features sometimes explains the target better than the features alone, so selection has to work on combinations. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$X_1$<\/math-renderer> and <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$X_2$<\/math-renderer> may each correlate weakly with the target <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$Y$<\/math-renderer> while their combination is a strong signal for <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$Y$<\/math-renderer>, the XOR problem being the standard example.<\/p>\n<p dir=\"auto\">Multivariate analysis has three purposes.<\/p>\n<p dir=\"auto\">1\ufe0f\u20e3 Removing the multicollinearity and the redundancy between features<br>\n2\ufe0f\u20e3 Finding the synergy between features<br>\n3\ufe0f\u20e3 Raising model performance and holding off overfitting<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">2. Taxonomy<\/h2><a id=\"user-content-2-taxonomy\" class=\"anchor\" aria-label=\"Permalink: 2. Taxonomy\" href=\"#2-taxonomy\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Methods split along two lines: when the model is consulted (approach) and how interaction is handled (interaction).<\/p>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"Multivariate feature selection taxonomy\n|\n+-- 1. Approach-based hierarchy\n|   |\n|   +-- Filter methods\n|   |   +-- Correlation matrix and VIF ...... multicollinearity removal\n|   |   +-- mRMR ........................... minimum redundancy maximum relevance\n|   |   +-- ReliefF ........................ neighbour contrast\n|   |\n|   +-- Wrapper methods\n|   |   +-- Forward selection \/ backward elimination\n|   |   +-- RFE ........................... recursive feature elimination\n|   |   +-- Genetic algorithm search\n|   |\n|   +-- Embedded methods\n|       +-- Lasso (L1) \/ ElasticNet\n|       +-- Tree-based importance ......... random forest, XGBoost, LightGBM\n|\n+-- 2. Interaction-based hierarchy\n    +-- Redundancy reduction ............... removing duplicated information\n    +-- Feature synergy .................... keeping features that matter together\n    +-- Dimensionality tradeoff ............ trading dimension against signal\"><pre lang=\"text\" class=\"notranslate\"><code>Multivariate feature selection taxonomy\n|\n+-- 1. Approach-based hierarchy\n|   |\n|   +-- Filter methods\n|   |   +-- Correlation matrix and VIF ...... multicollinearity removal\n|   |   +-- mRMR ........................... minimum redundancy maximum relevance\n|   |   +-- ReliefF ........................ neighbour contrast\n|   |\n|   +-- Wrapper methods\n|   |   +-- Forward selection \/ backward elimination\n|   |   +-- RFE ........................... recursive feature elimination\n|   |   +-- Genetic algorithm search\n|   |\n|   +-- Embedded methods\n|       +-- Lasso (L1) \/ ElasticNet\n|       +-- Tree-based importance ......... random forest, XGBoost, LightGBM\n|\n+-- 2. Interaction-based hierarchy\n    +-- Redundancy reduction ............... removing duplicated information\n    +-- Feature synergy .................... keeping features that matter together\n    +-- Dimensionality tradeoff ............ trading dimension against signal\n<\/code><\/pre><\/div>\n<p dir=\"auto\">Fig 1. Two hierarchies of multivariate feature selection<\/p>\n<p dir=\"auto\">Alongside the two hierarchies runs one more line, whether y is read. The correlation filter and VIF compute the correlation among X only and run without y, while mRMR, ReliefF, the embedded methods and the wrappers all score against y.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">3. Approach-based Methods<\/h2><a id=\"user-content-3-approach-based-methods\" class=\"anchor\" aria-label=\"Permalink: 3. Approach-based Methods\" href=\"#3-approach-based-methods\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li>3.1 Filter: statistics of X and y computed without a model<\/li>\n<li>3.2 Wrapper: a model held as an external scorer and refitted for every candidate subset, the scores compared (fits = candidates)<\/li>\n<li>3.3 Embedded: the selection carried out by the penalty or the split gain inside a single fit (fits = 1)<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.1 Multivariate Filter Methods<\/h3><a id=\"user-content-31-multivariate-filter-methods\" class=\"anchor\" aria-label=\"Permalink: 3.1 Multivariate Filter Methods\" href=\"#31-multivariate-filter-methods\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Feature combinations are screened from the statistical properties of the data alone, without fitting a model. Unlike a univariate filter, the correlation between features is computed as well.<\/p>\n<p dir=\"auto\">mRMR (Minimum Redundancy Maximum Relevance) is solved as an optimization that maximizes the mutual information with the target and minimizes the mutual information among the selected features.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$$\\max_{S} \\left[ \\frac{1}{|S|} \\sum_{i \\in S} I(x_i; y)\n- \\frac{1}{|S|^2} \\sum_{i, j \\in S} I(x_i; x_j) \\right]\n\\hspace{10em} (1)$$<\/math-renderer>\n<p dir=\"auto\">VIF (Variance Inflation Factor) regresses one feature on the remaining features and measures how well they explain it. Features with <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$\\mathrm{VIF} \\gt 10$<\/math-renderer> are removed one at a time. The definition and the removal procedure are in <a href=\"#appendix-c-variance-inflation-factor\">Appendix C<\/a>.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.2 Wrapper Methods<\/h3><a id=\"user-content-32-wrapper-methods\" class=\"anchor\" aria-label=\"Permalink: 3.2 Wrapper Methods\" href=\"#32-wrapper-methods\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">A chosen model serves as the judge, and a search algorithm looks for the feature subset that scores best.<\/p>\n<p dir=\"auto\">The procedure of RFE (Recursive Feature Elimination) runs as follows.<\/p>\n<ul dir=\"auto\">\n<li>Fit the model on every feature<\/li>\n<li>Drop the feature of the smallest coefficient or importance<\/li>\n<li>Repeat until the target number of features is reached<\/li>\n<\/ul>\n<p dir=\"auto\">A greedy search adds (forward) or removes (backward) one feature at a time and follows the change in the cross validation score. A genetic algorithm holds several subsets as one generation and builds the next generation by mixing the high scoring ones and swapping parts, reaching combinations a sequential search never visits.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.3 Embedded Methods<\/h3><a id=\"user-content-33-embedded-methods\" class=\"anchor\" aria-label=\"Permalink: 3.3 Embedded Methods\" href=\"#33-embedded-methods\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Feature selection sits inside the learning algorithm of the model.<\/p>\n<p dir=\"auto\">Lasso adds the sum of the absolute coefficients <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$\\lambda \\sum |\\beta_i|$<\/math-renderer> to the loss as a penalty, driving the coefficients of unneeded features exactly to zero. ElasticNet mixes in the sum of the squared coefficients, so a group of correlated features is kept together where lasso leaves one member of it.<\/p>\n<p dir=\"auto\">Tree-based importance reads a multivariate importance from the node split contribution of a tree model (MDI) or from the drop in performance when the values are shuffled (permutation importance). Random forest and the gradient boosting family XGBoost and LightGBM implement it, and all three report split contributions, so they go straight into <code>SelectFromModel<\/code>. The fit and the importance of gradient boosting are in <a href=\"#appendix-d-gradient-boosting\">Appendix D<\/a>.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.4 Comparison<\/h3><a id=\"user-content-34-comparison\" class=\"anchor\" aria-label=\"Permalink: 3.4 Comparison\" href=\"#34-comparison\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Multivariate filter, wrapper and embedded move in opposite directions on computational cost and on how much interaction they carry.<\/p>\n<p dir=\"auto\">Table 1. Comparison of the three approaches<\/p>\n<p dir=\"auto\">| # | Aspect              | Multivariate filter             | Wrapper                  | Embedded              |\n| :: | :-----------------: | :-----------------------------: | :----------------------: | :-------------------: |\n| 1 | Computational cost  | Low                             | Very high                | Medium                |\n| 2 | Overfitting risk    | Low                             | High                     | Medium                |\n| 3 | Model dependence    | None (model-agnostic)           | Tied to the chosen model | Built into that model |\n| 4 | Interaction carried | Limited (mostly 1:1 redundancy) | Very well                | Well                  |<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">4. Interaction-based Methods<\/h2><a id=\"user-content-4-interaction-based-methods\" class=\"anchor\" aria-label=\"Permalink: 4. Interaction-based Methods\" href=\"#4-interaction-based-methods\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Grouping the same methods by how they handle interaction gives the second hierarchy of section 2. A method can sit in two branches, and then what it does in each branch is written separately.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.1 Redundancy Reduction<\/h3><a id=\"user-content-41-redundancy-reduction\" class=\"anchor\" aria-label=\"Permalink: 4.1 Redundancy Reduction\" href=\"#41-redundancy-reduction\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">The branch that erases duplicated signal, which reads the correlation between features and may leave the target unread.<\/p>\n<ul dir=\"auto\">\n<li>Correlation filter: one feature of every pair above the limit removed<\/li>\n<li>VIF: the feature best explained by the rest removed one at a time<\/li>\n<li>The min-redundancy term of mRMR: the mutual information among the selected features charged as a penalty<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.2 Feature Synergy<\/h3><a id=\"user-content-42-feature-synergy\" class=\"anchor\" aria-label=\"Permalink: 4.2 Feature Synergy\" href=\"#42-feature-synergy\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">The branch that keeps joint signal, which shows only when features are scored as a combination.<\/p>\n<ul dir=\"auto\">\n<li>Wrapper (RFE, forward and backward search): a candidate subset scored by the model, so the effect of the combination enters the score<\/li>\n<li>Tree-based importance: a split made inside a node already separated, so a contribution that depends on the values of other features is carried<\/li>\n<li>ReliefF: the nearest hit and the nearest miss of every sample compared over the distance of the whole feature vector, so a difference that shows only alongside other features enters the score. Class labels only, with RReliefF as the separate algorithm for a regression target<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.3 Dimensionality Tradeoff<\/h3><a id=\"user-content-43-dimensionality-tradeoff\" class=\"anchor\" aria-label=\"Permalink: 4.3 Dimensionality Tradeoff\" href=\"#43-dimensionality-tradeoff\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">The branch that trades the number of kept dimensions against signal, a cut-off that places the cut on a ranking or a penalty path already produced. It therefore needs a criterion that produces a ranking first, and it usually sits on the ranking of section 4.1 and section 4.2. The <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$\\lambda$<\/math-renderer> of lasso is the exception, where one penalty fixes the ranking and the cut-off together.<\/p>\n<ul dir=\"auto\">\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$\\lambda$<\/math-renderer> of lasso: the larger the value, the more coefficients reach zero and the fewer dimensions remain<\/li>\n<li>Target feature count of RFE: the kept dimension given directly<\/li>\n<li>Threshold of tree-based importance: the cut placed by a rule such as the mean importance<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">5. Target Kind<\/h2><a id=\"user-content-5-target-kind\" class=\"anchor\" aria-label=\"Permalink: 5. Target Kind\" href=\"#5-target-kind\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Classification and regression are properties of the target, orthogonal to the approach hierarchy of section 3 and to the interaction hierarchy of section 4. One method keeps its criterion and substitutes only the estimator that matches the target.<\/p>\n<p dir=\"auto\">Table 2. What each method changes when the target is regression instead of classification<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">Section<\/th>\n<th align=\"center\">Method<\/th>\n<th align=\"center\">Uses y<\/th>\n<th align=\"center\">Classification target<\/th>\n<th align=\"center\">Regression target<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">3.1 Filter<\/td>\n<td align=\"center\">corr, VIF<\/td>\n<td align=\"center\">No<\/td>\n<td align=\"center\">Correlation among X only<\/td>\n<td align=\"center\">Correlation among X only<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">3.1 Filter<\/td>\n<td align=\"center\">mRMR<\/td>\n<td align=\"center\">Yes<\/td>\n<td align=\"center\"><code>mutual_info_classif<\/code><\/td>\n<td align=\"center\"><code>mutual_info_regression<\/code><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">3.1 Filter \/ 4.2 Synergy<\/td>\n<td align=\"center\">ReliefF<\/td>\n<td align=\"center\">Yes<\/td>\n<td align=\"center\">hit\/miss contrast<\/td>\n<td align=\"center\">None (RReliefF is a separate algorithm)<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">3.3 Embedded<\/td>\n<td align=\"center\">random forest, LightGBM, gradient boosting<\/td>\n<td align=\"center\">Yes<\/td>\n<td align=\"center\">Classifier<\/td>\n<td align=\"center\">Regressor<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">3.3 Embedded<\/td>\n<td align=\"center\">lasso, elastic net<\/td>\n<td align=\"center\">Yes<\/td>\n<td align=\"center\">Regression fit on the 0\/1 label<\/td>\n<td align=\"center\">Regression fit on y<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">3.2 Wrapper<\/td>\n<td align=\"center\">RFE, forward\/backward, genetic<\/td>\n<td align=\"center\">Yes<\/td>\n<td align=\"center\">Scored by <code>LogisticRegression<\/code><\/td>\n<td align=\"center\">Scored by <code>LinearRegression<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<ul dir=\"auto\">\n<li>Rows whose <code>Uses y<\/code> is No: the same computation under both targets<\/li>\n<li>Rows whose <code>Uses y<\/code> is Yes: the estimator and the model swapped for their regression form<\/li>\n<li>ReliefF: no counterpart to use in regression, so the algorithm itself splits<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">6. Selection Instability<\/h2><a id=\"user-content-6-selection-instability\" class=\"anchor\" aria-label=\"Permalink: 6. Selection Instability\" href=\"#6-selection-instability\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Selection instability is the property that the kept columns change when the data or the method changes a little, while the score stays where it was and only the names differ. Two causes produce it.<\/p>\n<ul dir=\"auto\">\n<li>Interchangeable features: an equivalence class of columns so correlated that swapping them leaves the performance where it was<\/li>\n<li>Sampling noise: correlation and importance ranks wobbling from one resample to the next, which flips the features that sat near the threshold<\/li>\n<\/ul>\n<p dir=\"auto\">The remedies replace one run of the selection with a selection frequency over repeats or with a treatment applied per correlated group.<\/p>\n<ul dir=\"auto\">\n<li>Stability selection: the selection repeated on every bootstrap sample, keeping the features whose selection frequency passes a threshold (0.6, say)<\/li>\n<li>Cluster representative: the features clustered by correlation and one member kept per cluster, which removes the swapping inside a cluster<\/li>\n<li>Group-wise selection: a correlated group kept together by ElasticNet or group lasso, which stops one member from standing for the group<\/li>\n<li>Selection frequency reporting: the selection frequency of every feature written beside the chosen set, which shows the columns that can stand in for one another<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">7. Workflow<\/h2><a id=\"user-content-7-workflow\" class=\"anchor\" aria-label=\"Permalink: 7. Workflow\" href=\"#7-workflow\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Cheap methods cut the candidates down before the expensive ones run. The cost of a wrapper grows with the number of features left, so three steps come before it.<\/p>\n<ul dir=\"auto\">\n<li>Step 1 (constant removal): features holding one value across every sample removed first. Neither correlation nor importance is defined for them, and no later step has anything to weigh<\/li>\n<li>Step 2 (pre-filtering): the duplicated features above a correlation of 0.95 removed by a univariate statistic or by VIF<\/li>\n<li>Step 3 (embedded selection): the candidates narrowed by lasso or by random forest, XGBoost, LightGBM<\/li>\n<li>Step 4 (fine-tuning via wrapper): the final subset decided by RFE or sequential feature selection once the candidates are few<\/li>\n<\/ul>\n<hr>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">Appendix A. Terminology<\/h2><a id=\"user-content-appendix-a-terminology\" class=\"anchor\" aria-label=\"Permalink: Appendix A. Terminology\" href=\"#appendix-a-terminology\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li><strong>Cross Validation<\/strong>: the procedure that splits the data into folds and uses each in turn for validation, measuring how the model generalizes.<\/li>\n<li><strong>MDI (Mean Decrease in Impurity)<\/strong>: the sum of the impurity one feature removes over the node splits of a tree.<\/li>\n<li><strong>Multicollinearity<\/strong>: the state where the input variables hold a strong linear relation, so a coefficient is not assigned uniquely to a single variable.<\/li>\n<li><strong>Mutual Information<\/strong>: the amount by which the entropy of one variable falls once the other is known.<\/li>\n<li><strong>Overfitting<\/strong>: the state where a model has learned the noise of the training data and performs worse on new data.<\/li>\n<li><strong>Permutation Importance<\/strong>: the importance measured as the drop in performance when the values of one feature are shuffled.<\/li>\n<li><strong>XOR Problem<\/strong>: the relation that is 1 only when two binary inputs differ. Each input has zero correlation with the output while the two together determine it completely.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">Appendix B. Implementation<\/h2><a id=\"user-content-appendix-b-implementation\" class=\"anchor\" aria-label=\"Permalink: Appendix B. Implementation\" href=\"#appendix-b-implementation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">The class below runs the four steps of section 7 with scikit-learn. <code>run<\/code> drops the constant features first and passes only the remaining columns through the other three steps. Each step takes its threshold from the constructor and returns the original column indices, so the names of the chosen features can be recovered at the end. Each step takes its method name as the <code>Literal<\/code> alias of that branch, whose members are declared on the class once and whose tuple of names is derived beside it with <code>get_args<\/code>. The filter step implements four names (<code>corr<\/code>, <code>vif<\/code>, <code>mrmr<\/code>, <code>relieff<\/code>), the embedded step five (<code>random_forest<\/code>, <code>lightgbm<\/code>, <code>gradient_boosting<\/code>, <code>lasso<\/code>, <code>elasticnet<\/code>) and the wrapper step four (<code>rfe<\/code>, <code>forward<\/code>, <code>backward<\/code>, <code>genetic<\/code>); a name outside a list raises <code>ValueError<\/code>. The <code>task<\/code> the constructor takes picks the model behind every step as Table 2 has it, and calling <code>relieff<\/code> under regression raises <code>ValueError<\/code> together with the filters that task can use.<\/p>\n<p dir=\"auto\">The input is the breast cancer dataset shipped with scikit-learn, with one column holding 1.0 throughout appended so that the constant removal step is visible, giving 569 samples and 31 features. The original 30 features overlap heavily and all of them are standardized with <code>StandardScaler<\/code>. The label is binary, so the example is written with classification models; for a regression target the right column of Table 2 takes over.<\/p>\n<p dir=\"auto\">The class is in <a href=\"https:\/\/github.com\/ykim2718\/AIML\/blob\/main\/Feature-Engineering\/Feature-Selection\/multivariate-feature-selection\/src\/multivariate_feature_selection.py\">src\/multivariate_feature_selection.py<\/a>, and <code>python src\/multivariate_feature_selection.py<\/code> redraws Fig 2.<\/p>\n<p dir=\"auto\">The constant column drops at the first step and reaches no filter. Of the 30 that remain the four filters keep 23, 17, 10 and 10, and the five embedded methods keep 9, 6, 5, 12 and 18, so their answers differ; <code>elasticnet<\/code>, which mixes in L2, keeps a correlated group together and holds 6 more than <code>lasso<\/code>. The four wrappers each pick 5 out of the 9 the random forest left, where <code>forward<\/code> and <code>backward<\/code> reach the same combination while <code>rfe<\/code> and <code>genetic<\/code> each take their own. Following the <code>corr<\/code> \u2192 <code>random_forest<\/code> \u2192 <code>rfe<\/code> that <code>run<\/code> takes by default, the feature count falls 31, 30, 23, 6, 5, and the costliest step runs where only 6 are left.<\/p>\n<p dir=\"auto\">Which method kept which feature is in Fig 2.<\/p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/ykim2718\/AIML\/blob\/main\/Feature-Engineering\/Feature-Selection\/multivariate-feature-selection\/multivariate-feature-selection-ko_fig\/fig2.png\"><img src=\"https:\/\/ykim.synology.me\/wordpress\/wp-json\/gh-readme\/v1\/asset?user=ykim2718&#038;repo=AIML&#038;branch=main&#038;path=Feature-Engineering\/Feature-Selection\/multivariate-feature-selection\/multivariate-feature-selection-ko_fig\/fig2.png&#038;sig=9dba72aba9982843ff49e8d5d0f07c744667e2d5d341feecd6f98e30ca18c629\" width=\"800\" alt=\"Fig 2\" style=\"max-width: 100%;\"><\/a><\/p>\n<p dir=\"auto\">Fig 2. Which features each selection method keeps<\/p>\n<ul dir=\"auto\">\n<li>The rows are the 30 features left after constant removal, in name order, and the columns are the 13 methods in filter, embedded and wrapper order, with a wider gap between the three branches. A filled cell means that method kept that feature.<\/li>\n<li>The number in brackets under a column name is how many features that method kept, and the wrapper columns ran on the 9 the random forest left.<\/li>\n<li><code>mean concave points<\/code> is filled in ten of the thirteen columns and <code>worst concave points<\/code> in twelve. <code>worst compactness<\/code>, in contrast, survives in the corr column alone.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">B.1 Choosing Among Answers \ud83e\udd51<\/h3><a id=\"user-content-b1-choosing-among-answers-\" class=\"anchor\" aria-label=\"Permalink: B.1 Choosing Among Answers \ud83e\udd51\" href=\"#b1-choosing-among-answers-\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Each method maximizes a different quantity, so the columns that survive differ. corr drops the later column of every pair above the limit, VIF drops the one the rest explain well, mRMR reads the overlap with what is already chosen, ReliefF the distance to the neighbours, Lasso the penalty that leaves one member of a group, ElasticNet the penalty that keeps the group, the tree family the split gain, and a wrapper the cross validation score of that model. What to use is settled by the validation score on a split that was not used for the selection.<\/p>\n<p dir=\"auto\">A split answer rarely means a different performance. Where the data holds many interchangeable features several subsets score almost the same, and which of them is kept is settled by the tie-break rule of each criterion rather than by signal. The breast cancer data of this example has 21 pairs correlated above 0.9 among its 30 features, and <code>mean radius<\/code> and <code>mean perimeter<\/code> are the same column at 0.998.<\/p>\n<p dir=\"auto\">Table 3. Cross validation score of each wrapper subset of the breast cancer example<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">Wrapper<\/th>\n<th align=\"center\">Features it keeps<br>(input)<\/th>\n<th align=\"center\">10-fold accuracy<br>(output)<\/th>\n<th align=\"center\">Selected features<br>(output)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">rfe<\/td>\n<td align=\"center\">5<\/td>\n<td align=\"center\">0.949 \u00b1 0.025<\/td>\n<td align=\"center\">area error, worst area, <ins>worst concave points<\/ins>, worst perimeter, worst radius<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">forward<\/td>\n<td align=\"center\">5<\/td>\n<td align=\"center\">0.954 \u00b1 0.037<\/td>\n<td align=\"center\">mean concavity, worst area, <ins>worst concave points<\/ins>, worst perimeter, worst radius<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">backward<\/td>\n<td align=\"center\">5<\/td>\n<td align=\"center\">0.954 \u00b1 0.037<\/td>\n<td align=\"center\">mean concavity, worst area, <ins>worst concave points<\/ins>, worst perimeter, worst radius<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">genetic<\/td>\n<td align=\"center\">5<\/td>\n<td align=\"center\">0.953 \u00b1 0.039<\/td>\n<td align=\"center\">area error, mean concave points, mean concavity, worst area, <ins>worst concave points<\/ins><\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">The four wrappers take the target count as an argument, and this example gives <code>final_count=5<\/code>. The four subsets are therefore the same size and the score differs only through what was chosen. That difference falls inside the standard deviation, so the score alone cannot pick one on this data. The order below takes over then.<\/p>\n<p dir=\"auto\">1\ufe0f\u20e3 Step 1 (agreement): keep the features several methods chose in common first. <code>worst concave points<\/code> is in all four subsets of Table 3<br>\n2\ufe0f\u20e3 Step 2 (stability): take the side that returns the same subset when the data is resampled. How it is measured is in section 6<br>\n3\ufe0f\u20e3 Step 3 (actionability): where a tie is left, take the feature the process can act on or a reader can make sense of<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">Appendix C. Variance Inflation Factor<\/h2><a id=\"user-content-appendix-c-variance-inflation-factor\" class=\"anchor\" aria-label=\"Permalink: Appendix C. Variance Inflation Factor\" href=\"#appendix-c-variance-inflation-factor\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">VIF is defined by the coefficient of determination <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$R_i^2$<\/math-renderer> of the regression of feature <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$x_i$<\/math-renderer> on all the remaining features, and measures how far that feature is reproduced by a linear combination of the rest.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$$\\mathrm{VIF}_i = \\frac{1}{1 - R_i^2} \\hspace{19em} (2)$$<\/math-renderer>\n<ul dir=\"auto\">\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$R_i^2$<\/math-renderer>: the coefficient of determination of <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$x_i$<\/math-renderer> regressed on the remaining features<\/li>\n<li>Range: 1 where <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$R_i^2 = 0$<\/math-renderer>, growing as <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$R_i^2$<\/math-renderer> approaches 1 and infinite under perfect collinearity<\/li>\n<li>Origin of the name: the variance of the coefficient <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$\\hat{\\beta}_i$<\/math-renderer> is VIF times what it would be without collinearity<\/li>\n<\/ul>\n<p dir=\"auto\">The removal repeats one feature at a time.<\/p>\n<ul dir=\"auto\">\n<li>Compute the value of equation (2) for every remaining feature<\/li>\n<li>Remove the single feature whose value is the largest, where that value passes the limit<\/li>\n<li>Recompute the values of the remaining features and repeat until all of them fall under the limit<\/li>\n<\/ul>\n<p dir=\"auto\">One at a time is what keeps usable features: where a pair inflated each other, dropping one brings the value of the other down as well, and removing several at once loses features that would have stayed.<\/p>\n<p dir=\"auto\">Table 4. Reading of a VIF value<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">VIF<\/th>\n<th align=\"center\">Reading<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">1<\/td>\n<td align=\"center\">Not explained by the remaining features<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">1\u20135<\/td>\n<td align=\"center\">Weak collinearity, usually left in place<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">5\u201310<\/td>\n<td align=\"center\">Moderate collinearity, judged by the data and the purpose<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">&gt; 10<\/td>\n<td align=\"center\">Strong collinearity, a candidate for removal<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">\u221e<\/td>\n<td align=\"center\">Perfect collinearity, a linear combination of the rest<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">The unit each one reads is where VIF parts from the correlation filter. The correlation filter reads the correlation of a pair and passes over the collinearity three or more features build together, while VIF regresses on all the rest and catches that case. It pays for this with one regression per feature, solved again after every removal.<\/p>\n<ul dir=\"auto\">\n<li>Categorical dummies: dummies from one variable are collinear with each other and always score high, so the reference category is dropped and the reading is made per variable<\/li>\n<li>Perfect collinearity: the value is infinite where <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$R_i^2 = 1$<\/math-renderer>, and <code>_vif_of<\/code> of Appendix B returns <code>float(\"inf\")<\/code> there so that the feature becomes the next removal<\/li>\n<li>Independence from the target: <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$y$<\/math-renderer> does not enter equation (2), which puts VIF among the <code>Uses y<\/code> No rows of Table 2<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">Appendix D. Gradient Boosting<\/h2><a id=\"user-content-appendix-d-gradient-boosting\" class=\"anchor\" aria-label=\"Permalink: Appendix D. Gradient Boosting\" href=\"#appendix-d-gradient-boosting\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Gradient boosting is a model built by adding one shallow tree at a time, each tree fitted to the negative gradient of the loss left by the prediction so far. The prediction of stage <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$m$<\/math-renderer> mixes the new tree into the previous prediction by the learning rate <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$\\nu$<\/math-renderer>.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$$F_m(x) = F_{m-1}(x) + \\nu\\, h_m(x) \\hspace{19em} (3)$$<\/math-renderer>\n<ul dir=\"auto\">\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$h_m$<\/math-renderer>: the tree fitted at stage <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$m$<\/math-renderer> to the negative gradient of the loss<\/li>\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"332adc157fe0a7fa0c7905361fb2896f\">$\\nu$<\/math-renderer>: the learning rate; a smaller one asks for more trees and carries less of any single tree's error<\/li>\n<li>Difference from random forest: a random forest averages trees grown independently, while gradient boosting hands what one tree left to the next and reduces it in sequence<\/li>\n<\/ul>\n<p dir=\"auto\">The selection cuts the importance this model reports at a threshold. <code>_by_gradient_boosting<\/code> fits a <code>GradientBoostingClassifier<\/code> (a <code>GradientBoostingRegressor<\/code> for a regression target) with <code>forest_size<\/code> trees and passes it to <code>SelectFromModel(threshold=\"mean\")<\/code>, keeping the features whose importance is above the mean. The importance is the impurity the splits on that feature removed (MDI), divided by the number of trees.<\/p>\n<p dir=\"auto\">Table 5. The three tree-based embedded methods of the breast cancer example<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">Method<\/th>\n<th align=\"center\">Library<\/th>\n<th align=\"center\">Importance<\/th>\n<th align=\"center\">Features kept<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">random_forest<\/td>\n<td align=\"center\">scikit-learn<\/td>\n<td align=\"center\">MDI averaged over independent trees<\/td>\n<td align=\"center\">9<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">lightgbm<\/td>\n<td align=\"center\">LightGBM<\/td>\n<td align=\"center\">Total split gain (<code>importance_type=\"gain\"<\/code>)<\/td>\n<td align=\"center\">6<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">gradient_boosting<\/td>\n<td align=\"center\">scikit-learn<\/td>\n<td align=\"center\">MDI averaged over stage-wise trees<\/td>\n<td align=\"center\">5<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">All three read a split contribution, and the counts they keep still differ. Fitting in sequence, gradient boosting lets no later tree reuse the signal an earlier one has already explained, so its importance concentrates on few features and only five pass the mean threshold. The five are <code>mean concave points<\/code>, <code>worst concave points<\/code>, <code>worst perimeter<\/code>, <code>worst radius<\/code> and <code>worst texture<\/code>, which differ from the six of <code>lightgbm<\/code> by <code>worst area<\/code> alone.<\/p>\n<ul dir=\"auto\">\n<li>Correlated features: the member used first takes the gain and the rest score lower, so keeping a group together asks for the group-wise selection of section 6<\/li>\n<li>Bias of the importance: MDI favours continuous features and features with many distinct values, so the ranking can differ from permutation importance on the same model<\/li>\n<li>Cost: the trees are grown in sequence rather than in parallel as in a random forest, and the time grows linearly with <code>forest_size<\/code><\/li>\n<\/ul>\n<\/article><\/div><\/div><\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-kadence-tab kt-tab-inner-content kt-inner-tab-2 kt-inner-tab7080_1e6fe6-bb\"><div class=\"kt-tab-inner-content-inner\"><p><div class=\"github-readme-container markdown-body\"><div id=\"file\" class=\"md\" data-path=\"Feature-Engineering\/Feature-Selection\/multivariate-feature-selection\/multivariate-feature-selection-ko.md\"><article class=\"markdown-body entry-content container-lg\" itemprop=\"text\"><div class=\"markdown-heading\" dir=\"auto\"><h1 class=\"heading-element\" dir=\"auto\">Multivariate Feature Selection<\/h1><a id=\"user-content-multivariate-feature-selection\" class=\"anchor\" aria-label=\"Permalink: Multivariate Feature Selection\" href=\"#multivariate-feature-selection\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Version 69 | Created: 2026-09-12 | Updated: 2026-11-07 13:46 UTC<\/p>\n<ul dir=\"auto\">\n<li><a href=\"#1-purpose\">1. Purpose<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#11-motivation\">1.1 Motivation<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#2-taxonomy\">2. Taxonomy<\/a><\/li>\n<li><a href=\"#3-approach-based-methods\">3. Approach-based Methods<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#31-multivariate-filter-methods\">3.1 Multivariate Filter Methods<\/a><\/li>\n<li><a href=\"#32-wrapper-methods\">3.2 Wrapper Methods<\/a><\/li>\n<li><a href=\"#33-embedded-methods\">3.3 Embedded Methods<\/a><\/li>\n<li><a href=\"#34-comparison\">3.4 Comparison<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#4-interaction-based-methods\">4. Interaction-based Methods<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#41-redundancy-reduction\">4.1 Redundancy Reduction<\/a><\/li>\n<li><a href=\"#42-feature-synergy\">4.2 Feature Synergy<\/a><\/li>\n<li><a href=\"#43-dimensionality-tradeoff\">4.3 Dimensionality Tradeoff<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#5-target-kind\">5. Target Kind<\/a><\/li>\n<li><a href=\"#6-selection-instability\">6. Selection Instability<\/a><\/li>\n<li><a href=\"#7-workflow\">7. Workflow<\/a><\/li>\n<li><a href=\"#appendix-a-terminology\">Appendix A. Terminology<\/a><\/li>\n<li><a href=\"#appendix-b-implementation\">Appendix B. Implementation<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#b1-choosing-among-answers\">B.1 Choosing Among Answers \ud83e\udd51<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#appendix-c-variance-inflation-factor\">Appendix C. Variance Inflation Factor<\/a><\/li>\n<li><a href=\"#appendix-d-gradient-boosting\">Appendix D. Gradient Boosting<\/a><\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">1. Purpose<\/h2><a id=\"user-content-1-purpose\" class=\"anchor\" aria-label=\"Permalink: 1. Purpose\" href=\"#1-purpose\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li><strong>Problem Statement<\/strong>: Feature \uc758 \uac1c\ubcc4 \ud3c9\uac00\ub294 feature \uac04\uc758 \uacb0\ud569 \uc815\ubcf4\uc640 \uc911\ubcf5 \uc815\ubcf4\ub97c \ucc98\ub9ac\ud558\uc9c0 \ubabb\ud574 feature \uc758 \ucd5c\uc801\ud654\ub97c \ud558\uc9c0 \ubabb\ud55c\ub2e4.<\/li>\n<li><strong>Goal<\/strong>: Feature \uc0ac\uc774\uc758 \uc0c1\ud638\uc791\uc6a9\uacfc \uc911\ubcf5\uc131\uc744 \ud568\uaed8 \ubcf4\ub294 \uc120\ud0dd \uae30\ubc95\uc5d0 \ub300\ud55c taxonomy \uc640 hierarchy \ub97c \uc138\uc6b0\uace0 \uc815\ub9ac\ud558\uc5ec, \uc0c1\ud669\uc5d0 \ub9de\ucdb0 \uc801\uc6a9\ud558\uac70\ub098 \ube60\ub978 \uc9c0\uce68 (rule of thumb) \uc73c\ub85c \uc4f0\uac8c \ud55c\ub2e4.<\/li>\n<li><strong>Non-Goal<\/strong>: Feature \uc758 \uac1c\ubcc4 \uac80\uc99d\uc740 <a href=\"https:\/\/github.com\/ykim2718\/AIML\/blob\/main\/Feature-Engineering\/Feature-Selection\/univariate-feature-selection\/univariate-feature-selection-ko.md\">Univariate Feature Selection<\/a> \uc5d0\uc11c \ub2e4\ub8ec\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">1.1 Motivation<\/h3><a id=\"user-content-11-motivation\" class=\"anchor\" aria-label=\"Permalink: 1.1 Motivation\" href=\"#11-motivation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Feature \uc870\ud569\uc774 \uac1c\ubcc4 feature \ubcf4\ub2e4 target \uc744 \ub354 \uc798 \uc124\uba85\ud558\ub294 \uacbd\uc6b0\uac00 \uc788\uc73c\ubbc0\ub85c, \uc120\ud0dd\uc740 \uc870\ud569 \ub2e8\uc704\ub85c \uc774\ub8e8\uc5b4\uc838\uc57c \ud55c\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$X_1$<\/math-renderer> \uacfc <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$X_2$<\/math-renderer> \uac00 \uac01\uac01\uc740 target <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$Y$<\/math-renderer> \uc640 \ub0ae\uc740 \uc0c1\uad00\uc744 \ubcf4\uc5ec\ub3c4 \ub450 feature \uc758 \uc870\ud569\uc740 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$Y$<\/math-renderer> \ub97c \uc124\uba85\ud558\ub294 \uac15\ud55c \uc2e0\ud638\uac00 \ub420 \uc218 \uc788\uc73c\uba70, XOR \ubb38\uc81c\uac00 \uadf8 \ub300\ud45c\uc801\uc778 \uc608\ub2e4.<\/p>\n<p dir=\"auto\">\ub2e4\ubcc0\ub7c9 \ubd84\uc11d\uc758 \ubaa9\uc801\uc740 \uc14b\uc774\ub2e4.<\/p>\n<p dir=\"auto\">1\ufe0f\u20e3 Feature \uc0ac\uc774\uc758 \ub2e4\uc911\uacf5\uc120\uc131 \ubc0f \uc911\ubcf5\uc131 \uc81c\uac70<br>\n2\ufe0f\u20e3 Feature \uc0ac\uc774\uc758 \uc2dc\ub108\uc9c0 \ud6a8\uacfc \ubc1c\uad74<br>\n3\ufe0f\u20e3 Model \uc131\ub2a5 \ud5a5\uc0c1\uacfc overfitting \ubc29\uc9c0<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">2. Taxonomy<\/h2><a id=\"user-content-2-taxonomy\" class=\"anchor\" aria-label=\"Permalink: 2. Taxonomy\" href=\"#2-taxonomy\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uae30\ubc95\uc740 model \uc744 \uc5b8\uc81c \ucc38\uc870\ud558\ub294\uac00 (approach) \uc640 \uc0c1\ud638\uc791\uc6a9\uc744 \uc5b4\ub5a4 \ubc29\uc2dd\uc73c\ub85c \ub2e4\ub8e8\ub294\uac00 (interaction) \uc758 \ub450 \uac08\ub798\ub85c \ub098\ub25c\ub2e4.<\/p>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"Multivariate feature selection taxonomy\n|\n+-- 1. Approach-based hierarchy\n|   |\n|   +-- Filter methods\n|   |   +-- Correlation matrix and VIF ...... multicollinearity removal\n|   |   +-- mRMR ........................... minimum redundancy maximum relevance\n|   |   +-- ReliefF ........................ neighbour contrast\n|   |\n|   +-- Wrapper methods\n|   |   +-- Forward selection \/ backward elimination\n|   |   +-- RFE ........................... recursive feature elimination\n|   |   +-- Genetic algorithm search\n|   |\n|   +-- Embedded methods\n|       +-- Lasso (L1) \/ ElasticNet\n|       +-- Tree-based importance ......... random forest, XGBoost, LightGBM\n|\n+-- 2. Interaction-based hierarchy\n    +-- Redundancy reduction ............... removing duplicated information\n    +-- Feature synergy .................... keeping features that matter together\n    +-- Dimensionality tradeoff ............ trading dimension against signal\"><pre lang=\"text\" class=\"notranslate\"><code>Multivariate feature selection taxonomy\n|\n+-- 1. Approach-based hierarchy\n|   |\n|   +-- Filter methods\n|   |   +-- Correlation matrix and VIF ...... multicollinearity removal\n|   |   +-- mRMR ........................... minimum redundancy maximum relevance\n|   |   +-- ReliefF ........................ neighbour contrast\n|   |\n|   +-- Wrapper methods\n|   |   +-- Forward selection \/ backward elimination\n|   |   +-- RFE ........................... recursive feature elimination\n|   |   +-- Genetic algorithm search\n|   |\n|   +-- Embedded methods\n|       +-- Lasso (L1) \/ ElasticNet\n|       +-- Tree-based importance ......... random forest, XGBoost, LightGBM\n|\n+-- 2. Interaction-based hierarchy\n    +-- Redundancy reduction ............... removing duplicated information\n    +-- Feature synergy .................... keeping features that matter together\n    +-- Dimensionality tradeoff ............ trading dimension against signal\n<\/code><\/pre><\/div>\n<p dir=\"auto\">Fig 1. Two hierarchies of multivariate feature selection<\/p>\n<p dir=\"auto\">\ub450 \uac08\ub798\uc640 \ub098\ub780\ud788, y \ub97c \ubcf4\ub294\uc9c0\ub85c\ub3c4 \uac08\ub9b0\ub2e4. \uc0c1\uad00 filter \uc640 VIF \ub294 X \uc548\uc758 \uc0c1\uad00\ub9cc \uacc4\uc0b0\ud558\uc5ec y \uc5c6\uc774 \ub3cc\uc544\uac00\uace0, mRMR \uacfc ReliefF \uc640 embedded \uc640 wrapper \ub294 \ubaa8\ub450 y \uc640\uc758 \uad00\uacc4\ub97c \uc7ac\uc5b4 \uace0\ub978\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">3. Approach-based Methods<\/h2><a id=\"user-content-3-approach-based-methods\" class=\"anchor\" aria-label=\"Permalink: 3. Approach-based Methods\" href=\"#3-approach-based-methods\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li>3.1 Filter: model \uc5c6\uc774 X \uc640 y \uc758 \ud1b5\uacc4\ub7c9\ub9cc \uacc4\uc0b0<\/li>\n<li>3.2 Wrapper: model \uc744 \uc678\ubd80 \ucc44\uc810\uae30\ub85c \ub450\uace0, \ud6c4\ubcf4 subset \ub9c8\ub2e4 \ub2e4\uc2dc \uc801\ud569\ud558\uc5ec \uc810\uc218\ub97c \ube44\uad50 (\uc801\ud569 \ud69f\uc218 = \ud6c4\ubcf4 \uc218)<\/li>\n<li>3.3 Embedded: \ud55c \ubc88\uc758 \uc801\ud569 \uc548\uc5d0\uc11c penalty \ub098 split gain \uc774 \uc120\ud0dd\uc744 \uc218\ud589 (\uc801\ud569 \ud69f\uc218 = 1)<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.1 Multivariate Filter Methods<\/h3><a id=\"user-content-31-multivariate-filter-methods\" class=\"anchor\" aria-label=\"Permalink: 3.1 Multivariate Filter Methods\" href=\"#31-multivariate-filter-methods\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Model \ud559\uc2b5 \uc5c6\uc774 data \uc758 \ud1b5\uacc4\uc801 \ud2b9\uc131\ub9cc\uc73c\ub85c feature \uc870\ud569\uc744 \uc120\ubcc4\ud55c\ub2e4. Univariate filter \uc640 \ub2ec\ub9ac feature \uc0ac\uc774\uc758 \uc0c1\uad00\uc131\uc744 \ud568\uaed8 \uacc4\uc0b0\ud55c\ub2e4.<\/p>\n<p dir=\"auto\">mRMR (Minimum Redundancy Maximum Relevance) \ub294 target \uacfc\uc758 mutual information \uc744 \ucd5c\ub300\ud654\ud558\uace0 \uc120\ud0dd\ub41c feature \uc0ac\uc774\uc758 mutual information \uc744 \ucd5c\uc18c\ud654\ud558\ub294 \ucd5c\uc801\ud654 \ubb38\uc81c\ub85c \ud47c\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$$\\max_{S} \\left[ \\frac{1}{|S|} \\sum_{i \\in S} I(x_i; y)\n- \\frac{1}{|S|^2} \\sum_{i, j \\in S} I(x_i; x_j) \\right]\n\\hspace{10em} (1)$$<\/math-renderer>\n<p dir=\"auto\">VIF (Variance Inflation Factor) \ub294 \ud55c feature \ub97c \ub098\uba38\uc9c0 feature \ub85c \ud68c\uadc0\ud558\uc5ec \uadf8 \uc124\uba85\ub825\uc744 \uce21\uc815\ud55c\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$\\mathrm{VIF} \\gt 10$<\/math-renderer> \uc778 feature \ub97c \uc21c\ucc28\uc801\uc73c\ub85c \uc81c\uac70\ud55c\ub2e4. \uc815\uc758\uc640 \uc81c\uac70 \uc808\ucc28\ub294 <a href=\"#appendix-c-variance-inflation-factor\">Appendix C<\/a> \uc5d0 \uc788\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.2 Wrapper Methods<\/h3><a id=\"user-content-32-wrapper-methods\" class=\"anchor\" aria-label=\"Permalink: 3.2 Wrapper Methods\" href=\"#32-wrapper-methods\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ud2b9\uc815 model \uc744 \uac80\uc99d \ub3c4\uad6c\ub85c \uc0bc\uc544, \ucd5c\uc801\uc758 \uc131\ub2a5\uc744 \ub0b4\ub294 feature subset \uc744 \ud0d0\uc0c9 algorithm \uc73c\ub85c \ucc3e\ub294\ub2e4.<\/p>\n<p dir=\"auto\">RFE (Recursive Feature Elimination) \uc758 \uc808\ucc28\ub294 \ub2e4\uc74c\uacfc \uac19\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>\uc804\uccb4 feature \ub85c model \uc744 \ud559\uc2b5<\/li>\n<li>\uacc4\uc218\ub098 feature \uc911\uc694\ub3c4\uac00 \uac00\uc7a5 \ub0ae\uc740 feature \ub97c \uc81c\uac70<\/li>\n<li>\ubaa9\ud45c feature \uac1c\uc218\uc5d0 \ub2ff\uc744 \ub54c\uae4c\uc9c0 \ubc18\ubcf5<\/li>\n<\/ul>\n<p dir=\"auto\">Greedy search \ub294 feature \ub97c \ud558\ub098\uc529 \ucd94\uac00 (forward) \ud558\uac70\ub098 \uc81c\uac70 (backward) \ud558\uba70 cross validation \uc810\uc218\uc758 \ubcc0\ud654\ub97c \ucd94\uc801\ud55c\ub2e4. Genetic algorithm \uc740 subset \uc5ec\ub7ff\uc744 \ud55c \uc138\ub300\ub85c \ub450\uace0, \uc810\uc218\uac00 \ub192\uc740 \uac83\ub4e4\uc744 \uc11e\uace0 \uc77c\ubd80\ub97c \ubc14\uafd4 \uac00\uba70 \ub2e4\uc74c \uc138\ub300\ub97c \ub9cc\ub4e4\uc5b4, \uc21c\ucc28 \ud0d0\uc0c9\uc774 \ub2ff\uc9c0 \uc54a\ub294 \uc870\ud569\uae4c\uc9c0 \ud6d1\ub294\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.3 Embedded Methods<\/h3><a id=\"user-content-33-embedded-methods\" class=\"anchor\" aria-label=\"Permalink: 3.3 Embedded Methods\" href=\"#33-embedded-methods\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Model \uc758 \ud559\uc2b5 algorithm \uc548\uc5d0 feature \uc120\ud0dd \uacfc\uc815\uc774 \ub4e4\uc5b4 \uc788\ub2e4.<\/p>\n<p dir=\"auto\">Lasso \ub294 \uc190\uc2e4 \ud568\uc218\uc5d0 \uacc4\uc218 \uc808\ub313\uac12\uc758 \ud569 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$\\lambda \\sum |\\beta_i|$<\/math-renderer> \uc744 penalty \ub85c \ub354\ud558\uc5ec, \ubd88\ud544\uc694\ud55c feature \uc758 \uacc4\uc218\ub97c \uc815\ud655\ud788 0 \uc73c\ub85c \ubcf4\ub0b8\ub2e4. ElasticNet \uc740 \uac70\uae30\uc5d0 \uacc4\uc218 \uc81c\uacf1\ud569\uc744 \uc11e\uc5b4, \uc11c\ub85c \uc0c1\uad00\ub41c feature \uac00\uc6b4\ub370 \ud558\ub098\ub9cc \ub0a8\uae30\ub294 lasso \uc640 \ub2ec\ub9ac \uadf8 \ubb34\ub9ac\ub97c \ud568\uaed8 \ub0a8\uae34\ub2e4.<\/p>\n<p dir=\"auto\">Tree-based importance \ub294 tree model \uc758 node \ubd84\ud560 \uae30\uc5ec\ub3c4 (MDI) \ub098 \uac12\uc744 \ubb34\uc791\uc704\ub85c \uc11e\uc5c8\uc744 \ub54c\uc758 \uc131\ub2a5 \uc800\ud558 \ud3ed (permutation importance) \uc73c\ub85c \ub2e4\ubcc0\ub7c9 \uad00\uc810\uc758 \uc911\uc694\ub3c4\ub97c \uacc4\uc0b0\ud55c\ub2e4. \uad6c\ud604\uc73c\ub85c\ub294 random forest \uc640 gradient boosting \uacc4\uc5f4\uc758 XGBoost, LightGBM \uc774 \uc788\uc73c\uba70, \uc14b \ub2e4 \ubd84\ud560 \uae30\uc5ec\ub3c4\ub97c \ub0b4\ub193\uc73c\ubbc0\ub85c <code>SelectFromModel<\/code> \uc5d0 \uadf8\ub300\ub85c \ub4e4\uc5b4\uac04\ub2e4. Gradient boosting \uc758 \uc801\ud569\uacfc importance \ub294 <a href=\"#appendix-d-gradient-boosting\">Appendix D<\/a> \uc5d0 \uc788\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.4 Comparison<\/h3><a id=\"user-content-34-comparison\" class=\"anchor\" aria-label=\"Permalink: 3.4 Comparison\" href=\"#34-comparison\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Multivariate filter, wrapper, embedded \ub294 \uacc4\uc0b0 \ube44\uc6a9\uacfc \uc0c1\ud638\uc791\uc6a9 \ubc18\uc601 \uc815\ub3c4\uac00 \uc11c\ub85c \ubc18\ub300 \ubc29\ud5a5\uc73c\ub85c \uc6c0\uc9c1\uc778\ub2e4.<\/p>\n<p dir=\"auto\">Table 1. Comparison of the three approaches<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">#<\/th>\n<th align=\"center\">Aspect<\/th>\n<th align=\"center\">Multivariate filter<\/th>\n<th align=\"center\">Wrapper<\/th>\n<th align=\"center\">Embedded<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">1<\/td>\n<td align=\"center\">\uacc4\uc0b0 \ubcf5\uc7a1\ub3c4<\/td>\n<td align=\"center\">\ub0ae\uc74c<\/td>\n<td align=\"center\">\ub9e4\uc6b0 \ub192\uc74c<\/td>\n<td align=\"center\">\uc911\uac04<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">2<\/td>\n<td align=\"center\">Overfitting \uc704\ud5d8<\/td>\n<td align=\"center\">\ub0ae\uc74c<\/td>\n<td align=\"center\">\ub192\uc74c<\/td>\n<td align=\"center\">\uc911\uac04<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">3<\/td>\n<td align=\"center\">Model \uc758\uc874\uc131<\/td>\n<td align=\"center\">\uc5c6\uc74c (model-agnostic)<\/td>\n<td align=\"center\">\uc120\ud0dd\ud55c model \uc5d0 \uc885\uc18d<\/td>\n<td align=\"center\">\ud574\ub2f9 model \uc5d0 \ub0b4\uc7a5<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">4<\/td>\n<td align=\"center\">\uc0c1\ud638\uc791\uc6a9 \ubc18\uc601<\/td>\n<td align=\"center\">\uc81c\ud55c\uc801 (\uc8fc\ub85c 1:1 \uc911\ubcf5 \uc81c\uac70)<\/td>\n<td align=\"center\">\ub9e4\uc6b0 \uc798 \ubc18\uc601<\/td>\n<td align=\"center\">\uc798 \ubc18\uc601<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">4. Interaction-based Methods<\/h2><a id=\"user-content-4-interaction-based-methods\" class=\"anchor\" aria-label=\"Permalink: 4. Interaction-based Methods\" href=\"#4-interaction-based-methods\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uac19\uc740 \uae30\ubc95\uc744 \uc0c1\ud638\uc791\uc6a9\uc744 \uc5b4\ub5bb\uac8c \ub2e4\ub8e8\ub294\uac00\ub85c \ub2e4\uc2dc \ubb36\uc73c\uba74 section 2 \uc758 \ub458\uc9f8 \uac08\ub798\uac00 \ub41c\ub2e4. \ud55c \uae30\ubc95\uc774 \ub450 \uac08\ub798\uc5d0 \uac78\uce58\uae30\ub3c4 \ud558\uba70, \uadf8\ub54c\ub294 \uadf8 \uae30\ubc95\uc774 \uac01 \uac08\ub798\uc5d0\uc11c \ubb34\uc5c7\uc744 \ud558\ub294\uc9c0\ub85c \uac08\ub77c \uc801\ub294\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.1 Redundancy Reduction<\/h3><a id=\"user-content-41-redundancy-reduction\" class=\"anchor\" aria-label=\"Permalink: 4.1 Redundancy Reduction\" href=\"#41-redundancy-reduction\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc911\ubcf5 \uc2e0\ud638\ub97c \uc9c0\uc6b0\ub294 \uac08\ub798\uc774\uba70, feature \uc0ac\uc774\uc758 \uc0c1\uad00\ub9cc \ubcf4\uace0 target \uc740 \ubcf4\uc9c0 \uc54a\uc544\ub3c4 \ub41c\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>\uc0c1\uad00 filter: \uc0c1\uad00\uacc4\uc218\uac00 \uae30\uc900\uce58\ub97c \ub118\ub294 \uc30d\uc5d0\uc11c \ud55c\ucabd\uc744 \uc81c\uac70<\/li>\n<li>VIF: \ub098\uba38\uc9c0 feature \ub85c \uc124\uba85\ub418\ub294 \uc815\ub3c4\uac00 \ud070 feature \ub97c \uc21c\ucc28\uc801\uc73c\ub85c \uc81c\uac70<\/li>\n<li>mRMR \uc758 min-redundancy \ud56d: \uc120\ud0dd\ub41c feature \uc0ac\uc774\uc758 mutual information \uc744 \ubc8c\uc810\uc73c\ub85c \ubd80\uacfc<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.2 Feature Synergy<\/h3><a id=\"user-content-42-feature-synergy\" class=\"anchor\" aria-label=\"Permalink: 4.2 Feature Synergy\" href=\"#42-feature-synergy\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uacb0\ud569 \uc2e0\ud638\ub97c \uc0b4\ub9ac\ub294 \uac08\ub798\uc774\uba70, feature \ub97c \uc870\ud569 \ub2e8\uc704\ub85c \ud3c9\uac00\ud574\uc57c \ub4dc\ub7ec\ub09c\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>Wrapper (RFE, forward\u00b7backward search): \ud6c4\ubcf4 subset \uc744 model \uc5d0 \ub123\uc5b4 \uc810\uc218\ub97c \ub9e4\uae30\ubbc0\ub85c \uc870\ud569\uc758 \ud6a8\uacfc\uac00 \uadf8\ub300\ub85c \uc810\uc218\uc5d0 \ub4e4\uc5b4\uac10<\/li>\n<li>Tree-based importance: \ubd84\ud560\uc774 \uc774\ubbf8 \uac08\ub77c\uc9c4 node \uc548\uc5d0\uc11c \uc774\ub8e8\uc5b4\uc838, \ub2e4\ub978 feature \uc758 \uac12\uc5d0 \ub530\ub77c \ub2ec\ub77c\uc9c0\ub294 \uae30\uc5ec\uac00 \ubc18\uc601\ub428<\/li>\n<li>ReliefF: \ud45c\ubcf8\ub9c8\ub2e4 \uac00\uae4c\uc6b4 \uac19\uc740 class \uc640 \ub2e4\ub978 class \uc758 \uc774\uc6c3\uc744 \uc804\uccb4 feature vector \uc758 \uac70\ub9ac \uc704\uc5d0\uc11c \ube44\uad50\ud558\ubbc0\ub85c, \ub2e4\ub978 feature \uc640 \ud568\uaed8\uc77c \ub54c\ub9cc \ub4dc\ub7ec\ub098\ub294 \ucc28\uc774\uac00 \uc810\uc218\uc5d0 \ub4e4\uc5b4\uac10. Class label \uc804\uc6a9\uc774\uba70, \ud68c\uadc0 target \uc5d0\ub294 RReliefF \uac00 \ub530\ub85c \uc788\uc74c<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.3 Dimensionality Tradeoff<\/h3><a id=\"user-content-43-dimensionality-tradeoff\" class=\"anchor\" aria-label=\"Permalink: 4.3 Dimensionality Tradeoff\" href=\"#43-dimensionality-tradeoff\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ub0a8\uae38 \ucc28\uc6d0 \uc218\ub97c \uc2e0\ud638\uc640 \ub9de\ubc14\uafb8\ub294 \uac08\ub798\uc774\uba70, \uc774\ubbf8 \ub9e4\uaca8\uc9c4 \uc21c\uc704\ub098 penalty path \uc704\uc5d0\uc11c \uc790\ub97c \uc790\ub9ac\ub97c \uc815\ud558\ub294 cut-off \ub2e4. \uadf8\ub798\uc11c \uc21c\uc704\ub97c \ub0b4\ub294 \uae30\uc900\uc774 \uba3c\uc800 \uc788\uc5b4\uc57c \uc801\uc6a9\ub418\uba70, \ubcf4\ud1b5 section 4.1 \uacfc section 4.2 \uc758 \uc21c\uc704 \uc704\uc5d0 \ubd99\ub294\ub2e4. Lasso \uc758 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$\\lambda$<\/math-renderer> \ub294 \uc608\uc678\ub85c, \uac19\uc740 penalty \uac00 \uc21c\uc704\uc640 cut-off \ub97c \ud568\uaed8 \uc815\ud55c\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>Lasso \uc758 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$\\lambda$<\/math-renderer>: \uac12\uc774 \ud074\uc218\ub85d 0 \uc774 \ub418\ub294 \uacc4\uc218\uac00 \ub298\uc5b4 \ucc28\uc6d0\uc774 \uc904\uc5b4\ub4e6<\/li>\n<li>RFE \uc758 \ubaa9\ud45c feature \uac1c\uc218: \ub0a8\uae38 \ucc28\uc6d0\uc744 \uc9c1\uc811 \uc9c0\uc815<\/li>\n<li>Tree-based importance \uc758 \ubb38\ud131\uac12: \ud3c9\uade0 \uc911\uc694\ub3c4 \uac19\uc740 \uae30\uc900\uc73c\ub85c \uc790\ub97c \uc790\ub9ac\ub97c \uc815\ud568<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">5. Target Kind<\/h2><a id=\"user-content-5-target-kind\" class=\"anchor\" aria-label=\"Permalink: 5. Target Kind\" href=\"#5-target-kind\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ubd84\ub958\uc640 \ud68c\uadc0\ub294 target \uc758 \uc131\uc9c8\uc774\uace0, section 3 \uc758 approach \uac08\ub798\uc640 section 4 \uc758 interaction \uac08\ub798 \uc5b4\ub290 \ucabd\uacfc\ub3c4 \uc9c1\uad50\ud55c\ub2e4. \uac19\uc740 method \uac00 criterion \uc744 \uc720\uc9c0\ud55c \ucc44 estimator \ub9cc target \uc5d0 \ub9de\ub294 \uac83\uc73c\ub85c \uad50\uccb4\ud55c\ub2e4.<\/p>\n<p dir=\"auto\">Table 2. What each method changes when the target is regression instead of classification<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">Section<\/th>\n<th align=\"center\">Method<\/th>\n<th align=\"center\">Uses y<\/th>\n<th align=\"center\">Classification target<\/th>\n<th align=\"center\">Regression target<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">3.1 Filter<\/td>\n<td align=\"center\">corr, VIF<\/td>\n<td align=\"center\">No<\/td>\n<td align=\"center\">Correlation among X only<\/td>\n<td align=\"center\">Correlation among X only<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">3.1 Filter<\/td>\n<td align=\"center\">mRMR<\/td>\n<td align=\"center\">Yes<\/td>\n<td align=\"center\"><code>mutual_info_classif<\/code><\/td>\n<td align=\"center\"><code>mutual_info_regression<\/code><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">3.1 Filter \/ 4.2 Synergy<\/td>\n<td align=\"center\">ReliefF<\/td>\n<td align=\"center\">Yes<\/td>\n<td align=\"center\">hit\/miss contrast<\/td>\n<td align=\"center\">None (RReliefF is a separate algorithm)<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">3.3 Embedded<\/td>\n<td align=\"center\">random forest, LightGBM, gradient boosting<\/td>\n<td align=\"center\">Yes<\/td>\n<td align=\"center\">Classifier<\/td>\n<td align=\"center\">Regressor<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">3.3 Embedded<\/td>\n<td align=\"center\">lasso, elastic net<\/td>\n<td align=\"center\">Yes<\/td>\n<td align=\"center\">Regression fit on the 0\/1 label<\/td>\n<td align=\"center\">Regression fit on y<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">3.2 Wrapper<\/td>\n<td align=\"center\">RFE, forward\/backward, genetic<\/td>\n<td align=\"center\">Yes<\/td>\n<td align=\"center\">Scored by <code>LogisticRegression<\/code><\/td>\n<td align=\"center\">Scored by <code>LinearRegression<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<ul dir=\"auto\">\n<li><code>Uses y<\/code> \uac00 No \uc778 \ud589: \ub450 target \uc5d0\uc11c \uac19\uc740 \uacc4\uc0b0<\/li>\n<li><code>Uses y<\/code> \uac00 Yes \uc778 \ud589: \ucd94\uc815\ub7c9\uacfc model \ub9cc \ud68c\uadc0\uc6a9\uc73c\ub85c \uad50\uccb4<\/li>\n<li>ReliefF: \ud68c\uadc0\uc5d0\uc11c \uc4f8 \uc218 \uc788\ub294 \ub300\uc751\ubb3c\uc774 \uc5c6\uc5b4 \uc54c\uace0\ub9ac\uc998 \uc790\uccb4\uac00 \uac08\ub9bc<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">6. Selection Instability<\/h2><a id=\"user-content-6-selection-instability\" class=\"anchor\" aria-label=\"Permalink: 6. Selection Instability\" href=\"#6-selection-instability\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Selection instability \ub294 \uc790\ub8cc\ub098 method \ub97c \uc870\uae08\ub9cc \ubc14\uafd4\ub3c4 \uace0\ub978 \uc5f4\uc774 \ubc14\ub00c\ub294 \uc131\uc9c8\uc774\uba70, \uc810\uc218\ub294 \uac70\uc758 \uadf8\ub300\ub85c\uc778 \ucc44 \uc774\ub984\ub9cc \uac08\ub9b0\ub2e4. \uc6d0\uc778\uc740 \ub458\uc774\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>Interchangeable features: \uc0c1\uad00\uc774 \ub192\uc544 \uc11c\ub85c \ubc14\uafd4 \uc368\ub3c4 \uc131\ub2a5\uc774 \uac19\uc740 \uc5f4\ub4e4\uc758 equivalence class<\/li>\n<li>Sampling noise: \uc7ac\ud45c\ubcf8\ub9c8\ub2e4 \uc0c1\uad00\uacfc \uc911\uc694\ub3c4 \uc21c\uc704\uac00 \ud754\ub4e4\ub824, \ubb38\ud131 \uac00\uae4c\uc774 \uc788\ub358 feature \uc758 \ub2f9\ub77d\uc774 \ub4a4\uc9d1\ud798<\/li>\n<\/ul>\n<p dir=\"auto\">\ub300\ucc45\uc740 \ud55c \ubc88\uc758 \uc120\ud0dd \ub300\uc2e0 \ubc18\ubcf5 \uc120\ud0dd\uc758 \ube48\ub3c4\ub098 \uc0c1\uad00 \ubb34\ub9ac \ub2e8\uc704\uc758 \ucc98\ub9ac\ub97c \uc4f4\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>Stability selection: bootstrap \ud45c\ubcf8\ub9c8\ub2e4 \uc120\ud0dd\uc744 \ub418\ud480\uc774\ud558\uace0, \uc120\ud0dd \ube48\ub3c4\uac00 \ubb38\ud131 (\uc608: 0.6) \uc744 \ub118\ub294 feature \ub9cc \ub0a8\uae40<\/li>\n<li>Cluster representative: \uc0c1\uad00\uc73c\ub85c feature \ub97c clustering \ud55c \ub4a4 \ubb34\ub9ac\ub9c8\ub2e4 \ud558\ub098\ub97c \ub300\ud45c\ub85c \ub0a8\uaca8, \ubb34\ub9ac \uc548\uc758 \uad50\uccb4\ub97c \uc5c6\uc570<\/li>\n<li>Group-wise selection: ElasticNet \uc774\ub098 group lasso \ub85c \uc0c1\uad00\ub41c \ubb34\ub9ac\ub97c \ud568\uaed8 \ub0a8\uaca8, \ud558\ub098\ub9cc \ubf51\ud788\ub294 \uac83\uc744 \ub9c9\uc74c<\/li>\n<li>Selection frequency reporting: \uace0\ub978 \uc9d1\ud569 \ud558\ub098\uac00 \uc544\ub2c8\ub77c feature \ub9c8\ub2e4\uc758 \uc120\ud0dd \ube48\ub3c4\ub97c \ud568\uaed8 \uc801\uc5b4, \ubc14\uafd4 \uc4f8 \uc218 \uc788\ub294 \uc5f4\uc744 \ub4dc\ub7ec\ub0c4<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">7. Workflow<\/h2><a id=\"user-content-7-workflow\" class=\"anchor\" aria-label=\"Permalink: 7. Workflow\" href=\"#7-workflow\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ube44\uc6a9\uc774 \ub0ae\uc740 \uae30\ubc95\uc73c\ub85c \ud6c4\ubcf4\ub97c \uc904\uc778 \ub4a4 \ube44\uc2fc \uae30\ubc95\uc744 \uc4f4\ub2e4. Wrapper \uc758 \ube44\uc6a9\uc740 \ub0a8\uc740 feature \uac1c\uc218\uc5d0 \ub530\ub77c \ucee4\uc9c0\ubbc0\ub85c, \uadf8 \uc55e\uc5d0 \uc138 \ub2e8\uacc4\ub97c \ub454\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>Step 1 (constant removal): \ubaa8\ub4e0 \ud45c\ubcf8\uc5d0\uc11c \uac12\uc774 \uac19\uc740 feature \ub97c \uba3c\uc800 \uc81c\uac70. \uc0c1\uad00\ub3c4 \uc911\uc694\ub3c4\ub3c4 \uc815\uc758\ub418\uc9c0 \uc54a\uace0, \ub4a4 \ub2e8\uacc4\uac00 \uac00\ub9b4 \uac83\uc774 \uc5c6\uc74c<\/li>\n<li>Step 2 (pre-filtering): univariate \ud1b5\uacc4\ub7c9 \ub610\ub294 VIF \ub85c \uc0c1\uad00\uacc4\uc218 0.95 \uc774\uc0c1\uc778 \uc911\ubcf5 feature \ub97c 1\ucc28 \uc81c\uac70<\/li>\n<li>Step 3 (embedded selection): Lasso \ub610\ub294 random forest, XGBoost, LightGBM \uae30\ubc18\uc73c\ub85c \uc911\uc694 feature \ud6c4\ubcf4\uad70 2\ucc28 \uc120\ubcc4<\/li>\n<li>Step 4 (fine-tuning via wrapper): \ud6c4\ubcf4\uad70\uc774 \uc904\uc5b4\ub4e0 \ub4a4 RFE \ub098 sequential feature selection \uc73c\ub85c \ucd5c\uc885 subset \uacb0\uc815<\/li>\n<\/ul>\n<hr>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">Appendix A. Terminology<\/h2><a id=\"user-content-appendix-a-terminology\" class=\"anchor\" aria-label=\"Permalink: Appendix A. Terminology\" href=\"#appendix-a-terminology\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li><strong>Cross Validation<\/strong>: \uc790\ub8cc\ub97c \uc5ec\ub7ec \uc870\uac01\uc73c\ub85c \ub098\ub204\uc5b4 \ubc88\uac08\uc544 \uac80\uc99d\uc5d0 \uc368\uc11c model \uc758 \uc77c\ubc18\ud654 \uc131\ub2a5\uc744 \uc7ac\ub294 \uc808\ucc28.<\/li>\n<li><strong>MDI (Mean Decrease in Impurity)<\/strong>: Tree \uc758 node \ubd84\ud560\uc5d0\uc11c \ud55c feature \uac00 \uc904\uc778 \ubd88\uc21c\ub3c4\uc758 \ud569.<\/li>\n<li><strong>Multicollinearity<\/strong>: \uc785\ub825 \ubcc0\uc218\ub4e4\uc774 \uc11c\ub85c \uac15\ud55c \uc120\ud615 \uad00\uacc4\ub97c \uac00\uc838, \uacc4\uc218\uac00 \uac1c\ubcc4 \ubcc0\uc218\uc5d0 \uace0\uc720\ud558\uac8c \ubc30\uc815\ub418\uc9c0 \uc54a\ub294 \uc0c1\ud0dc.<\/li>\n<li><strong>Mutual Information<\/strong>: \ud55c \ubcc0\uc218\ub97c \uc54c \ub54c \ub2e4\ub978 \ubcc0\uc218\uc758 entropy \uac00 \uc904\uc5b4\ub4dc\ub294 \uc591.<\/li>\n<li><strong>Overfitting<\/strong>: Model \uc774 \ud559\uc2b5 \uc790\ub8cc\uc758 \uc7a1\uc74c\uae4c\uc9c0 \ud559\uc2b5\ud558\uc5ec \uc0c8 \uc790\ub8cc\uc5d0\uc11c \uc131\ub2a5\uc774 \ub5a8\uc5b4\uc9c0\ub294 \uc0c1\ud0dc.<\/li>\n<li><strong>Permutation Importance<\/strong>: \ud55c feature \uc758 \uac12\uc744 \ubb34\uc791\uc704\ub85c \uc11e\uc5c8\uc744 \ub54c\uc758 \uc131\ub2a5 \uc800\ud558 \ud3ed\uc73c\ub85c \uc7b0 \uc911\uc694\ub3c4.<\/li>\n<li><strong>XOR Problem<\/strong>: \ub450 \uc774\uc9c4 \uc785\ub825\uc774 \uc11c\ub85c \ub2e4\ub97c \ub54c\ub9cc 1 \uc774 \ub418\ub294 \uad00\uacc4. \uac01 \uc785\ub825\uc740 \ucd9c\ub825\uacfc \uc0c1\uad00\uc774 0 \uc774\uc9c0\ub9cc \ub450 \uc785\ub825\uc758 \uc870\ud569\uc740 \ucd9c\ub825\uc744 \uc644\uc804\ud788 \uacb0\uc815\ud55c\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">Appendix B. Implementation<\/h2><a id=\"user-content-appendix-b-implementation\" class=\"anchor\" aria-label=\"Permalink: Appendix B. Implementation\" href=\"#appendix-b-implementation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">scikit-learn \uc73c\ub85c section 7 \uc758 \ub124 \ub2e8\uacc4\ub97c \uc2e4\ud589\ud558\ub294 class \ub2e4. <code>run<\/code> \uc740 \uc0c1\uc218 feature \ub97c \uba3c\uc800 \ub5a8\uc5b4\ub728\ub9b0 \ub4a4 \ub0a8\uc740 column \uc5d0\ub9cc \ub098\uba38\uc9c0 \uc138 \ub2e8\uacc4\ub97c \ub3cc\ub9b0\ub2e4. \uac01 \ub2e8\uacc4\uc758 \uae30\uc900\uac12\uc744 \uc0dd\uc131\uc790\ub85c \ubc1b\uace0, \uac01 \ub2e8\uacc4\ub294 \uc6d0\ubcf8 column \ubc88\ud638\ub97c \uadf8\ub300\ub85c \ub3cc\ub824\uc8fc\uc5b4 \ub9c8\uc9c0\ub9c9\uc5d0 \uace0\ub978 feature \uc758 \uc774\ub984\uc744 \ucc3e\uc744 \uc218 \uc788\uac8c \ud55c\ub2e4. \ub2e8\uacc4\ub9c8\ub2e4 method \uc774\ub984\uc744 \uadf8 \uac08\ub798\uc758 <code>Literal<\/code> \ubcc4\uce6d\uc73c\ub85c \ubc1b\uc73c\uba70, members \ub294 class \uc548\uc758 \uadf8 \ubcc4\uce6d \ud55c \uacf3\uc5d0\ub9cc \uc801\uace0, \uacc1\uc5d0 \ub454 \ubaa9\ub85d tuple \uc740 <code>get_args<\/code> \ub85c \ud30c\uc0dd\uc2dc\ud0a8\ub2e4. Filter \ub2e8\uacc4\ub294 \ub124 \uc774\ub984 (<code>corr<\/code>, <code>vif<\/code>, <code>mrmr<\/code>, <code>relieff<\/code>) \uc744, embedded \ub2e8\uacc4\ub294 \ub2e4\uc12f \uc774\ub984 (<code>random_forest<\/code>, <code>lightgbm<\/code>, <code>gradient_boosting<\/code>, <code>lasso<\/code>, <code>elasticnet<\/code>) \uc744, wrapper \ub2e8\uacc4\ub294 \ub124 \uc774\ub984 (<code>rfe<\/code>, <code>forward<\/code>, <code>backward<\/code>, <code>genetic<\/code>) \uc744 \ubaa8\ub450 \uad6c\ud604\ud558\uba70, \ubaa9\ub85d\uc5d0 \uc5c6\ub294 \uc774\ub984\uc740 <code>ValueError<\/code> \ub85c \ub9c9\ub294\ub2e4. \uc0dd\uc131\uc790\uac00 \ubc1b\ub294 <code>task<\/code> \ub294 \uac01 \ub2e8\uacc4 \ub4a4\uc5d0 \uc124 model \uc744 Table 2 \ub300\ub85c \uace0\ub974\uba70, \ud68c\uadc0\uc5d0\uc11c <code>relieff<\/code> \ub97c \ubd80\ub974\uba74 <code>ValueError<\/code> \uc640 \ud568\uaed8 \uadf8 task \uac00 \uc4f8 \uc218 \uc788\ub294 filter \ubaa9\ub85d\uc744 \ub3cc\ub824\uc900\ub2e4.<\/p>\n<p dir=\"auto\">\uc785\ub825\uc740 scikit-learn \uc5d0 \ub4e4\uc5b4 \uc788\ub294 breast cancer dataset \uc774\uba70, \uc0c1\uc218 \uc81c\uac70 \ub2e8\uacc4\uac00 \ubcf4\uc774\ub3c4\ub85d \uac12\uc774 \ub298 1.0 \uc778 column \ud558\ub098\ub97c \ub367\ubd99\uc5ec \ud45c\ubcf8 569 \uac1c\uc640 feature 31 \uac1c\ub85c \ub9cc\ub4e4\uc5c8\ub2e4. \uc6d0\ub798\uc758 feature 30 \uac1c\ub294 \uc11c\ub85c \uc911\ubcf5\uc774 \ud06c\uace0, \ubaa8\ub450 <code>StandardScaler<\/code> \ub85c \ud45c\uc900\ud654\ud55c\ub2e4. Label \uc774 \uc774\uc9c4\uc774\ubbc0\ub85c \uc608\uc81c\ub294 \ubd84\ub958 model \ub85c \uc9f0\uace0, \ud68c\uadc0 target \uc774\uba74 Table 2 \uc758 \uc624\ub978\ucabd \uc5f4\ub85c \ubc14\uafbc\ub2e4.<\/p>\n<p dir=\"auto\">Class \ub294 <a href=\"https:\/\/github.com\/ykim2718\/AIML\/blob\/main\/Feature-Engineering\/Feature-Selection\/multivariate-feature-selection\/src\/multivariate_feature_selection.py\">src\/multivariate_feature_selection.py<\/a> \uc5d0 \uc788\uc73c\uba70, <code>python src\/multivariate_feature_selection.py<\/code> \ub85c \ub3cc\ub9ac\uba74 Fig 2 \ub97c \ub2e4\uc2dc \uadf8\ub9b0\ub2e4.<\/p>\n<p dir=\"auto\">\uc0c1\uc218 column \uc740 \uccab \ub2e8\uacc4\uc5d0\uc11c \ub5a8\uc5b4\uc838 \uc5b4\ub290 filter \uc5d0\ub3c4 \ub2ff\uc9c0 \uc54a\ub294\ub2e4. \ub0a8\uc740 30 \uac1c\uc5d0\uc11c \ub124 filter \ub294 23, 17, 10, 10 \uac1c\ub97c, \ub2e4\uc12f embedded \ub294 9, 6, 5, 12, 18 \uac1c\ub97c \ub0a8\uaca8 \uc11c\ub85c \ub2e4\ub978 \ub2f5\uc744 \ub0b4\uba70, L2 \ub97c \uc11e\uc740 <code>elasticnet<\/code> \uc774 \uc0c1\uad00\ub41c \ubb34\ub9ac\ub97c \ud568\uaed8 \ub0a8\uaca8 <code>lasso<\/code> \ubcf4\ub2e4 6 \uac1c\ub97c \ub354 \ub4e0\ub2e4. \ub124 wrapper \ub294 random forest \uac00 \ub0a8\uae34 9 \uac1c\uc5d0\uc11c \uc800\ub9c8\ub2e4 5 \uac1c\ub97c \uace0\ub974\ub294\ub370, <code>forward<\/code> \uc640 <code>backward<\/code> \ub294 \uac19\uc740 \uc870\ud569\uc5d0 \ub2ff\uace0 <code>rfe<\/code> \uc640 <code>genetic<\/code> \uc740 \uc800\ub9c8\ub2e4 \ub2e4\ub978 \uc870\ud569\uc744 \uc9d1\ub294\ub2e4. <code>run<\/code> \uc774 \uae30\ubcf8\uac12\uc73c\ub85c \ubc1b\ub294 <code>corr<\/code> \u2192 <code>random_forest<\/code> \u2192 <code>rfe<\/code> \ub85c \uc774\uc5b4 \uac00\uba74 feature \uc218\uac00 31, 30, 23, 6, 5 \ub85c \uc904\uace0, \ube44\uc6a9\uc774 \uac00\uc7a5 \ud070 wrapper \ub294 6 \uac1c\ub9cc \ub0a8\uc740 \uc790\ub9ac\uc5d0\uc11c \ub3c8\ub2e4.<\/p>\n<p dir=\"auto\">\uc5b4\ub290 method \uac00 \uc5b4\ub290 feature \ub97c \ub0a8\uacbc\ub294\uc9c0\ub294 Fig 2 \uc5d0 \uc788\ub2e4.<\/p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/ykim2718\/AIML\/blob\/main\/Feature-Engineering\/Feature-Selection\/multivariate-feature-selection\/multivariate-feature-selection-ko_fig\/fig2.png\"><img src=\"https:\/\/ykim.synology.me\/wordpress\/wp-json\/gh-readme\/v1\/asset?user=ykim2718&#038;repo=AIML&#038;branch=main&#038;path=Feature-Engineering\/Feature-Selection\/multivariate-feature-selection\/multivariate-feature-selection-ko_fig\/fig2.png&#038;sig=9dba72aba9982843ff49e8d5d0f07c744667e2d5d341feecd6f98e30ca18c629\" width=\"800\" alt=\"Fig 2\" style=\"max-width: 100%;\"><\/a><\/p>\n<p dir=\"auto\">Fig 2. Which features each selection method keeps<\/p>\n<ul dir=\"auto\">\n<li>\ud589\uc740 \uc0c1\uc218 \uc81c\uac70 \ub4a4 \ub0a8\uc740 feature 30 \uac1c\ub97c \uc774\ub984\uc21c\uc73c\ub85c, \uc5f4\uc740 method 13 \uac1c\ub97c filter, embedded, wrapper \uc21c\uc73c\ub85c \ub450\uace0, \uc138 \uac08\ub798 \uc0ac\uc774\ub294 \uc5f4 \uac04\uaca9\uc744 \ub113\ud600 \uac08\ub790\ub2e4. \uce78\uc774 \ucc44\uc6cc\uc9c4 \uac83\uc740 \uadf8 method \uac00 \uadf8 feature \ub97c \ub0a8\uacbc\ub2e4\ub294 \ub73b\uc774\ub2e4.<\/li>\n<li>\uc5f4 \uc774\ub984 \uc544\ub798 \uad04\ud638 \uc548 \uc22b\uc790\ub294 \uadf8 method \uac00 \ub0a8\uae34 feature \uc218\uc774\uba70, wrapper \ub124 \uc5f4\uc740 random forest \uac00 \ub0a8\uae34 9 \uac1c \uc704\uc5d0\uc11c \ub3cc\ub9b0 \uacb0\uacfc\ub2e4.<\/li>\n<li><code>mean concave points<\/code> \ub294 \uc5f4\uc138 \uc5f4 \uac00\uc6b4\ub370 \uc5f4\uc5d0\uc11c, <code>worst concave points<\/code> \ub294 \uc5f4\ub458\uc5d0\uc11c \ucc44\uc6cc\uc9c4\ub2e4. \ubc18\ub300\ub85c <code>worst compactness<\/code> \ub294 corr \ud55c \uc5f4\uc5d0\ub9cc \ub0a8\ub294\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">B.1 Choosing Among Answers \ud83e\udd51<\/h3><a id=\"user-content-b1-choosing-among-answers-\" class=\"anchor\" aria-label=\"Permalink: B.1 Choosing Among Answers \ud83e\udd51\" href=\"#b1-choosing-among-answers-\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Method \ub9c8\ub2e4 \ucd5c\ub300\ud654\ud558\ub824\ub294 \uc591\uc774 \ub2ec\ub77c \ub0a8\ub294 \uc5f4\uc774 \uac08\ub9b0\ub2e4. corr \uc740 \uc0c1\uad00\uc774 \uae30\uc900\uc744 \ub118\ub294 \uc30d\uc5d0\uc11c \uc5f4 \uc21c\uc11c\uc0c1 \ub4a4\ub97c \ubc84\ub9ac\uace0, VIF \ub294 \ub098\uba38\uc9c0\ub85c \uc798 \uc124\uba85\ub418\ub294 \ucabd\uc744 \ubc84\ub9ac\uba70, mRMR \uc740 \uc774\ubbf8 \uace0\ub978 \uac83\uacfc\uc758 \uc911\ubcf5\uc744, ReliefF \ub294 \uc774\uc6c3\uae4c\uc9c0\uc758 \uac70\ub9ac\ub97c, Lasso \ub294 \ubb34\ub9ac\uc5d0\uc11c \ud558\ub098\ub9cc \ub0a8\uae30\ub294 penalty \ub97c, ElasticNet \uc740 \ubb34\ub9ac\ub97c \ud568\uaed8 \ub0a8\uae30\ub294 penalty \ub97c, tree \uacc4\uc5f4\uc740 \ubd84\ud560 \uc774\ub4dd\uc744, wrapper \ub294 \uadf8 model \uc758 cross validation \uc810\uc218\ub97c \ubcf8\ub2e4. \ubb34\uc5c7\uc744 \uc4f8\uc9c0\ub294 \uc120\ud0dd\uc5d0 \uc4f0\uc9c0 \uc54a\uc740 \ubd84\ud560\uc5d0\uc11c\uc758 \uac80\uc99d \uc810\uc218\ub85c \uc815\ud55c\ub2e4.<\/p>\n<p dir=\"auto\">\uac08\ub9b0 \ub2f5\uc774 \uc2e4\uc81c\ub85c \ub2e4\ub978 \uc131\ub2a5\uc744 \ub73b\ud558\ub294 \uacbd\uc6b0\ub294 \ub4dc\ubb3c\ub2e4. \uc790\ub8cc\uc5d0 \uc11c\ub85c \ub300\uccb4 \uac00\ub2a5\ud55c feature \uac00 \ub9ce\uc73c\uba74 \uc5ec\ub7ec \uc9d1\ud569\uc774 \uac70\uc758 \uac19\uc740 \uc810\uc218\ub97c \ub0b4\uace0, \uadf8 \uac00\uc6b4\ub370 \ub204\uad6c\ub97c \ub0a8\uae38\uc9c0\ub294 \uc2e0\ud638\uac00 \uc544\ub2c8\ub77c \uac01 \uae30\uc900\uc758 tie-break \uaddc\uce59\uc774 \uc815\ud55c\ub2e4. \uc774 \uc608\uc81c\uc758 breast cancer data \ub294 feature 30 \uac1c \uac00\uc6b4\ub370 \uc0c1\uad00 0.9 \uc774\uc0c1\uc778 \uc30d\uc774 21 \uac1c\uc774\uace0 <code>mean radius<\/code> \uc640 <code>mean perimeter<\/code> \ub294 0.998 \ub85c \uc0ac\uc2e4\uc0c1 \uac19\uc740 \uc5f4\uc774\ub2e4.<\/p>\n<p dir=\"auto\">Table 3. Cross validation score of each wrapper subset of the breast cancer example<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">Wrapper<\/th>\n<th align=\"center\">Features it keeps<br>(input)<\/th>\n<th align=\"center\">10-fold accuracy<br>(output)<\/th>\n<th align=\"center\">Selected features<br>(output)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">rfe<\/td>\n<td align=\"center\">5<\/td>\n<td align=\"center\">0.949 \u00b1 0.025<\/td>\n<td align=\"center\">area error, worst area, <ins>worst concave points<\/ins>, worst perimeter, worst radius<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">forward<\/td>\n<td align=\"center\">5<\/td>\n<td align=\"center\">0.954 \u00b1 0.037<\/td>\n<td align=\"center\">mean concavity, worst area, <ins>worst concave points<\/ins>, worst perimeter, worst radius<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">backward<\/td>\n<td align=\"center\">5<\/td>\n<td align=\"center\">0.954 \u00b1 0.037<\/td>\n<td align=\"center\">mean concavity, worst area, <ins>worst concave points<\/ins>, worst perimeter, worst radius<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">genetic<\/td>\n<td align=\"center\">5<\/td>\n<td align=\"center\">0.953 \u00b1 0.039<\/td>\n<td align=\"center\">area error, mean concave points, mean concavity, worst area, <ins>worst concave points<\/ins><\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">\ub124 wrapper \ub294 \ubaa9\ud45c \uac1c\uc218\ub97c \uc778\uc790\ub85c \ubc1b\uc73c\uba70, \uc774 \uc608\uc81c\ub294 <code>final_count=5<\/code> \ub2e4. \uadf8\ub798\uc11c \ub124 \uc9d1\ud569\uc758 \ud06c\uae30\uac00 \uac19\uc9c0\ub9cc \ub2e4\ub974\uac8c \uace8\ub790\uae30\uc5d0 \uc810\uc218 \ucc28\uc774\uac00 \ubc1c\uc0dd\ud55c\ub2e4. \uadf8 \ucc28\uc774\uac00 \ud45c\uc900\ud3b8\ucc28 \uc548\uc5d0 \ub4e4\uc5b4\uc624\ubbc0\ub85c, \uc774 \uc790\ub8cc\uc5d0\uc11c\ub294 \uc810\uc218\ub9cc\uc73c\ub85c \ud558\ub098\ub97c \uace0\ub97c \uc218 \uc5c6\ub2e4. \uadf8\ub7f4 \ub54c\ub294 \uc544\ub798 \uc21c\uc11c\ub85c \ub0b4\ub824\uac04\ub2e4.<\/p>\n<p dir=\"auto\">1\ufe0f\u20e3 Step 1 (agreement): \uc5ec\ub7ec method \uac00 \uacf5\ud1b5\uc73c\ub85c \uace0\ub978 feature \ub97c \uba3c\uc800 \ub0a8\uae34\ub2e4. <code>worst concave points<\/code> \ub294 Table 3 \uc758 \ub124 \uc9d1\ud569 \ubaa8\ub450\uc5d0 \ub4e4\uc5b4 \uc788\ub2e4<br>\n2\ufe0f\u20e3 Step 2 (stability): \uc790\ub8cc\ub97c \uc7ac\ud45c\ubcf8\ud574\ub3c4 \uac19\uc740 \uc9d1\ud569\uc774 \ub098\uc624\ub294 \ucabd\uc744 \uace0\ub978\ub2e4. \uc7ac\ub294 \ubc29\ubc95\uc740 section 6 \uc5d0 \uc788\ub2e4<br>\n3\ufe0f\u20e3 Step 3 (actionability): \uadf8\ub798\ub3c4 \ub0a8\uc73c\uba74 \uacf5\uc815\uc5d0\uc11c \uc190\ub308 \uc218 \uc788\uac70\ub098 \ub73b\uc774 \uc77d\ud788\ub294 feature \ub97c \uace0\ub978\ub2e4<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">Appendix C. Variance Inflation Factor<\/h2><a id=\"user-content-appendix-c-variance-inflation-factor\" class=\"anchor\" aria-label=\"Permalink: Appendix C. Variance Inflation Factor\" href=\"#appendix-c-variance-inflation-factor\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">VIF \ub294 feature <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$x_i$<\/math-renderer> \ub97c \ub098\uba38\uc9c0 feature \uc804\uccb4\ub85c \ud68c\uadc0\ud588\uc744 \ub54c\uc758 \uacb0\uc815\uacc4\uc218 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$R_i^2$<\/math-renderer> \ub85c \uc815\uc758\ub418\uba70, \uadf8 feature \uac00 \ub098\uba38\uc9c0\uc758 \uc120\ud615 \uacb0\ud569\uc73c\ub85c \uc5bc\ub9c8\ub098 \uc7ac\ud604\ub418\ub294\uc9c0\ub97c \uc7b0\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$$\\mathrm{VIF}_i = \\frac{1}{1 - R_i^2} \\hspace{19em} (2)$$<\/math-renderer>\n<ul dir=\"auto\">\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$R_i^2$<\/math-renderer>: <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$x_i$<\/math-renderer> \ub97c \ub098\uba38\uc9c0 feature \ub85c \ud68c\uadc0\ud55c \uacb0\uc815\uacc4\uc218<\/li>\n<li>\uac12\uc758 \ubc94\uc704: <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$R_i^2 = 0$<\/math-renderer> \uc774\uba74 1, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$R_i^2$<\/math-renderer> \uac00 1 \uc5d0 \uac00\uae4c\uc6b8\uc218\ub85d \ucee4\uc9c0\uace0 \uc644\uc804 \uacf5\uc120\uc131\uc5d0\uc11c \ubb34\ud55c\ub300<\/li>\n<li>\uc774\ub984\uc758 \uc720\ub798: \ud68c\uadc0 \uacc4\uc218 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$\\hat{\\beta}_i$<\/math-renderer> \uc758 \ubd84\uc0b0\uc774 \uacf5\uc120\uc131 \uc5c6\ub294 \uacbd\uc6b0\uc758 VIF \ubc30\uac00 \ub428<\/li>\n<\/ul>\n<p dir=\"auto\">\uc81c\uac70\ub294 \ud55c \ubc88\uc5d0 \ud558\ub098\uc529 \ub418\ud480\uc774\ud55c\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>\ub0a8\uc740 feature \ub9c8\ub2e4 \uc2dd (2) \uc758 \uac12\uc744 \uacc4\uc0b0<\/li>\n<li>\uac00\uc7a5 \ud070 \uac12\uc774 \ud55c\uacc4\ub97c \ub118\uc73c\uba74 \uadf8 feature \ud558\ub098\ub97c \uc81c\uac70<\/li>\n<li>\ub0a8\uc740 feature \uc758 \uac12\uc744 \ub2e4\uc2dc \uacc4\uc0b0\ud558\uc5ec, \ubaa8\ub450 \ud55c\uacc4 \uc544\ub798\ub85c \ub0b4\ub824\uc62c \ub54c\uae4c\uc9c0 \ub418\ud480\uc774<\/li>\n<\/ul>\n<p dir=\"auto\">\ud55c \ubc88\uc5d0 \ud558\ub098\ub9cc \ube7c\ub294 \uc774\uc720\ub294 \uc11c\ub85c\ub97c \ubd80\ud480\ub9ac\ub358 \uc30d\uc5d0\uc11c \ud558\ub098\uac00 \ube60\uc9c0\uba74 \ub0a8\uc740 \ucabd\uc758 \uac12\ub3c4 \ud568\uaed8 \ub0b4\ub824\uac00\uae30 \ub54c\ubb38\uc774\uba70, \uc5ec\ub7ff\uc744 \ud55c\uaebc\ubc88\uc5d0 \ube7c\uba74 \ub0a8\uaca8\ub3c4 \ub420 feature \uae4c\uc9c0 \uc783\ub294\ub2e4.<\/p>\n<p dir=\"auto\">Table 4. Reading of a VIF value<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">VIF<\/th>\n<th align=\"center\">Reading<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">1<\/td>\n<td align=\"center\">\ub098\uba38\uc9c0 feature \ub85c \uc124\uba85\ub418\uc9c0 \uc54a\uc74c<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">1\u20135<\/td>\n<td align=\"center\">\uc57d\ud55c \uacf5\uc120\uc131, \ubcf4\ud1b5 \uadf8\ub300\ub85c \ub460<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">5\u201310<\/td>\n<td align=\"center\">\uc911\uac04 \uacf5\uc120\uc131, \uc790\ub8cc\uc640 \ubaa9\uc801\uc5d0 \ub530\ub77c \ud310\ub2e8<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">&gt; 10<\/td>\n<td align=\"center\">\uac15\ud55c \uacf5\uc120\uc131, \uc81c\uac70 \ub300\uc0c1<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">\u221e<\/td>\n<td align=\"center\">\uc644\uc804 \uacf5\uc120\uc131, \ub098\uba38\uc9c0\uc758 \uc120\ud615 \uacb0\ud569<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">\uc0c1\uad00 filter \uc640 \uac08\ub9ac\ub294 \uc790\ub9ac\ub294 \ubcf4\ub294 \ub2e8\uc704\ub2e4. \uc0c1\uad00 filter \ub294 feature \uc30d\uc758 \uc0c1\uad00\ub9cc \ubcf4\ubbc0\ub85c \uc14b \uc774\uc0c1\uc774 \ud569\uccd0 \ub9cc\ub4dc\ub294 \uacf5\uc120\uc131\uc744 \uc9c0\ub098\uce58\uace0, VIF \ub294 \ub098\uba38\uc9c0 \uc804\uccb4\uc5d0 \ub300\ud55c \ub2e4\uc911 \ud68c\uadc0\uc774\ubbc0\ub85c \uadf8 \uacbd\uc6b0\ub97c \uc7a1\ub294\ub2e4. \ub300\uc2e0 feature \ub9c8\ub2e4 \ud68c\uadc0\ub97c \ud55c \ubc88\uc529 \ud480\uace0 \uc81c\uac70\ud560 \ub54c\ub9c8\ub2e4 \ub2e4\uc2dc \ud480\uc5b4\uc57c \ud558\ubbc0\ub85c \ube44\uc6a9\uc774 \ud06c\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>\ubc94\uc8fc\ud615 dummy: \ud55c \ubcc0\uc218\uc5d0\uc11c \ub098\uc628 dummy \ub4e4\uc740 \uc11c\ub85c \uacf5\uc120\uc774\ubbc0\ub85c \uac12\uc774 \ub298 \ub192\uac8c \ub098\uc624\uba70, \uae30\uc900 \ubc94\uc8fc\ub97c \ube80 \ub4a4 \ubcc0\uc218 \ub2e8\uc704\ub85c \uc77d\uc74c<\/li>\n<li>\uc644\uc804 \uacf5\uc120\uc131: <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$R_i^2 = 1$<\/math-renderer> \uc774\uba74 \uac12\uc774 \ubb34\ud55c\ub300\uc774\uace0, Appendix B \uc758 <code>_vif_of<\/code> \ub294 \uadf8 \uc790\ub9ac\ub97c <code>float(\"inf\")<\/code> \ub85c \ub3cc\ub824\uc8fc\uc5b4 \ub2e4\uc74c \uc81c\uac70 \ub300\uc0c1\uc774 \ub418\uac8c \ud568<\/li>\n<li>Target \uacfc\uc758 \ubb34\uad00: \uc2dd (2) \uc5d0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$y$<\/math-renderer> \uac00 \ub4e4\uc5b4\uac00\uc9c0 \uc54a\uc73c\ubbc0\ub85c Table 2 \uc758 <code>Uses y<\/code> \uac00 No \uc778 \uc790\ub9ac\uc5d0 \uc788\uc74c<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">Appendix D. Gradient Boosting<\/h2><a id=\"user-content-appendix-d-gradient-boosting\" class=\"anchor\" aria-label=\"Permalink: Appendix D. Gradient Boosting\" href=\"#appendix-d-gradient-boosting\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Gradient boosting \uc740 \uc595\uc740 tree \ub97c \ud55c \uadf8\ub8e8\uc529 \ub354\ud574 \uac00\ub294 model \uc774\uba70, \uac01 tree \ub294 \uc55e \ub2e8\uacc4\uae4c\uc9c0\uc758 \uc608\uce21\uc774 \ub0a8\uae34 \uc190\uc2e4\uc758 \uc74c\uc758 \uae30\uc6b8\uae30\ub97c target \uc73c\ub85c \uc801\ud569\ub41c\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$m$<\/math-renderer> \ub2e8\uacc4\uc758 \uc608\uce21\uc740 \uc55e \ub2e8\uacc4 \uc608\uce21\uc5d0 \uc0c8 tree \ub97c learning rate <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$\\nu$<\/math-renderer> \ub9cc\ud07c \uc11e\uc5b4 \ub9cc\ub4e0\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$$F_m(x) = F_{m-1}(x) + \\nu\\, h_m(x) \\hspace{19em} (3)$$<\/math-renderer>\n<ul dir=\"auto\">\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$h_m$<\/math-renderer>: <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$m$<\/math-renderer> \ub2e8\uacc4\uc5d0\uc11c \uc190\uc2e4\uc758 \uc74c\uc758 \uae30\uc6b8\uae30\uc5d0 \uc801\ud569\ub41c tree<\/li>\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"361c2e69eedabb667666b8b176e050ee\">$\\nu$<\/math-renderer>: learning rate. \uc791\uc744\uc218\ub85d tree \uc218\uac00 \ub9ce\uc544\uc9c0\ub294 \ub300\uc2e0 \ud55c \uadf8\ub8e8\uc758 \uc798\ubabb\uc774 \ub35c \uc2e4\ub9bc<\/li>\n<li>Random forest \uc640\uc758 \ucc28\uc774: random forest \ub294 \ub3c5\ub9bd\uc73c\ub85c \uae30\ub978 tree \ub97c \ud3c9\uade0 \ub0b4\uace0, gradient boosting \uc740 \uc55e tree \uac00 \ub0a8\uae34 \uac83\uc744 \ub2e4\uc74c tree \uac00 \ubc1b\uc544 \uc21c\ucc28\ub85c \uc904\uc784<\/li>\n<\/ul>\n<p dir=\"auto\">\uc120\ud0dd\uc740 \uc774 model \uc774 \ub0b4\ub193\ub294 importance \ub97c \ubb38\ud131\uc73c\ub85c \uc790\ub978\ub2e4. <code>_by_gradient_boosting<\/code> \uc740 <code>GradientBoostingClassifier<\/code> (\ud68c\uadc0 target \uc774\uba74 <code>GradientBoostingRegressor<\/code>) \ub97c <code>forest_size<\/code> \uadf8\ub8e8\ub85c \uc801\ud569\ud55c \ub4a4 <code>SelectFromModel(threshold=\"mean\")<\/code> \uc5d0 \ub123\uc5b4, \ud3c9\uade0\ubcf4\ub2e4 \ud070 importance \ub97c \uac00\uc9c4 feature \ub9cc \ub0a8\uae34\ub2e4. Importance \ub294 \uadf8 feature \uac00 \uc4f0\uc778 \ubd84\ud560\uc774 \uc904\uc778 \ubd88\uc21c\ub3c4\uc758 \ud569 (MDI) \uc744 tree \uc218\ub85c \ub098\ub208 \uac12\uc774\ub2e4.<\/p>\n<p dir=\"auto\">Table 5. The three tree-based embedded methods of the breast cancer example<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">Method<\/th>\n<th align=\"center\">Library<\/th>\n<th align=\"center\">Importance<\/th>\n<th align=\"center\">Features kept<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">random_forest<\/td>\n<td align=\"center\">scikit-learn<\/td>\n<td align=\"center\">MDI averaged over independent trees<\/td>\n<td align=\"center\">9<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">lightgbm<\/td>\n<td align=\"center\">LightGBM<\/td>\n<td align=\"center\">Total split gain (<code>importance_type=\"gain\"<\/code>)<\/td>\n<td align=\"center\">6<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">gradient_boosting<\/td>\n<td align=\"center\">scikit-learn<\/td>\n<td align=\"center\">MDI averaged over stage-wise trees<\/td>\n<td align=\"center\">5<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">\uc14b \ub2e4 \ubd84\ud560 \uae30\uc5ec\ub3c4\ub97c \uc4f0\uc9c0\ub9cc \ub0a8\uae30\ub294 \uac1c\uc218\uac00 \uac08\ub9b0\ub2e4. \uc21c\ucc28\ub85c \uc801\ud569\ud558\ub294 gradient boosting \uc740 \uc55e tree \uac00 \uc774\ubbf8 \uc124\uba85\ud55c \uc2e0\ud638\ub97c \ub4a4 tree \uac00 \ub2e4\uc2dc \uc4f0\uc9c0 \uc54a\uc73c\ubbc0\ub85c importance \uac00 \uc18c\uc218\uc758 feature \uc5d0 \ubab0\ub9ac\uace0, \ud3c9\uade0 \ubb38\ud131\uc744 \ub118\ub294 feature \uac00 \ub2e4\uc12f\uc73c\ub85c \uac00\uc7a5 \uc801\ub2e4. \ub0a8\uc740 \ub2e4\uc12f\uc740 <code>mean concave points<\/code>, <code>worst concave points<\/code>, <code>worst perimeter<\/code>, <code>worst radius<\/code>, <code>worst texture<\/code> \uc774\uba70, \uc5ec\uc12f\uc744 \ub0a8\uae30\ub294 <code>lightgbm<\/code> \uacfc\ub294 <code>worst area<\/code> \ud558\ub098\uac00 \ub2e4\ub974\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>\uc0c1\uad00\ub41c feature: \ud55c \ubb34\ub9ac\uc5d0\uc11c \uba3c\uc800 \uc4f0\uc778 feature \uac00 \uc774\ub4dd\uc744 \uac00\uc838\uac00\uace0 \ub098\uba38\uc9c0\ub294 \ub0ae\uc544\uc9c0\ubbc0\ub85c, \ubb34\ub9ac\uc9f8 \ub0a8\uae30\ub824\uba74 section 6 \uc758 group-wise selection \uc744 \uc500<\/li>\n<li>Importance \uc758 \uce58\uc6b0\uce68: MDI \ub294 \ubd84\ud560 \ud6c4\ubcf4\uac00 \ub9ce\uc740 \uc5f0\uc18d\ud615\uacfc \uace0\uc720\uac12\uc774 \ub9ce\uc740 feature \ub97c \ub192\uac8c \ub9e4\uae30\ubbc0\ub85c, \uac19\uc740 model \uc5d0\uc11c\ub3c4 permutation importance \uc640 \uc21c\uc704\uac00 \ub2e4\ub97c \uc218 \uc788\uc74c<\/li>\n<li>\ube44\uc6a9: tree \ub97c \uc21c\ucc28\ub85c \uae30\ub974\ubbc0\ub85c random forest \ucc98\ub7fc \ubcd1\ub82c\ub85c \uae30\ub97c \uc218 \uc5c6\uace0, <code>forest_size<\/code> \uac00 \ucee4\uc9c8\uc218\ub85d \uc2dc\uac04\uc774 \uc120\ud615\uc73c\ub85c \ub298\uc5b4\ub0a8<\/li>\n<\/ul>\n<\/article><\/div><\/div><\/p>\n<\/div><\/div>\n<\/div><\/div><\/div>\n<div style='text-align:center' class='yasr-auto-insert-overall'><\/div><div style='text-align:center' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>\ud83c\uddfa\ud83c\uddf8\ud83c\uddf0\ud83c\uddf7 Features chosen one at a time miss signals that only a combination carries, and keep duplicates. Three approaches handle that: a multivariate filter on the data alone, a wrapper around a chosen model, an embedded selector inside one. Cost and interaction sensitivity move in opposite directions, so run them in that order.<\/p>\n","protected":false},"author":4,"featured_media":7081,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","fifu_image_url":"","fifu_image_alt":"","iawp_total_views":25,"footnotes":""},"categories":[56,373],"tags":[430,386],"class_list":["post-7080","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-science-slug","category-feature-engineering-slug","tag-feature-selection","tag-github-hosted"],"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":1,"sum_votes":4},"jetpack_featured_media_url":"https:\/\/ykim.synology.me\/wordpress\/wp-content\/uploads\/2026\/09\/retail-gift-card-display-rack.jpg","_links":{"self":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7080","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/comments?post=7080"}],"version-history":[{"count":3,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7080\/revisions"}],"predecessor-version":[{"id":7104,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7080\/revisions\/7104"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/media\/7081"}],"wp:attachment":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/media?parent=7080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/categories?post=7080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/tags?post=7080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}