{
  "id": 338906,
  "title": "CV & LB of CatBoost",
  "url": "/competitions/amex-default-prediction/discussion/338906",
  "author_name": "Windrunner",
  "post_date": "2022-07-22T14:08:09.205000",
  "votes": 14,
  "comment_count": 24,
  "views": 0,
  "content": "<p>Hello, everyone.</p>\n<p>I use GPU to train catboost, I have tried many parameters, and the best cv now is 0.7973, LB is 0.797?.</p>\n<p>Because some parameters such as 'rsm' cannot use on GPU and CPU is too slow, so I haven't tune these parameters.</p>\n<p>I'm in trouble now. I have tried nearly all parameters. I can't improve my score again unless I change dataset<br>\n(I use dataset which is same with public lgbm 0.7977 dart).</p>\n<p>I want to know if anyone has achieved a score of 0.798 or above using catboost? Or is catboost worse than lgbm?</p>\n<p>If someone has reached it, please reply to me. I want to know if I still have room to improve.</p>\n<p>Thank you!</p>",
  "messages": [
    {
      "id": 1866487,
      "postDate": "2022-07-22T14:08:09.207Z",
      "content": "<p>Hello, everyone.</p>\n<p>I use GPU to train catboost, I have tried many parameters, and the best cv now is 0.7973, LB is 0.797?.</p>\n<p>Because some parameters such as 'rsm' cannot use on GPU and CPU is too slow, so I haven't tune these parameters.</p>\n<p>I'm in trouble now. I have tried nearly all parameters. I can't improve my score again unless I change dataset<br>\n(I use dataset which is same with public lgbm 0.7977 dart).</p>\n<p>I want to know if anyone has achieved a score of 0.798 or above using catboost? Or is catboost worse than lgbm?</p>\n<p>If someone has reached it, please reply to me. I want to know if I still have room to improve.</p>\n<p>Thank you!</p>",
      "rawMarkdown": "Hello, everyone.\n\nI use GPU to train catboost, I have tried many parameters, and the best cv now is 0.7973, LB is 0.797?.\n\nBecause some parameters such as 'rsm' cannot use on GPU and CPU is too slow, so I haven't tune these parameters.\n\nI'm in trouble now. I have tried nearly all parameters. I can't improve my score again unless I change dataset\n(I use dataset which is same with public lgbm 0.7977 dart).\n\nI want to know if anyone has achieved a score of 0.798 or above using catboost? Or is catboost worse than lgbm?\n\nIf someone has reached it, please reply to me. I want to know if I still have room to improve.\n\nThank you!\n",
      "votes": 13
    },
    {
      "id": 1866621,
      "postDate": "2022-07-22T15:59:30.840Z",
      "content": "<p>CV 0.79664 and lb 0.798 is possible with catboost and 675 features:</p>\n<p><img src=\"https://i.imgur.com/f0KphfH.png\" alt=\"catboost lb\"></p>",
      "rawMarkdown": "CV 0.79664 and lb 0.798 is possible with catboost and 675 features:\n\n![catboost lb](https://i.imgur.com/f0KphfH.png)",
      "votes": 7,
      "replies": [
        {
          "id": 1866741,
          "postDate": "2022-07-22T17:37:42.450Z",
          "content": "<p>Thanks, I will try to get better parameters</p>",
          "rawMarkdown": "Thanks, I will try to get better parameters"
        },
        {
          "id": 1866938,
          "postDate": "2022-07-22T21:34:50.083Z",
          "content": "<p>That's great Feature Selection Kudos 🙌</p>",
          "rawMarkdown": "That's great Feature Selection Kudos 🙌"
        },
        {
          "id": 1867156,
          "postDate": "2022-07-23T03:30:50.083Z",
          "content": "<p>Is this catboost gpu version or cpu version?</p>",
          "rawMarkdown": "Is this catboost gpu version or cpu version?"
        },
        {
          "id": 1867347,
          "postDate": "2022-07-23T06:40:44.563Z",
          "content": "<p>It is the CPU version.</p>",
          "rawMarkdown": "It is the CPU version.",
          "votes": 2
        },
        {
          "id": 1908805,
          "postDate": "2022-08-22T03:41:54.780Z",
          "content": "<p>Finally reached 0.798 : | </p>",
          "rawMarkdown": "Finally reached 0.798 : | "
        },
        {
          "id": 1908812,
          "postDate": "2022-08-22T03:54:25.180Z",
          "content": "<p><a href=\"https://www.kaggle.com/gauravbrills\" target=\"_blank\">@gauravbrills</a> great work😬</p>",
          "rawMarkdown": "@gauravbrills great work😬",
          "votes": 1
        },
        {
          "id": 1909233,
          "postDate": "2022-08-22T12:56:34.570Z",
          "content": "<p>Haha all credits to you <a href=\"https://www.kaggle.com/tonymarkchris\" target=\"_blank\">@tonymarkchris</a> </p>",
          "rawMarkdown": "Haha all credits to you @tonymarkchris "
        }
      ]
    },
    {
      "id": 1866497,
      "postDate": "2022-07-22T14:22:02.190Z",
      "content": "<p>My catboost prediction was always better the lgb and xgb on cv and LB. To save time, I've been using only xgb recently because the gpu version of xgb is the fastest amoung them. I think use catboost to get a of 0.798 or 0.799+ result is possible, it depends on your feature engineering.</p>",
      "rawMarkdown": "My catboost prediction was always better the lgb and xgb on cv and LB. To save time, I've been using only xgb recently because the gpu version of xgb is the fastest amoung them. I think use catboost to get a of 0.798 or 0.799+ result is possible, it depends on your feature engineering.",
      "votes": 7,
      "replies": [
        {
          "id": 1866522,
          "postDate": "2022-07-22T14:46:41.947Z",
          "content": "<p>Ok, I will pay more attention on feature engineering</p>",
          "rawMarkdown": "Ok, I will pay more attention on feature engineering",
          "votes": 1
        },
        {
          "id": 1866535,
          "postDate": "2022-07-22T14:58:24.677Z",
          "content": "<p>good luck, I just did minor change in the feature, 3 more lines of code. only use the lgb dart (no param optimization), 5 folds output already reached 0.798.</p>",
          "rawMarkdown": "good luck, I just did minor change in the feature, 3 more lines of code. only use the lgb dart (no param optimization), 5 folds output already reached 0.798.",
          "votes": 4
        },
        {
          "id": 1866800,
          "postDate": "2022-07-22T18:29:17.753Z",
          "content": "<p>Just for those who voted against this discussion: I seriously want to express that the role of feature engineering is much greater than model parameter tuning. Generally, it is more efficient to adjust the hyperparameters of the model when everything else was tried out. Besides, if you made any improvement in features, you still need to optimize the hyperparameters again. It is just my own opionion, wellcome to leave your comments below and discuss with me.</p>",
          "rawMarkdown": "Just for those who voted against this discussion: I seriously want to express that the role of feature engineering is much greater than model parameter tuning. Generally, it is more efficient to adjust the hyperparameters of the model when everything else was tried out. Besides, if you made any improvement in features, you still need to optimize the hyperparameters again. It is just my own opionion, wellcome to leave your comments below and discuss with me.",
          "votes": 15,
          "replies": [
            {
              "id": 1901185,
              "postDate": "2022-08-16T13:55:39.293Z",
              "content": "<p>Thanks for sharing your insight <a href=\"https://www.kaggle.com/meli19\" target=\"_blank\">@meli19</a> . Could you elaborate a little bit more how is your approach to FE and HPO? From what you mentioned in the comment I understand:</p>\n<p>Starting features and HPs -&gt; Include new features -&gt; If new features improve the CV -&gt; Tune HPs -&gt; Include new features -&gt; If new features improve the CV -&gt; Tune HPs, etc.</p>\n<p>Is this correct? Doesn't this lead you to overfitting?</p>\n<p>Btw when you tune the HPs after each improvement in features, do you try to find the optimal or do you increase for example the number of leaves to a bigger number than the optimal? My concern is that the HP choice sometimes impede that new useful features show up.</p>",
              "rawMarkdown": "Thanks for sharing your insight @meli19 . Could you elaborate a little bit more how is your approach to FE and HPO? From what you mentioned in the comment I understand:\n\nStarting features and HPs -> Include new features -> If new features improve the CV -> Tune HPs -> Include new features -> If new features improve the CV -> Tune HPs, etc.\n\nIs this correct? Doesn't this lead you to overfitting?\n\nBtw when you tune the HPs after each improvement in features, do you try to find the optimal or do you increase for example the number of leaves to a bigger number than the optimal? My concern is that the HP choice sometimes impede that new useful features show up."
            }
          ]
        },
        {
          "id": 1906882,
          "postDate": "2022-08-20T09:55:12.393Z",
          "content": "<p>you are right. I didn't change any of the default parameters (copied from the public notebook) at all actually.</p>",
          "rawMarkdown": "you are right. I didn't change any of the default parameters (copied from the public notebook) at all actually."
        }
      ]
    },
    {
      "id": 1866493,
      "postDate": "2022-07-22T14:14:41.197Z",
      "content": "<p>You have a very very good catboost score. my CV score is similar to yours. It is really hard to improve at that point I think.</p>",
      "rawMarkdown": "You have a very very good catboost score. my CV score is similar to yours. It is really hard to improve at that point I think.",
      "votes": 3,
      "replies": [
        {
          "id": 1866521,
          "postDate": "2022-07-22T14:46:11.503Z",
          "content": "<p>Thank you for your reply</p>",
          "rawMarkdown": "Thank you for your reply"
        }
      ]
    },
    {
      "id": 1866549,
      "postDate": "2022-07-22T15:10:11.403Z",
      "content": "<p>Our catboost effort CV 0.7965 LB 0.797, will try to see it can reach 0.798 and match LGBM </p>",
      "rawMarkdown": "Our catboost effort CV 0.7965 LB 0.797, will try to see it can reach 0.798 and match LGBM ",
      "votes": 1,
      "replies": [
        {
          "id": 1866742,
          "postDate": "2022-07-22T17:38:10.810Z",
          "content": "<p>Thanks you, I will try to get better parameters</p>",
          "rawMarkdown": "Thanks you, I will try to get better parameters"
        }
      ]
    },
    {
      "id": 1866587,
      "postDate": "2022-07-22T15:39:58.977Z",
      "content": "<p>I think you have reached a glass ceiling with the catboost algorithm, this is a great score with this method!</p>",
      "rawMarkdown": "I think you have reached a glass ceiling with the catboost algorithm, this is a great score with this method!",
      "votes": -1
    },
    {
      "id": 1908742,
      "postDate": "2022-08-22T01:20:16.900Z",
      "content": "<p>The same quesiton to you. The result of my all experiments, catboost model never broke through to 0.797.</p>",
      "rawMarkdown": "The same quesiton to you. The result of my all experiments, catboost model never broke through to 0.797."
    },
    {
      "id": 1871332,
      "postDate": "2022-07-26T08:06:14.747Z",
      "content": "<p>Time to engineer features..</p>",
      "rawMarkdown": "Time to engineer features..\n"
    },
    {
      "id": 1868263,
      "postDate": "2022-07-23T20:53:09.803Z",
      "content": "<p>I have tuned some parameters, now cv is 0.7975-0.7977，LB unknown，I think the ceiling maybe is 0.798, which is worse than lgbm</p>",
      "rawMarkdown": "I have tuned some parameters, now cv is 0.7975-0.7977，LB unknown，I think the ceiling maybe is 0.798, which is worse than lgbm"
    },
    {
      "id": 1867133,
      "postDate": "2022-07-23T02:49:55.947Z",
      "content": "<p>Hi, have you tried using other bootstraping options for catboost such as Bernoulli, MVS, and Poisson, aside from Bayesian? </p>",
      "rawMarkdown": "Hi, have you tried using other bootstraping options for catboost such as Bernoulli, MVS, and Poisson, aside from Bayesian? "
    },
    {
      "id": 1866580,
      "postDate": "2022-07-22T15:38:16.453Z",
      "rawMarkdown": "",
      "votes": 1,
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 1866621,
      "author_name": "AmbrosM",
      "author_url": "",
      "post_date": "2022-07-22T15:59:30.840000",
      "content": "<p>CV 0.79664 and lb 0.798 is possible with catboost and 675 features:</p>\n<p><img src=\"https://i.imgur.com/f0KphfH.png\" alt=\"catboost lb\"></p>",
      "votes": 7,
      "replies": [
        {
          "id": 1866741,
          "author_name": "Windrunner",
          "author_url": "",
          "post_date": "2022-07-22T17:37:42.450000",
          "content": "<p>Thanks, I will try to get better parameters</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1866938,
          "author_name": "Gaurav Rawat",
          "author_url": "",
          "post_date": "2022-07-22T21:34:50.083000",
          "content": "<p>That's great Feature Selection Kudos 🙌</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1867156,
          "author_name": "AKR",
          "author_url": "",
          "post_date": "2022-07-23T03:30:50.083000",
          "content": "<p>Is this catboost gpu version or cpu version?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1867347,
          "author_name": "AmbrosM",
          "author_url": "",
          "post_date": "2022-07-23T06:40:44.563000",
          "content": "<p>It is the CPU version.</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 1908805,
          "author_name": "Gaurav Rawat",
          "author_url": "",
          "post_date": "2022-08-22T03:41:54.780000",
          "content": "<p>Finally reached 0.798 : | </p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1908812,
          "author_name": "DJ_Xia",
          "author_url": "",
          "post_date": "2022-08-22T03:54:25.180000",
          "content": "<p><a href=\"https://www.kaggle.com/gauravbrills\" target=\"_blank\">@gauravbrills</a> great work😬</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1909233,
          "author_name": "Gaurav Rawat",
          "author_url": "",
          "post_date": "2022-08-22T12:56:34.570000",
          "content": "<p>Haha all credits to you <a href=\"https://www.kaggle.com/tonymarkchris\" target=\"_blank\">@tonymarkchris</a> </p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1866497,
      "author_name": "Mengfei Li",
      "author_url": "",
      "post_date": "2022-07-22T14:22:02.190000",
      "content": "<p>My catboost prediction was always better the lgb and xgb on cv and LB. To save time, I've been using only xgb recently because the gpu version of xgb is the fastest amoung them. I think use catboost to get a of 0.798 or 0.799+ result is possible, it depends on your feature engineering.</p>",
      "votes": 7,
      "replies": [
        {
          "id": 1866522,
          "author_name": "Windrunner",
          "author_url": "",
          "post_date": "2022-07-22T14:46:41.947000",
          "content": "<p>Ok, I will pay more attention on feature engineering</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1866535,
          "author_name": "Mengfei Li",
          "author_url": "",
          "post_date": "2022-07-22T14:58:24.677000",
          "content": "<p>good luck, I just did minor change in the feature, 3 more lines of code. only use the lgb dart (no param optimization), 5 folds output already reached 0.798.</p>",
          "votes": 4,
          "replies": []
        },
        {
          "id": 1866800,
          "author_name": "Mengfei Li",
          "author_url": "",
          "post_date": "2022-07-22T18:29:17.753000",
          "content": "<p>Just for those who voted against this discussion: I seriously want to express that the role of feature engineering is much greater than model parameter tuning. Generally, it is more efficient to adjust the hyperparameters of the model when everything else was tried out. Besides, if you made any improvement in features, you still need to optimize the hyperparameters again. It is just my own opionion, wellcome to leave your comments below and discuss with me.</p>",
          "votes": 15,
          "replies": [
            {
              "id": 1901185,
              "author_name": "delai50",
              "author_url": "",
              "post_date": "2022-08-16T13:55:39.293000",
              "content": "<p>Thanks for sharing your insight <a href=\"https://www.kaggle.com/meli19\" target=\"_blank\">@meli19</a> . Could you elaborate a little bit more how is your approach to FE and HPO? From what you mentioned in the comment I understand:</p>\n<p>Starting features and HPs -&gt; Include new features -&gt; If new features improve the CV -&gt; Tune HPs -&gt; Include new features -&gt; If new features improve the CV -&gt; Tune HPs, etc.</p>\n<p>Is this correct? Doesn't this lead you to overfitting?</p>\n<p>Btw when you tune the HPs after each improvement in features, do you try to find the optimal or do you increase for example the number of leaves to a bigger number than the optimal? My concern is that the HP choice sometimes impede that new useful features show up.</p>",
              "votes": 0,
              "replies": []
            }
          ]
        },
        {
          "id": 1906882,
          "author_name": "Mengfei Li",
          "author_url": "",
          "post_date": "2022-08-20T09:55:12.393000",
          "content": "<p>you are right. I didn't change any of the default parameters (copied from the public notebook) at all actually.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1866493,
      "author_name": "raddar",
      "author_url": "",
      "post_date": "2022-07-22T14:14:41.197000",
      "content": "<p>You have a very very good catboost score. my CV score is similar to yours. It is really hard to improve at that point I think.</p>",
      "votes": 3,
      "replies": [
        {
          "id": 1866521,
          "author_name": "Windrunner",
          "author_url": "",
          "post_date": "2022-07-22T14:46:11.503000",
          "content": "<p>Thank you for your reply</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1866549,
      "author_name": "Gaurav Rawat",
      "author_url": "",
      "post_date": "2022-07-22T15:10:11.403000",
      "content": "<p>Our catboost effort CV 0.7965 LB 0.797, will try to see it can reach 0.798 and match LGBM </p>",
      "votes": 1,
      "replies": [
        {
          "id": 1866742,
          "author_name": "Windrunner",
          "author_url": "",
          "post_date": "2022-07-22T17:38:10.810000",
          "content": "<p>Thanks you, I will try to get better parameters</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1866587,
      "author_name": "Ravi Ramakrishnan",
      "author_url": "",
      "post_date": "2022-07-22T15:39:58.977000",
      "content": "<p>I think you have reached a glass ceiling with the catboost algorithm, this is a great score with this method!</p>",
      "votes": -1,
      "replies": []
    },
    {
      "id": 1908742,
      "author_name": "Jackson You",
      "author_url": "",
      "post_date": "2022-08-22T01:20:16.900000",
      "content": "<p>The same quesiton to you. The result of my all experiments, catboost model never broke through to 0.797.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1871332,
      "author_name": "The Devastator",
      "author_url": "",
      "post_date": "2022-07-26T08:06:14.747000",
      "content": "<p>Time to engineer features..</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1868263,
      "author_name": "Windrunner",
      "author_url": "",
      "post_date": "2022-07-23T20:53:09.803000",
      "content": "<p>I have tuned some parameters, now cv is 0.7975-0.7977，LB unknown，I think the ceiling maybe is 0.798, which is worse than lgbm</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1867133,
      "author_name": "Tarrasque9",
      "author_url": "",
      "post_date": "2022-07-23T02:49:55.947000",
      "content": "<p>Hi, have you tried using other bootstraping options for catboost such as Bernoulli, MVS, and Poisson, aside from Bayesian? </p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1866580,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-07-22T15:38:16.453000",
      "content": "",
      "votes": 1,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1866487": "Hello, everyone.\n\nI use GPU to train catboost, I have tried many parameters, and the best cv now is 0.7973, LB is 0.797?.\n\nBecause some parameters such as 'rsm' cannot use on GPU and CPU is too slow, so I haven't tune these parameters.\n\nI'm in trouble now. I have tried nearly all parameters. I can't improve my score again unless I change dataset\n(I use dataset which is same with public lgbm 0.7977 dart).\n\nI want to know if anyone has achieved a score of 0.798 or above using catboost? Or is catboost worse than lgbm?\n\nIf someone has reached it, please reply to me. I want to know if I still have room to improve.\n\nThank you!\n",
    "1866621": "CV 0.79664 and lb 0.798 is possible with catboost and 675 features:\n\n![catboost lb](https://i.imgur.com/f0KphfH.png)",
    "1866497": "My catboost prediction was always better the lgb and xgb on cv and LB. To save time, I've been using only xgb recently because the gpu version of xgb is the fastest amoung them. I think use catboost to get a of 0.798 or 0.799+ result is possible, it depends on your feature engineering.",
    "1866493": "You have a very very good catboost score. my CV score is similar to yours. It is really hard to improve at that point I think.",
    "1866549": "Our catboost effort CV 0.7965 LB 0.797, will try to see it can reach 0.798 and match LGBM ",
    "1866587": "I think you have reached a glass ceiling with the catboost algorithm, this is a great score with this method!",
    "1908742": "The same quesiton to you. The result of my all experiments, catboost model never broke through to 0.797.",
    "1871332": "Time to engineer features..\n",
    "1868263": "I have tuned some parameters, now cv is 0.7975-0.7977，LB unknown，I think the ceiling maybe is 0.798, which is worse than lgbm",
    "1867133": "Hi, have you tried using other bootstraping options for catboost such as Bernoulli, MVS, and Poisson, aside from Bayesian? ",
    "1866580": ""
  }
}