{
  "id": 71519,
  "title": "Capsule Networks",
  "url": "/competitions/quora-insincere-questions-classification/discussion/71519",
  "author_name": "",
  "post_date": "2018-11-14T11:39:23.836199Z",
  "votes": 2,
  "comment_count": 15,
  "views": 0,
  "content": "<p>Capsule Nets gave some good results in the Toxic Comment Classification Challenge.</p>\n\n<p>I Used <a href=\"https://www.kaggle.com/chongjiujjin/capsule-net-with-gru\">this kernel</a> from Toxic Comment Classification Challenge to apply the same model to this challange. </p>\n\n<p>Have a look: <a href=\"https://www.kaggle.com/ghostiphate/capsule-net\">https://www.kaggle.com/ghostiphate/capsule-net</a> !</p>",
  "messages": [
    {
      "id": "420949",
      "postDate": "11/14/2018 11:39:23",
      "content": "<p>Capsule Nets gave some good results in the Toxic Comment Classification Challenge.</p>\n\n<p>I Used <a href=\"https://www.kaggle.com/chongjiujjin/capsule-net-with-gru\">this kernel</a> from Toxic Comment Classification Challenge to apply the same model to this challange. </p>\n\n<p>Have a look: <a href=\"https://www.kaggle.com/ghostiphate/capsule-net\">https://www.kaggle.com/ghostiphate/capsule-net</a> !</p>",
      "rawMarkdown": "Capsule Nets gave some good results in the Toxic Comment Classification Challenge.\n\nI Used [this kernel][1] from Toxic Comment Classification Challenge to apply the same model to this challange. \n\nHave a look: https://www.kaggle.com/ghostiphate/capsule-net !\n\n\n  [1]: https://www.kaggle.com/chongjiujjin/capsule-net-with-gru",
      "votes": null
    },
    {
      "id": "420971",
      "postDate": "11/14/2018 12:17:38",
      "content": "<p>Sorry but your link seems to be broken</p>",
      "rawMarkdown": "Sorry but your link seems to be broken",
      "votes": null
    },
    {
      "id": "420982",
      "postDate": "11/14/2018 12:33:07",
      "content": "<p>Capsules can be computationnally heavy to be really effective (by tuning properly the parameters) </p>\n\n<p>Beware of time limitation constraint in this competition.</p>",
      "rawMarkdown": "Capsules can be computationnally heavy to be really effective (by tuning properly the parameters) \n\nBeware of time limitation constraint in this competition.",
      "votes": null
    },
    {
      "id": "420992",
      "postDate": "11/14/2018 12:41:24",
      "content": "<p>You need to remove the exclamation mark !  at the end  of the link </p>",
      "rawMarkdown": "You need to remove the exclamation mark !  at the end  of the link",
      "votes": null
    },
    {
      "id": "421096",
      "postDate": "11/14/2018 15:19:58",
      "content": "<p>fixed</p>",
      "rawMarkdown": "fixed",
      "votes": null
    },
    {
      "id": "421181",
      "postDate": "11/14/2018 17:12:20",
      "content": "<p>Great point. CapNet is slow. I would like to use the time to run several CNN models and blend them.</p>",
      "rawMarkdown": "Great point. CapNet is slow. I would like to use the time to run several CNN models and blend them.",
      "votes": null
    },
    {
      "id": "421205",
      "postDate": "11/14/2018 18:04:00",
      "content": "<p>Interesting !!</p>\n\n<p>As for me , I still use single model with k-folds ....It remains about 1200s.  May be I need to optimize my model to be able to run and blend others models ( or stick with single fold ) </p>",
      "rawMarkdown": "Interesting !!\n\nAs for me , I still use single model with k-folds ....It remains about 1200s.  May be I need to optimize my model to be able to run and blend others models ( or stick with single fold )",
      "votes": null
    },
    {
      "id": "421221",
      "postDate": "11/14/2018 18:35:30",
      "content": "<p>Wow, that is a pretty impressive result with a single model. </p>",
      "rawMarkdown": "Wow, that is a pretty impressive result with a single model.",
      "votes": null
    },
    {
      "id": "421236",
      "postDate": "11/14/2018 19:13:54",
      "content": "<p><a href=\"/serigne\">@serigne</a>, super cool! I plan to refactorize my code to make it more efficient.</p>",
      "rawMarkdown": "serigne, super cool! I plan to refactorize my code to make it more efficient.",
      "votes": null
    },
    {
      "id": "421262",
      "postDate": "11/14/2018 20:11:39",
      "content": "<p>I've also stuck with a single model at this point. Iterating through a bunch of different architectures to find a \"good\" candidate, but given the time constraints and my lack of knowing how to \"optimize\" the kernels, I'll most likely do the same as <a href=\"/serigne\">@serigne</a>.</p>",
      "rawMarkdown": "I've also stuck with a single model at this point. Iterating through a bunch of different architectures to find a \"good\" candidate, but given the time constraints and my lack of knowing how to \"optimize\" the kernels, I'll most likely do the same as @serigne.",
      "votes": null
    },
    {
      "id": "421275",
      "postDate": "11/14/2018 20:42:55",
      "content": "<p>@Sreeram  Thanks !\nHowever , we are in early days of 3 months competition.  I  guess people will have enough time to get insight on the data and build much better models :)</p>",
      "rawMarkdown": "Sreeram  Thanks !\nHowever , we are in early days of 3 months competition.  I  guess people will have enough time to get insight on the data and build much better models :)",
      "votes": null
    },
    {
      "id": "421276",
      "postDate": "11/14/2018 20:46:27",
      "content": "<p>@Learnmower I tried some different architectures too and they stopped improving after 3 or 4 epoches. </p>\n\n<p>Now it seems I've found a relatively \"good candidate\" (at least which works better than the others I tried) </p>",
      "rawMarkdown": "Learnmower I tried some different architectures too and they stopped improving after 3 or 4 epoches. \n\nNow it seems I've found a relatively \"good candidate\" (at least which works better than the others I tried)",
      "votes": null
    },
    {
      "id": "421284",
      "postDate": "11/14/2018 21:16:39",
      "content": "<p>@Serigne sounds about right on my end, too. 3-4 epochs depending on the architecture. I'm definitely using \"good\" loosely here. In Toxic, I think we traded off stability for score, but it was the blending later that helped to stabilize the variance.</p>",
      "rawMarkdown": "Serigne sounds about right on my end, too. 3-4 epochs depending on the architecture. I'm definitely using \"good\" loosely here. In Toxic, I think we traded off stability for score, but it was the blending later that helped to stabilize the variance.",
      "votes": null
    },
    {
      "id": "421309",
      "postDate": "11/14/2018 22:14:55",
      "content": "<blockquote>\n  <p>I'm definitely using \"good\" loosely here</p>\n</blockquote>\n\n<p>Same for me....\"good\" is too relative in this phase of the competition :)</p>",
      "rawMarkdown": "&gt;  I'm definitely using \"good\" loosely here\n\nSame for me....\"good\" is too relative in this phase of the competition :)",
      "votes": null
    },
    {
      "id": "421710",
      "postDate": "11/15/2018 09:57:36",
      "content": "<p><a href=\"/serigne\">@serigne</a>, very good score by just one model.\nCan you please tell,\nhow many epochs are you training your single model <strong>for each fold</strong>?</p>\n\n<p>And 1200s in total or per fold?</p>\n\n<p>Thanks.</p>",
      "rawMarkdown": "@serigne, very good score by just one model.\nCan you please tell,\nhow many epochs are you training your single model **for each fold**?\n\nAnd 1200s in total or per fold?\n\nThanks.",
      "votes": null
    },
    {
      "id": "422099",
      "postDate": "11/15/2018 19:39:12",
      "content": "<p><a href=\"/prashantkikani\">@prashantkikani</a> about 8 or 9 epoches for each fold </p>\n\n<p>1200s was remaining time after all training . </p>\n\n<p>Actually I miscalculated.  The entire model ( all folds) takes about 5800s.  So it remains 1400s </p>",
      "rawMarkdown": "prashantkikani about 8 or 9 epoches for each fold \n\n1200s was remaining time after all training . \n\nActually I miscalculated.  The entire model ( all folds) takes about 5800s.  So it remains 1400s",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 420971,
      "author_name": "demonplus",
      "author_url": "",
      "post_date": "11/14/2018 12:17:38",
      "content": "<p>Sorry but your link seems to be broken</p>",
      "votes": null,
      "replies": [
        {
          "id": 420992,
          "author_name": "serigne",
          "author_url": "",
          "post_date": "11/14/2018 12:41:24",
          "content": "<p>You need to remove the exclamation mark !  at the end  of the link </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 421096,
          "author_name": "ghostiphate",
          "author_url": "",
          "post_date": "11/14/2018 15:19:58",
          "content": "<p>fixed</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 420982,
      "author_name": "serigne",
      "author_url": "",
      "post_date": "11/14/2018 12:33:07",
      "content": "<p>Capsules can be computationnally heavy to be really effective (by tuning properly the parameters) </p>\n\n<p>Beware of time limitation constraint in this competition.</p>",
      "votes": null,
      "replies": [
        {
          "id": 421181,
          "author_name": "shujian",
          "author_url": "",
          "post_date": "11/14/2018 17:12:20",
          "content": "<p>Great point. CapNet is slow. I would like to use the time to run several CNN models and blend them.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 421205,
          "author_name": "serigne",
          "author_url": "",
          "post_date": "11/14/2018 18:04:00",
          "content": "<p>Interesting !!</p>\n\n<p>As for me , I still use single model with k-folds ....It remains about 1200s.  May be I need to optimize my model to be able to run and blend others models ( or stick with single fold ) </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 421221,
          "author_name": "sreeram1234",
          "author_url": "",
          "post_date": "11/14/2018 18:35:30",
          "content": "<p>Wow, that is a pretty impressive result with a single model. </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 421236,
          "author_name": "shujian",
          "author_url": "",
          "post_date": "11/14/2018 19:13:54",
          "content": "<p><a href=\"/serigne\">@serigne</a>, super cool! I plan to refactorize my code to make it more efficient.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 421262,
          "author_name": "learnmower",
          "author_url": "",
          "post_date": "11/14/2018 20:11:39",
          "content": "<p>I've also stuck with a single model at this point. Iterating through a bunch of different architectures to find a \"good\" candidate, but given the time constraints and my lack of knowing how to \"optimize\" the kernels, I'll most likely do the same as <a href=\"/serigne\">@serigne</a>.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 421275,
          "author_name": "serigne",
          "author_url": "",
          "post_date": "11/14/2018 20:42:55",
          "content": "<p>@Sreeram  Thanks !\nHowever , we are in early days of 3 months competition.  I  guess people will have enough time to get insight on the data and build much better models :)</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 421276,
          "author_name": "serigne",
          "author_url": "",
          "post_date": "11/14/2018 20:46:27",
          "content": "<p>@Learnmower I tried some different architectures too and they stopped improving after 3 or 4 epoches. </p>\n\n<p>Now it seems I've found a relatively \"good candidate\" (at least which works better than the others I tried) </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 421284,
          "author_name": "learnmower",
          "author_url": "",
          "post_date": "11/14/2018 21:16:39",
          "content": "<p>@Serigne sounds about right on my end, too. 3-4 epochs depending on the architecture. I'm definitely using \"good\" loosely here. In Toxic, I think we traded off stability for score, but it was the blending later that helped to stabilize the variance.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 421309,
          "author_name": "serigne",
          "author_url": "",
          "post_date": "11/14/2018 22:14:55",
          "content": "<blockquote>\n  <p>I'm definitely using \"good\" loosely here</p>\n</blockquote>\n\n<p>Same for me....\"good\" is too relative in this phase of the competition :)</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 421710,
          "author_name": "prashantkikani",
          "author_url": "",
          "post_date": "11/15/2018 09:57:36",
          "content": "<p><a href=\"/serigne\">@serigne</a>, very good score by just one model.\nCan you please tell,\nhow many epochs are you training your single model <strong>for each fold</strong>?</p>\n\n<p>And 1200s in total or per fold?</p>\n\n<p>Thanks.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 422099,
          "author_name": "serigne",
          "author_url": "",
          "post_date": "11/15/2018 19:39:12",
          "content": "<p><a href=\"/prashantkikani\">@prashantkikani</a> about 8 or 9 epoches for each fold </p>\n\n<p>1200s was remaining time after all training . </p>\n\n<p>Actually I miscalculated.  The entire model ( all folds) takes about 5800s.  So it remains 1400s </p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "420949": "Capsule Nets gave some good results in the Toxic Comment Classification Challenge.\n\nI Used [this kernel][1] from Toxic Comment Classification Challenge to apply the same model to this challange. \n\nHave a look: https://www.kaggle.com/ghostiphate/capsule-net !\n\n\n  [1]: https://www.kaggle.com/chongjiujjin/capsule-net-with-gru",
    "420971": "Sorry but your link seems to be broken",
    "420982": "Capsules can be computationnally heavy to be really effective (by tuning properly the parameters) \n\nBeware of time limitation constraint in this competition.",
    "420992": "You need to remove the exclamation mark !  at the end  of the link",
    "421096": "fixed",
    "421181": "Great point. CapNet is slow. I would like to use the time to run several CNN models and blend them.",
    "421205": "Interesting !!\n\nAs for me , I still use single model with k-folds ....It remains about 1200s.  May be I need to optimize my model to be able to run and blend others models ( or stick with single fold )",
    "421221": "Wow, that is a pretty impressive result with a single model.",
    "421236": "serigne, super cool! I plan to refactorize my code to make it more efficient.",
    "421262": "I've also stuck with a single model at this point. Iterating through a bunch of different architectures to find a \"good\" candidate, but given the time constraints and my lack of knowing how to \"optimize\" the kernels, I'll most likely do the same as @serigne.",
    "421275": "Sreeram  Thanks !\nHowever , we are in early days of 3 months competition.  I  guess people will have enough time to get insight on the data and build much better models :)",
    "421276": "Learnmower I tried some different architectures too and they stopped improving after 3 or 4 epoches. \n\nNow it seems I've found a relatively \"good candidate\" (at least which works better than the others I tried)",
    "421284": "Serigne sounds about right on my end, too. 3-4 epochs depending on the architecture. I'm definitely using \"good\" loosely here. In Toxic, I think we traded off stability for score, but it was the blending later that helped to stabilize the variance.",
    "421309": "&gt;  I'm definitely using \"good\" loosely here\n\nSame for me....\"good\" is too relative in this phase of the competition :)",
    "421710": "@serigne, very good score by just one model.\nCan you please tell,\nhow many epochs are you training your single model **for each fold**?\n\nAnd 1200s in total or per fold?\n\nThanks.",
    "422099": "prashantkikani about 8 or 9 epoches for each fold \n\n1200s was remaining time after all training . \n\nActually I miscalculated.  The entire model ( all folds) takes about 5800s.  So it remains 1400s"
  },
  "source": "meta"
}