{
  "id": 101976,
  "title": "Best parameters for Light GBM Model ? (GridSearchCV, Bayesian Optimization...)",
  "url": "/competitions/champs-scalar-coupling/discussion/101976",
  "author_name": "",
  "post_date": "2019-07-30T07:14:57.304983900Z",
  "votes": 3,
  "comment_count": 11,
  "views": 0,
  "content": "",
  "messages": [
    {
      "id": "588114",
      "postDate": "07/30/2019 07:14:57",
      "content": "",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "590231",
      "postDate": "08/01/2019 23:01:27",
      "content": "<p>At the risk of being accused of self-promotion, I have a kernel here that might interest you:</p>\n\n<p><a href=\"https://www.kaggle.com/bigironsphere/parameter-tuning-in-one-function-with-hyperopt\">https://www.kaggle.com/bigironsphere/parameter-tuning-in-one-function-with-hyperopt</a></p>",
      "rawMarkdown": "At the risk of being accused of self-promotion, I have a kernel here that might interest you:\n\nhttps://www.kaggle.com/bigironsphere/parameter-tuning-in-one-function-with-hyperopt",
      "votes": null
    },
    {
      "id": "590320",
      "postDate": "08/02/2019 04:29:00",
      "content": "<p>I'm trying !</p>",
      "rawMarkdown": "I'm trying !",
      "votes": null
    },
    {
      "id": "590409",
      "postDate": "08/02/2019 06:57:00",
      "content": "<p>Your kernel was great in LANL competition with it's small dataset, but here it's unapplicable, I think. It will take over 9000 years to iterate through lgb parameters and run it on each set of parameters with data for this competition. \nTho it's worth a try to make a subsample, but to run it in kaggle kernel one should use like ~0.2% of all data... Not so representative, IMHO.</p>\n\n<p>I'm not a hater, it's just a thought :)</p>",
      "rawMarkdown": "Your kernel was great in LANL competition with it's small dataset, but here it's unapplicable, I think. It will take over 9000 years to iterate through lgb parameters and run it on each set of parameters with data for this competition. \nTho it's worth a try to make a subsample, but to run it in kaggle kernel one should use like ~0.2% of all data... Not so representative, IMHO.\n\nI'm not a hater, it's just a thought :)",
      "votes": null
    },
    {
      "id": "590625",
      "postDate": "08/02/2019 12:12:24",
      "content": "<p>manual tuning yields great results.</p>",
      "rawMarkdown": "manual tuning yields great results.",
      "votes": null
    },
    {
      "id": "590808",
      "postDate": "08/02/2019 16:16:33",
      "content": "<p><a href=\"/stanislavblinov\">@stanislavblinov</a> Ideally you would limit the parameter space a lot more than in that kernel! The function I wrote is a blueprint that should be altered for use cases. It can indeed be slow, but if you're making models for each type it can run well until you encounter enormous datasets like 3JHC at which point you'd need sampling. But I agree, you would certainly not be able to run 2000 rounds of Hyperopt search with this data. </p>",
      "rawMarkdown": "stanislavblinov Ideally you would limit the parameter space a lot more than in that kernel! The function I wrote is a blueprint that should be altered for use cases. It can indeed be slow, but if you're making models for each type it can run well until you encounter enormous datasets like 3JHC at which point you'd need sampling. But I agree, you would certainly not be able to run 2000 rounds of Hyperopt search with this data.",
      "votes": null
    },
    {
      "id": "590821",
      "postDate": "08/02/2019 16:53:08",
      "content": "<p>Yes....I'm trying !</p>",
      "rawMarkdown": "Yes....I'm trying !",
      "votes": null
    },
    {
      "id": "590823",
      "postDate": "08/02/2019 16:55:53",
      "content": "<p>focus first on major parameters:\nlearning rate\nmax number of leaves\nsubsample</p>",
      "rawMarkdown": "focus first on major parameters:\nlearning rate\nmax number of leaves\nsubsample",
      "votes": null
    },
    {
      "id": "590830",
      "postDate": "08/02/2019 17:07:54",
      "content": "<p>Thank you very much <a href=\"/cpmpml\">@cpmpml</a>  ^ ^</p>",
      "rawMarkdown": "Thank you very much @cpmpml  ^ ^",
      "votes": null
    },
    {
      "id": "590840",
      "postDate": "08/02/2019 17:29:02",
      "content": "<p>I'm trying with more parameter\n         ('num_leaves': 255,\n          'min_child_samples': 79,\n          'min_data_in_leaf': 100,\n          'objective': 'regression',\n          'max_depth': 9,\n          'learning_rate': 0.2,\n          'min_child_samples': 20,\n          'min_gain_to_split': 0.02,\n          'min_data_in_bin': 3,\n          \"boosting_type\": \"gbdt\",\n          \"subsample_freq\": 1,\n          \"subsample\": 0.9,\n          \"bagging_seed\": 11,\n          \"metric\": 'mae',\n          \"verbosity\": -1,\n          'max_bin': 127,\n          'reg_alpha': 0.1,\n          'reg_lambda': 0.3,\n          'colsample_bytree': 1.0,\n          'num_iterations': 5000)\nand my score is worse. I'will trying focus first on major parameters: learning rate, max number of leaves subsample, max_depth, min_data_in_leaf,...\nI will also try with bayesian optimization (or GridSearchCV) for find major parameter (learning rate, max number of leaves subsample,...)</p>",
      "rawMarkdown": "I'm trying with more parameter\n         ('num_leaves': 255,\n          'min_child_samples': 79,\n          'min_data_in_leaf': 100,\n          'objective': 'regression',\n          'max_depth': 9,\n          'learning_rate': 0.2,\n          'min_child_samples': 20,\n          'min_gain_to_split': 0.02,\n          'min_data_in_bin': 3,\n          \"boosting_type\": \"gbdt\",\n          \"subsample_freq\": 1,\n          \"subsample\": 0.9,\n          \"bagging_seed\": 11,\n          \"metric\": 'mae',\n          \"verbosity\": -1,\n          'max_bin': 127,\n          'reg_alpha': 0.1,\n          'reg_lambda': 0.3,\n          'colsample_bytree': 1.0,\n          'num_iterations': 5000)\nand my score is worse. I'will trying focus first on major parameters: learning rate, max number of leaves subsample, max_depth, min_data_in_leaf,...\nI will also try with bayesian optimization (or GridSearchCV) for find major parameter (learning rate, max number of leaves subsample,...)",
      "votes": null
    },
    {
      "id": "590861",
      "postDate": "08/02/2019 18:09:07",
      "content": "<p>you should not tune the seed !!!!!!!!</p>",
      "rawMarkdown": "you should not tune the seed !!!!!!!!",
      "votes": null
    },
    {
      "id": "590876",
      "postDate": "08/02/2019 18:30:23",
      "content": "<p>The best value is always 42 anyway!</p>",
      "rawMarkdown": "The best value is always 42 anyway!",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 590231,
      "author_name": "bigironsphere",
      "author_url": "",
      "post_date": "08/01/2019 23:01:27",
      "content": "<p>At the risk of being accused of self-promotion, I have a kernel here that might interest you:</p>\n\n<p><a href=\"https://www.kaggle.com/bigironsphere/parameter-tuning-in-one-function-with-hyperopt\">https://www.kaggle.com/bigironsphere/parameter-tuning-in-one-function-with-hyperopt</a></p>",
      "votes": null,
      "replies": [
        {
          "id": 590320,
          "author_name": "duykhanh99",
          "author_url": "",
          "post_date": "08/02/2019 04:29:00",
          "content": "<p>I'm trying !</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 590409,
          "author_name": "stanislavblinov",
          "author_url": "",
          "post_date": "08/02/2019 06:57:00",
          "content": "<p>Your kernel was great in LANL competition with it's small dataset, but here it's unapplicable, I think. It will take over 9000 years to iterate through lgb parameters and run it on each set of parameters with data for this competition. \nTho it's worth a try to make a subsample, but to run it in kaggle kernel one should use like ~0.2% of all data... Not so representative, IMHO.</p>\n\n<p>I'm not a hater, it's just a thought :)</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 590808,
          "author_name": "bigironsphere",
          "author_url": "",
          "post_date": "08/02/2019 16:16:33",
          "content": "<p><a href=\"/stanislavblinov\">@stanislavblinov</a> Ideally you would limit the parameter space a lot more than in that kernel! The function I wrote is a blueprint that should be altered for use cases. It can indeed be slow, but if you're making models for each type it can run well until you encounter enormous datasets like 3JHC at which point you'd need sampling. But I agree, you would certainly not be able to run 2000 rounds of Hyperopt search with this data. </p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 590625,
      "author_name": "cpmpml",
      "author_url": "",
      "post_date": "08/02/2019 12:12:24",
      "content": "<p>manual tuning yields great results.</p>",
      "votes": null,
      "replies": [
        {
          "id": 590821,
          "author_name": "duykhanh99",
          "author_url": "",
          "post_date": "08/02/2019 16:53:08",
          "content": "<p>Yes....I'm trying !</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 590823,
          "author_name": "cpmpml",
          "author_url": "",
          "post_date": "08/02/2019 16:55:53",
          "content": "<p>focus first on major parameters:\nlearning rate\nmax number of leaves\nsubsample</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 590830,
          "author_name": "duykhanh99",
          "author_url": "",
          "post_date": "08/02/2019 17:07:54",
          "content": "<p>Thank you very much <a href=\"/cpmpml\">@cpmpml</a>  ^ ^</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 590840,
          "author_name": "duykhanh99",
          "author_url": "",
          "post_date": "08/02/2019 17:29:02",
          "content": "<p>I'm trying with more parameter\n         ('num_leaves': 255,\n          'min_child_samples': 79,\n          'min_data_in_leaf': 100,\n          'objective': 'regression',\n          'max_depth': 9,\n          'learning_rate': 0.2,\n          'min_child_samples': 20,\n          'min_gain_to_split': 0.02,\n          'min_data_in_bin': 3,\n          \"boosting_type\": \"gbdt\",\n          \"subsample_freq\": 1,\n          \"subsample\": 0.9,\n          \"bagging_seed\": 11,\n          \"metric\": 'mae',\n          \"verbosity\": -1,\n          'max_bin': 127,\n          'reg_alpha': 0.1,\n          'reg_lambda': 0.3,\n          'colsample_bytree': 1.0,\n          'num_iterations': 5000)\nand my score is worse. I'will trying focus first on major parameters: learning rate, max number of leaves subsample, max_depth, min_data_in_leaf,...\nI will also try with bayesian optimization (or GridSearchCV) for find major parameter (learning rate, max number of leaves subsample,...)</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 590861,
          "author_name": "cpmpml",
          "author_url": "",
          "post_date": "08/02/2019 18:09:07",
          "content": "<p>you should not tune the seed !!!!!!!!</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 590876,
          "author_name": "bigironsphere",
          "author_url": "",
          "post_date": "08/02/2019 18:30:23",
          "content": "<p>The best value is always 42 anyway!</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "588114": "",
    "590231": "At the risk of being accused of self-promotion, I have a kernel here that might interest you:\n\nhttps://www.kaggle.com/bigironsphere/parameter-tuning-in-one-function-with-hyperopt",
    "590320": "I'm trying !",
    "590409": "Your kernel was great in LANL competition with it's small dataset, but here it's unapplicable, I think. It will take over 9000 years to iterate through lgb parameters and run it on each set of parameters with data for this competition. \nTho it's worth a try to make a subsample, but to run it in kaggle kernel one should use like ~0.2% of all data... Not so representative, IMHO.\n\nI'm not a hater, it's just a thought :)",
    "590625": "manual tuning yields great results.",
    "590808": "stanislavblinov Ideally you would limit the parameter space a lot more than in that kernel! The function I wrote is a blueprint that should be altered for use cases. It can indeed be slow, but if you're making models for each type it can run well until you encounter enormous datasets like 3JHC at which point you'd need sampling. But I agree, you would certainly not be able to run 2000 rounds of Hyperopt search with this data.",
    "590821": "Yes....I'm trying !",
    "590823": "focus first on major parameters:\nlearning rate\nmax number of leaves\nsubsample",
    "590830": "Thank you very much @cpmpml  ^ ^",
    "590840": "I'm trying with more parameter\n         ('num_leaves': 255,\n          'min_child_samples': 79,\n          'min_data_in_leaf': 100,\n          'objective': 'regression',\n          'max_depth': 9,\n          'learning_rate': 0.2,\n          'min_child_samples': 20,\n          'min_gain_to_split': 0.02,\n          'min_data_in_bin': 3,\n          \"boosting_type\": \"gbdt\",\n          \"subsample_freq\": 1,\n          \"subsample\": 0.9,\n          \"bagging_seed\": 11,\n          \"metric\": 'mae',\n          \"verbosity\": -1,\n          'max_bin': 127,\n          'reg_alpha': 0.1,\n          'reg_lambda': 0.3,\n          'colsample_bytree': 1.0,\n          'num_iterations': 5000)\nand my score is worse. I'will trying focus first on major parameters: learning rate, max number of leaves subsample, max_depth, min_data_in_leaf,...\nI will also try with bayesian optimization (or GridSearchCV) for find major parameter (learning rate, max number of leaves subsample,...)",
    "590861": "you should not tune the seed !!!!!!!!",
    "590876": "The best value is always 42 anyway!"
  },
  "source": "meta"
}