{
  "id": 92492,
  "title": "How to select features",
  "url": "/competitions/LANL-Earthquake-Prediction/discussion/92492",
  "author_name": "Haonan Yao",
  "post_date": "2019-05-17T06:27:30.388000",
  "votes": 3,
  "comment_count": 10,
  "views": 0,
  "content": "<p>I am a newbie in data science. Struggle for a week, Luckily, I get bronze temporarily.\nBut, my CV and LB get stuck at 1.9798 and 1.424. The next work is to reduce features, but I have not any experience with statistics. So, I can only use selectKbest() to drop some features, but it is useless for my model. \nIf I drop too many features, LB gets really bad.\nIf it's convenient, please tell me some examples, tips or functions  abou it.</p>",
  "messages": [
    {
      "id": 532619,
      "postDate": "2019-05-17T11:40:08.497Z",
      "content": "<p>you may need this: <a href=\"https://www.researchgate.net/publication/221996079_An_Introduction_of_Variable_and_Feature_Selection\">https://www.researchgate.net/publication/221996079_An_Introduction_of_Variable_and_Feature_Selection</a></p>",
      "rawMarkdown": "you may need this: https://www.researchgate.net/publication/221996079_An_Introduction_of_Variable_and_Feature_Selection",
      "votes": 5,
      "replies": [
        {
          "id": 532621,
          "postDate": "2019-05-17T11:45:45.837Z",
          "content": "<p>谢谢啦~</p>",
          "rawMarkdown": "谢谢啦~",
          "votes": -2
        },
        {
          "id": 537865,
          "postDate": "2019-05-27T19:07:23.207Z",
          "content": "<p>Thank you for this link! It is helpful.</p>",
          "rawMarkdown": "Thank you for this link! It is helpful."
        }
      ]
    },
    {
      "id": 532605,
      "postDate": "2019-05-17T11:13:24.547Z",
      "content": "<p>try feature importance in lgb, or pearsonr (from scipy.stats import pearsonr) with different thresholds (look at vettejeep kernel) </p>",
      "rawMarkdown": "try feature importance in lgb, or pearsonr (from scipy.stats import pearsonr) with different thresholds (look at vettejeep kernel) \n",
      "votes": 5,
      "replies": [
        {
          "id": 532622,
          "postDate": "2019-05-17T11:46:14.503Z",
          "content": "<p>Thanks a lot</p>",
          "rawMarkdown": "Thanks a lot"
        }
      ]
    },
    {
      "id": 533647,
      "postDate": "2019-05-19T17:16:51.073Z",
      "content": "<p>I plot pictures, I shared one way.  You can also plot partial dependency graph.</p>",
      "rawMarkdown": "I plot pictures, I shared one way.  You can also plot partial dependency graph.",
      "votes": 3
    },
    {
      "id": 532511,
      "postDate": "2019-05-17T06:27:30.387Z",
      "content": "<p>I am a newbie in data science. Struggle for a week, Luckily, I get bronze temporarily.\nBut, my CV and LB get stuck at 1.9798 and 1.424. The next work is to reduce features, but I have not any experience with statistics. So, I can only use selectKbest() to drop some features, but it is useless for my model. \nIf I drop too many features, LB gets really bad.\nIf it's convenient, please tell me some examples, tips or functions  abou it.</p>",
      "rawMarkdown": "I am a newbie in data science. Struggle for a week, Luckily, I get bronze temporarily.\nBut, my CV and LB get stuck at 1.9798 and 1.424. The next work is to reduce features, but I have not any experience with statistics. So, I can only use selectKbest() to drop some features, but it is useless for my model. \nIf I drop too many features, LB gets really bad.\nIf it's convenient, please tell me some examples, tips or functions  abou it.\n\n",
      "votes": 2
    },
    {
      "id": 539137,
      "postDate": "2019-05-29T15:23:00.107Z",
      "content": "<p><a href=\"/haonanyao\">@haonanyao</a>  look at this: <a href=\"https://towardsdatascience.com/feature-selection-techniques-in-machine-learning-with-python-f24e7da3f36e\">https://towardsdatascience.com/feature-selection-techniques-in-machine-learning-with-python-f24e7da3f36e</a></p>",
      "rawMarkdown": "@haonanyao  look at this: https://towardsdatascience.com/feature-selection-techniques-in-machine-learning-with-python-f24e7da3f36e"
    },
    {
      "id": 533096,
      "postDate": "2019-05-18T12:58:46.213Z",
      "content": "<p>Try chi2 or some other feature selection technique </p>",
      "rawMarkdown": "Try chi2 or some other feature selection technique "
    },
    {
      "id": 532907,
      "postDate": "2019-05-18T02:32:31.057Z",
      "rawMarkdown": "",
      "isDeleted": true,
      "replies": [
        {
          "id": 533375,
          "postDate": "2019-05-19T05:12:25.003Z",
          "content": "<p>200 features CV-LB:1.92-1.440\nbut my best LB have  2000 featues.</p>",
          "rawMarkdown": "200 features CV-LB:1.92-1.440\nbut my best LB have  2000 featues.",
          "votes": 1
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 532619,
      "author_name": "MeisterMorxrc",
      "author_url": "",
      "post_date": "2019-05-17T11:40:08.497000",
      "content": "<p>you may need this: <a href=\"https://www.researchgate.net/publication/221996079_An_Introduction_of_Variable_and_Feature_Selection\">https://www.researchgate.net/publication/221996079_An_Introduction_of_Variable_and_Feature_Selection</a></p>",
      "votes": 5,
      "replies": [
        {
          "id": 532621,
          "author_name": "Haonan Yao",
          "author_url": "",
          "post_date": "2019-05-17T11:45:45.837000",
          "content": "<p>谢谢啦~</p>",
          "votes": -2,
          "replies": []
        },
        {
          "id": 537865,
          "author_name": "DevilEars",
          "author_url": "",
          "post_date": "2019-05-27T19:07:23.207000",
          "content": "<p>Thank you for this link! It is helpful.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 532605,
      "author_name": "Matias Thayer",
      "author_url": "",
      "post_date": "2019-05-17T11:13:24.547000",
      "content": "<p>try feature importance in lgb, or pearsonr (from scipy.stats import pearsonr) with different thresholds (look at vettejeep kernel) </p>",
      "votes": 5,
      "replies": [
        {
          "id": 532622,
          "author_name": "Haonan Yao",
          "author_url": "",
          "post_date": "2019-05-17T11:46:14.503000",
          "content": "<p>Thanks a lot</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 533647,
      "author_name": "CPMP",
      "author_url": "",
      "post_date": "2019-05-19T17:16:51.073000",
      "content": "<p>I plot pictures, I shared one way.  You can also plot partial dependency graph.</p>",
      "votes": 3,
      "replies": []
    },
    {
      "id": 539137,
      "author_name": "Felipe Loque",
      "author_url": "",
      "post_date": "2019-05-29T15:23:00.107000",
      "content": "<p><a href=\"/haonanyao\">@haonanyao</a>  look at this: <a href=\"https://towardsdatascience.com/feature-selection-techniques-in-machine-learning-with-python-f24e7da3f36e\">https://towardsdatascience.com/feature-selection-techniques-in-machine-learning-with-python-f24e7da3f36e</a></p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 533096,
      "author_name": "prafful baheti",
      "author_url": "",
      "post_date": "2019-05-18T12:58:46.213000",
      "content": "<p>Try chi2 or some other feature selection technique </p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 532907,
      "author_name": "",
      "author_url": "",
      "post_date": "2019-05-18T02:32:31.057000",
      "content": "",
      "votes": 0,
      "replies": [
        {
          "id": 533375,
          "author_name": "Haonan Yao",
          "author_url": "",
          "post_date": "2019-05-19T05:12:25.003000",
          "content": "<p>200 features CV-LB:1.92-1.440\nbut my best LB have  2000 featues.</p>",
          "votes": 1,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "532619": "you may need this: https://www.researchgate.net/publication/221996079_An_Introduction_of_Variable_and_Feature_Selection",
    "532605": "try feature importance in lgb, or pearsonr (from scipy.stats import pearsonr) with different thresholds (look at vettejeep kernel) \n",
    "533647": "I plot pictures, I shared one way.  You can also plot partial dependency graph.",
    "532511": "I am a newbie in data science. Struggle for a week, Luckily, I get bronze temporarily.\nBut, my CV and LB get stuck at 1.9798 and 1.424. The next work is to reduce features, but I have not any experience with statistics. So, I can only use selectKbest() to drop some features, but it is useless for my model. \nIf I drop too many features, LB gets really bad.\nIf it's convenient, please tell me some examples, tips or functions  abou it.\n\n",
    "539137": "@haonanyao  look at this: https://towardsdatascience.com/feature-selection-techniques-in-machine-learning-with-python-f24e7da3f36e",
    "533096": "Try chi2 or some other feature selection technique ",
    "532907": ""
  }
}