{
  "id": 81323,
  "title": "using one-hot coding for categorical features in XGBoost",
  "url": "/competitions/elo-merchant-category-recommendation/discussion/81323",
  "author_name": "dgk1",
  "post_date": "2019-02-20T18:43:38.143000",
  "votes": 0,
  "comment_count": 0,
  "views": 0,
  "content": "<p>as you know, XGBoost cannot get categorical features with one column like lightgbm.</p>\n\n<p>what happend if i use one-hot coding and colsampling for bagging at the same time ?</p>\n\n<p>in my opinion, i think it will give very bad effect to model performance</p>\n\n<p>because only subset of one-hot coded columns are used even though they are actually information of one categorical feature</p>\n\n<p>did any one think about this?</p>",
  "messages": [
    {
      "id": 475436,
      "postDate": "2019-02-20T18:43:38.143Z",
      "content": "<p>as you know, XGBoost cannot get categorical features with one column like lightgbm.</p>\n\n<p>what happend if i use one-hot coding and colsampling for bagging at the same time ?</p>\n\n<p>in my opinion, i think it will give very bad effect to model performance</p>\n\n<p>because only subset of one-hot coded columns are used even though they are actually information of one categorical feature</p>\n\n<p>did any one think about this?</p>",
      "rawMarkdown": "as you know, XGBoost cannot get categorical features with one column like lightgbm.\n\nwhat happend if i use one-hot coding and colsampling for bagging at the same time ?\n\nin my opinion, i think it will give very bad effect to model performance\n\nbecause only subset of one-hot coded columns are used even though they are actually information of one categorical feature\n\ndid any one think about this?"
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "475436": "as you know, XGBoost cannot get categorical features with one column like lightgbm.\n\nwhat happend if i use one-hot coding and colsampling for bagging at the same time ?\n\nin my opinion, i think it will give very bad effect to model performance\n\nbecause only subset of one-hot coded columns are used even though they are actually information of one categorical feature\n\ndid any one think about this?"
  }
}