{
  "id": 395011,
  "title": "Giba RAPIDS SVR Solution",
  "content": "<p>For my first solution I used a global linear multiplier were I pick the coefficient optimizing SMAPE for each split month and forecast span separately.</p>\n<p>The second solution is based in SVR. You can check my notebook here: <a href=\"https://www.kaggle.com/code/titericz/super-fast-rapids-svr/notebook\" target=\"_blank\">Super Fast RAPIDS SVR</a></p>\n<p>Once <code>microbusiness_density</code> can be calculated using <code>active</code> and <code>county population</code>, I used <code>active</code> as the target labels in my models.<br>\nFor validation I used last 12 months to calculate the SMAPE for each forecast range. To ease development I tracked only the gain each algorithm gives compared with last value benchmark. For example, predicting 3 months ahead with last value gives SMAPE 2.717, if my algorithm scores 2.617, then the gain will be 0.10 over the baseline.</p>\n<p>The SVR gain for each forecast period is:</p>\n<table>\n<thead>\n<tr>\n<th>Forecast</th>\n<th>SMAPE Gain(12 months avg)</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>0.0171</td>\n</tr>\n<tr>\n<td>2</td>\n<td>0.0611</td>\n</tr>\n<tr>\n<td>3</td>\n<td>0.1555</td>\n</tr>\n<tr>\n<td>4</td>\n<td>0.2621</td>\n</tr>\n<tr>\n<td>5</td>\n<td>0.3524</td>\n</tr>\n<tr>\n<td>6</td>\n<td>0.4750</td>\n</tr>\n</tbody>\n</table>\n<p>As you can see the gain is not much. But all other algorithms I tried (including GBDTs) scored worse than SVR in my approach.</p>\n<h1>Other than that I wish good luck to everyone that dedicated time to this competition! 😉</h1>\n<p>obs. </p>\n<ul>\n<li>notebook V1 using sklearn SVR in 4607s.</li>\n<li>notebook V2 using RAPIDS SVR 136s. (34x faster 💪)</li>\n</ul>",
  "comments": [
    {
      "id": 2184027,
      "author_name": "Siddharth Kumar",
      "author_url": "",
      "post_date": "2023-03-16T05:05:38.123000",
      "content": "<p>It's great to see your innovative approach using RAPIDS SVR, and the gains you achieved compared to the last value benchmark. The significant improvement in computational time from using RAPIDS SVR over sklearn SVR is impressive as well. Thank you for sharing your solution and notebook. Good luck on the private leaderboard, and I hope your solution continues to perform well!</p>",
      "votes": 3,
      "replies": []
    },
    {
      "id": 2185134,
      "author_name": "Chris Deotte",
      "author_url": "",
      "post_date": "2023-03-16T20:47:51.897000",
      "content": "<p>Great job Giba. This is a strong SVR model with good CV score. I'm eager to see whether global linear multiplier or SVR will do better on final private LB!</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 2183237,
      "author_name": "YaGana Sheriff-Hussaini",
      "author_url": "",
      "post_date": "2023-03-15T14:42:07.590000",
      "content": "<p>Thanks for sharing <a href=\"https://www.kaggle.com/titericz\" target=\"_blank\">@titericz</a>. Your solution is interesting as usual and will find time to look carefully later. Might have questions for you then. Good luck.</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 2185666,
      "author_name": "CPMP",
      "author_url": "",
      "post_date": "2023-03-17T08:01:26.770000",
      "content": "<p>Interesting. How much better is SVR compared to your other models?</p>",
      "votes": 2,
      "replies": [
        {
          "id": 2186618,
          "author_name": "Giba",
          "author_url": "",
          "post_date": "2023-03-18T00:32:03.267000",
          "content": "<p>SVR around ~20-30% better than XGB/LGB.  </p>",
          "votes": 2,
          "replies": []
        }
      ]
    },
    {
      "id": 2186641,
      "author_name": "jr3",
      "author_url": "",
      "post_date": "2023-03-18T01:08:21.217000",
      "content": "<p>Thanks for sharing. Good luck.</p>",
      "votes": 1,
      "replies": []
    }
  ],
  "comment_count": 6,
  "messages": [
    {
      "id": 2183213,
      "postDate": "2023-03-15T14:24:19.943Z",
      "content": "<p>For my first solution I used a global linear multiplier were I pick the coefficient optimizing SMAPE for each split month and forecast span separately.</p>\n<p>The second solution is based in SVR. You can check my notebook here: <a href=\"https://www.kaggle.com/code/titericz/super-fast-rapids-svr/notebook\" target=\"_blank\">Super Fast RAPIDS SVR</a></p>\n<p>Once <code>microbusiness_density</code> can be calculated using <code>active</code> and <code>county population</code>, I used <code>active</code> as the target labels in my models.<br>\nFor validation I used last 12 months to calculate the SMAPE for each forecast range. To ease development I tracked only the gain each algorithm gives compared with last value benchmark. For example, predicting 3 months ahead with last value gives SMAPE 2.717, if my algorithm scores 2.617, then the gain will be 0.10 over the baseline.</p>\n<p>The SVR gain for each forecast period is:</p>\n<table>\n<thead>\n<tr>\n<th>Forecast</th>\n<th>SMAPE Gain(12 months avg)</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>0.0171</td>\n</tr>\n<tr>\n<td>2</td>\n<td>0.0611</td>\n</tr>\n<tr>\n<td>3</td>\n<td>0.1555</td>\n</tr>\n<tr>\n<td>4</td>\n<td>0.2621</td>\n</tr>\n<tr>\n<td>5</td>\n<td>0.3524</td>\n</tr>\n<tr>\n<td>6</td>\n<td>0.4750</td>\n</tr>\n</tbody>\n</table>\n<p>As you can see the gain is not much. But all other algorithms I tried (including GBDTs) scored worse than SVR in my approach.</p>\n<h1>Other than that I wish good luck to everyone that dedicated time to this competition! 😉</h1>\n<p>obs. </p>\n<ul>\n<li>notebook V1 using sklearn SVR in 4607s.</li>\n<li>notebook V2 using RAPIDS SVR 136s. (34x faster 💪)</li>\n</ul>",
      "rawMarkdown": "For my first solution I used a global linear multiplier were I pick the coefficient optimizing SMAPE for each split month and forecast span separately.\n\nThe second solution is based in SVR. You can check my notebook here: [Super Fast RAPIDS SVR](https://www.kaggle.com/code/titericz/super-fast-rapids-svr/notebook)\n\nOnce `microbusiness_density` can be calculated using `active` and `county population`, I used `active` as the target labels in my models.\nFor validation I used last 12 months to calculate the SMAPE for each forecast range. To ease development I tracked only the gain each algorithm gives compared with last value benchmark. For example, predicting 3 months ahead with last value gives SMAPE 2.717, if my algorithm scores 2.617, then the gain will be 0.10 over the baseline.\n\nThe SVR gain for each forecast period is:\n| Forecast | SMAPE Gain(12 months avg) |\n| --- | --- |\n| 1 | 0.0171 |\n| 2 | 0.0611 |\n| 3 | 0.1555 |\n| 4 | 0.2621 |\n| 5 | 0.3524 |\n| 6 | 0.4750 |\n\n\nAs you can see the gain is not much. But all other algorithms I tried (including GBDTs) scored worse than SVR in my approach.\n\n# Other than that I wish good luck to everyone that dedicated time to this competition! 😉\n\nobs. \n- notebook V1 using sklearn SVR in 4607s.\n- notebook V2 using RAPIDS SVR 136s. (34x faster 💪)\n",
      "votes": 36
    },
    {
      "id": 2184027,
      "postDate": "2023-03-16T05:05:38.123Z",
      "content": "<p>It's great to see your innovative approach using RAPIDS SVR, and the gains you achieved compared to the last value benchmark. The significant improvement in computational time from using RAPIDS SVR over sklearn SVR is impressive as well. Thank you for sharing your solution and notebook. Good luck on the private leaderboard, and I hope your solution continues to perform well!</p>",
      "rawMarkdown": "It's great to see your innovative approach using RAPIDS SVR, and the gains you achieved compared to the last value benchmark. The significant improvement in computational time from using RAPIDS SVR over sklearn SVR is impressive as well. Thank you for sharing your solution and notebook. Good luck on the private leaderboard, and I hope your solution continues to perform well!",
      "votes": 3
    },
    {
      "id": 2185134,
      "postDate": "2023-03-16T20:47:51.897Z",
      "content": "<p>Great job Giba. This is a strong SVR model with good CV score. I'm eager to see whether global linear multiplier or SVR will do better on final private LB!</p>",
      "rawMarkdown": "Great job Giba. This is a strong SVR model with good CV score. I'm eager to see whether global linear multiplier or SVR will do better on final private LB!",
      "votes": 1
    },
    {
      "id": 2183237,
      "postDate": "2023-03-15T14:42:07.590Z",
      "content": "<p>Thanks for sharing <a href=\"https://www.kaggle.com/titericz\" target=\"_blank\">@titericz</a>. Your solution is interesting as usual and will find time to look carefully later. Might have questions for you then. Good luck.</p>",
      "rawMarkdown": "Thanks for sharing @titericz. Your solution is interesting as usual and will find time to look carefully later. Might have questions for you then. Good luck.",
      "votes": 1
    },
    {
      "id": 2185666,
      "postDate": "2023-03-17T08:01:26.770Z",
      "content": "<p>Interesting. How much better is SVR compared to your other models?</p>",
      "rawMarkdown": "Interesting. How much better is SVR compared to your other models?",
      "votes": 2,
      "replies": [
        {
          "id": 2186618,
          "postDate": "2023-03-18T00:32:03.267Z",
          "content": "<p>SVR around ~20-30% better than XGB/LGB.  </p>",
          "rawMarkdown": "SVR around ~20-30% better than XGB/LGB.  ",
          "votes": 2
        }
      ]
    },
    {
      "id": 2186641,
      "postDate": "2023-03-18T01:08:21.217Z",
      "content": "<p>Thanks for sharing. Good luck.</p>",
      "rawMarkdown": "Thanks for sharing. Good luck.",
      "votes": 1
    }
  ],
  "complete": true,
  "source": "live",
  "fetched_at": "2026-10-19T19:27:51Z",
  "competition_id": 41881,
  "competition_slug": "godaddy-microbusiness-density-forecasting",
  "team_id": 9628638,
  "solution_url": "/competitions/godaddy-microbusiness-density-forecasting/writeups/xgiba-giba-rapids-svr-solution"
}