{
  "id": 262103,
  "title": " Efficientnet3D code for non-notebook users",
  "url": "/competitions/rsna-miccai-brain-tumor-radiogenomic-classification/discussion/262103",
  "author_name": "",
  "post_date": "2021-08-05T18:21:28.923378900Z",
  "votes": 29,
  "comment_count": 10,
  "views": 0,
  "content": "<p>I converted <a href=\"https://www.kaggle.com/rluethy/efficientnet3d-with-one-mri-type\" target=\"_blank\">Roland's notebook</a> into separate python scripts. </p>\n<p><a href=\"https://github.com/anlthms/rsna-miccai-2021\" target=\"_blank\">https://github.com/anlthms/rsna-miccai-2021</a></p>\n<p>This was originally for use with <a href=\"https://luminide.com\" target=\"_blank\">Luminide</a>. Publishing it here in case it is useful to other folks who are training their models outside of Kaggle…</p>",
  "messages": [
    {
      "id": "1452976",
      "postDate": "08/05/2021 18:21:28",
      "content": "<p>I converted <a href=\"https://www.kaggle.com/rluethy/efficientnet3d-with-one-mri-type\" target=\"_blank\">Roland's notebook</a> into separate python scripts. </p>\n<p><a href=\"https://github.com/anlthms/rsna-miccai-2021\" target=\"_blank\">https://github.com/anlthms/rsna-miccai-2021</a></p>\n<p>This was originally for use with <a href=\"https://luminide.com\" target=\"_blank\">Luminide</a>. Publishing it here in case it is useful to other folks who are training their models outside of Kaggle…</p>",
      "rawMarkdown": "I converted [Roland's notebook](https://www.kaggle.com/rluethy/efficientnet3d-with-one-mri-type) into separate python scripts. \n\nhttps://github.com/anlthms/rsna-miccai-2021\n\nThis was originally for use with [Luminide](https://luminide.com). Publishing it here in case it is useful to other folks who are training their models outside of Kaggle...",
      "votes": null
    },
    {
      "id": "1453708",
      "postDate": "08/06/2021 01:21:36",
      "content": "<p>An AUC of 0.684 sounded great until I learned that the test set has 87 samples in total. Here's some fun code:</p>\n<pre><code>import numpy as np\nfrom sklearn.metrics import roc_auc_score\n\nnp.random.seed(317)\nN = 87\nlabels = np.random.random(N).round()\npreds = np.random.random(N)\nauc = roc_auc_score(labels, preds)\nprint(f'auc={auc:.3f}')\n</code></pre>\n<p>This outputs <code>auc=0.690</code> 😄</p>\n<p>I still believe that the repo linked above is a great starting point. The 0.684 score might have come from a lucky run, though.</p>",
      "rawMarkdown": "An AUC of 0.684 sounded great until I learned that the test set has 87 samples in total. Here's some fun code:\n```\nimport numpy as np\nfrom sklearn.metrics import roc_auc_score\n\nnp.random.seed(317)\nN = 87\nlabels = np.random.random(N).round()\npreds = np.random.random(N)\nauc = roc_auc_score(labels, preds)\nprint(f'auc={auc:.3f}')\n```\n\nThis outputs `auc=0.690` 😄\n\nI still believe that the repo linked above is a great starting point. The 0.684 score might have come from a lucky run, though.",
      "votes": null
    },
    {
      "id": "1458405",
      "postDate": "08/07/2021 21:09:44",
      "content": "<p>Funny how this thread might be a piece of evidence that Leaderboard is pretty much random, but nobody comments here </p>",
      "rawMarkdown": "Funny how this thread might be a piece of evidence that Leaderboard is pretty much random, but nobody comments here",
      "votes": null
    },
    {
      "id": "1458596",
      "postDate": "08/08/2021 01:00:22",
      "content": "<p>I agree that this was a lucky run. I tried different seeds with the same notebook and got much worse LB AUC. </p>",
      "rawMarkdown": "I agree that this was a lucky run. I tried different seeds with the same notebook and got much worse LB AUC.",
      "votes": null
    },
    {
      "id": "1458621",
      "postDate": "08/08/2021 01:30:58",
      "content": "<p>Hi, I thought you are participated in the FGVC8 competition and got 3rd place using Luminide.<br>\nBecause I am writing my capstone project based on the FGVC8 competition, I am impressed with your solution.<br>\nI want to try Luminide as well, but I can't find the pricing page. What is the pricing of Luminide? Can Luminide access by the public? is there any tutorial of Luminide?<br>\nCould you provide some information about Luminide? much thanks.</p>",
      "rawMarkdown": "Hi, I thought you are participated in the FGVC8 competition and got 3rd place using Luminide.\nBecause I am writing my capstone project based on the FGVC8 competition, I am impressed with your solution.\nI want to try Luminide as well, but I can't find the pricing page. What is the pricing of Luminide? Can Luminide access by the public? is there any tutorial of Luminide?\nCould you provide some information about Luminide? much thanks.",
      "votes": null
    },
    {
      "id": "1460916",
      "postDate": "08/09/2021 06:09:24",
      "content": "<p>Hi Shanshan, please add yourself to our queue by using the \"Request early access\" button on the <a href=\"https://luminide.com/\" target=\"_blank\">website</a>. We will notify you as soon as there is availability.</p>",
      "rawMarkdown": "Hi Shanshan, please add yourself to our queue by using the \"Request early access\" button on the [website](https://luminide.com/). We will notify you as soon as there is availability.",
      "votes": null
    },
    {
      "id": "1460920",
      "postDate": "08/09/2021 06:14:44",
      "content": "<p>The log loss hovering around -log(0.5)=0.6931 should have clued me in 🤓</p>",
      "rawMarkdown": "The log loss hovering around -log(0.5)=0.6931 should have clued me in 🤓",
      "votes": null
    },
    {
      "id": "1461970",
      "postDate": "08/09/2021 16:29:55",
      "content": "<p>Hello, I am new to the deep learning field.<br>\ncould you please explain what you mean by log-loss hovering , is that regarding parameter tunning in 3D efficient net training?</p>",
      "rawMarkdown": "Hello, I am new to the deep learning field.\ncould you please explain what you mean by log-loss hovering , is that regarding parameter tunning in 3D efficient net training?",
      "votes": null
    },
    {
      "id": "1462223",
      "postDate": "08/09/2021 18:27:35",
      "content": "<p>The <a href=\"https://www.kaggle.com/rluethy/efficientnet3d-with-one-mri-type?scriptVersionId=70464234\" target=\"_blank\">output of this notebook</a> shows that the validation log loss is often close to 0.6931. This indicates that the model may not have learned anything useful. For a binary classification problem, 0.6931 is the expected <a href=\"https://en.wikipedia.org/wiki/Cross_entropy\" target=\"_blank\">negative log loss</a> if you set all predictions to 0.5.</p>",
      "rawMarkdown": "The [output of this notebook](https://www.kaggle.com/rluethy/efficientnet3d-with-one-mri-type?scriptVersionId=70464234) shows that the validation log loss is often close to 0.6931. This indicates that the model may not have learned anything useful. For a binary classification problem, 0.6931 is the expected [negative log loss](https://en.wikipedia.org/wiki/Cross_entropy) if you set all predictions to 0.5.",
      "votes": null
    },
    {
      "id": "1470638",
      "postDate": "08/13/2021 16:25:10",
      "content": "<p>What could be a reason for such performance?</p>",
      "rawMarkdown": "What could be a reason for such performance?",
      "votes": null
    },
    {
      "id": "1472206",
      "postDate": "08/14/2021 17:50:53",
      "content": "<p><a href=\"https://www.kaggle.com/novice03\" target=\"_blank\">@novice03</a> small data is the biggest issue in this competition. That's why model is not improving.</p>",
      "rawMarkdown": "novice03 small data is the biggest issue in this competition. That's why model is not improving.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1453708,
      "author_name": "anlthms",
      "author_url": "",
      "post_date": "08/06/2021 01:21:36",
      "content": "<p>An AUC of 0.684 sounded great until I learned that the test set has 87 samples in total. Here's some fun code:</p>\n<pre><code>import numpy as np\nfrom sklearn.metrics import roc_auc_score\n\nnp.random.seed(317)\nN = 87\nlabels = np.random.random(N).round()\npreds = np.random.random(N)\nauc = roc_auc_score(labels, preds)\nprint(f'auc={auc:.3f}')\n</code></pre>\n<p>This outputs <code>auc=0.690</code> 😄</p>\n<p>I still believe that the repo linked above is a great starting point. The 0.684 score might have come from a lucky run, though.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1458596,
          "author_name": "rluethy",
          "author_url": "",
          "post_date": "08/08/2021 01:00:22",
          "content": "<p>I agree that this was a lucky run. I tried different seeds with the same notebook and got much worse LB AUC. </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1460920,
          "author_name": "anlthms",
          "author_url": "",
          "post_date": "08/09/2021 06:14:44",
          "content": "<p>The log loss hovering around -log(0.5)=0.6931 should have clued me in 🤓</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1461970,
          "author_name": "wfarzana",
          "author_url": "",
          "post_date": "08/09/2021 16:29:55",
          "content": "<p>Hello, I am new to the deep learning field.<br>\ncould you please explain what you mean by log-loss hovering , is that regarding parameter tunning in 3D efficient net training?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1462223,
          "author_name": "anlthms",
          "author_url": "",
          "post_date": "08/09/2021 18:27:35",
          "content": "<p>The <a href=\"https://www.kaggle.com/rluethy/efficientnet3d-with-one-mri-type?scriptVersionId=70464234\" target=\"_blank\">output of this notebook</a> shows that the validation log loss is often close to 0.6931. This indicates that the model may not have learned anything useful. For a binary classification problem, 0.6931 is the expected <a href=\"https://en.wikipedia.org/wiki/Cross_entropy\" target=\"_blank\">negative log loss</a> if you set all predictions to 0.5.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1470638,
          "author_name": "novice03",
          "author_url": "",
          "post_date": "08/13/2021 16:25:10",
          "content": "<p>What could be a reason for such performance?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1472206,
          "author_name": "kfk42kfk",
          "author_url": "",
          "post_date": "08/14/2021 17:50:53",
          "content": "<p><a href=\"https://www.kaggle.com/novice03\" target=\"_blank\">@novice03</a> small data is the biggest issue in this competition. That's why model is not improving.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1458405,
      "author_name": "ivanpan",
      "author_url": "",
      "post_date": "08/07/2021 21:09:44",
      "content": "<p>Funny how this thread might be a piece of evidence that Leaderboard is pretty much random, but nobody comments here </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1458621,
      "author_name": "bcghost",
      "author_url": "",
      "post_date": "08/08/2021 01:30:58",
      "content": "<p>Hi, I thought you are participated in the FGVC8 competition and got 3rd place using Luminide.<br>\nBecause I am writing my capstone project based on the FGVC8 competition, I am impressed with your solution.<br>\nI want to try Luminide as well, but I can't find the pricing page. What is the pricing of Luminide? Can Luminide access by the public? is there any tutorial of Luminide?<br>\nCould you provide some information about Luminide? much thanks.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1460916,
          "author_name": "anlthms",
          "author_url": "",
          "post_date": "08/09/2021 06:09:24",
          "content": "<p>Hi Shanshan, please add yourself to our queue by using the \"Request early access\" button on the <a href=\"https://luminide.com/\" target=\"_blank\">website</a>. We will notify you as soon as there is availability.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1452976": "I converted [Roland's notebook](https://www.kaggle.com/rluethy/efficientnet3d-with-one-mri-type) into separate python scripts. \n\nhttps://github.com/anlthms/rsna-miccai-2021\n\nThis was originally for use with [Luminide](https://luminide.com). Publishing it here in case it is useful to other folks who are training their models outside of Kaggle...",
    "1453708": "An AUC of 0.684 sounded great until I learned that the test set has 87 samples in total. Here's some fun code:\n```\nimport numpy as np\nfrom sklearn.metrics import roc_auc_score\n\nnp.random.seed(317)\nN = 87\nlabels = np.random.random(N).round()\npreds = np.random.random(N)\nauc = roc_auc_score(labels, preds)\nprint(f'auc={auc:.3f}')\n```\n\nThis outputs `auc=0.690` 😄\n\nI still believe that the repo linked above is a great starting point. The 0.684 score might have come from a lucky run, though.",
    "1458405": "Funny how this thread might be a piece of evidence that Leaderboard is pretty much random, but nobody comments here",
    "1458596": "I agree that this was a lucky run. I tried different seeds with the same notebook and got much worse LB AUC.",
    "1458621": "Hi, I thought you are participated in the FGVC8 competition and got 3rd place using Luminide.\nBecause I am writing my capstone project based on the FGVC8 competition, I am impressed with your solution.\nI want to try Luminide as well, but I can't find the pricing page. What is the pricing of Luminide? Can Luminide access by the public? is there any tutorial of Luminide?\nCould you provide some information about Luminide? much thanks.",
    "1460916": "Hi Shanshan, please add yourself to our queue by using the \"Request early access\" button on the [website](https://luminide.com/). We will notify you as soon as there is availability.",
    "1460920": "The log loss hovering around -log(0.5)=0.6931 should have clued me in 🤓",
    "1461970": "Hello, I am new to the deep learning field.\ncould you please explain what you mean by log-loss hovering , is that regarding parameter tunning in 3D efficient net training?",
    "1462223": "The [output of this notebook](https://www.kaggle.com/rluethy/efficientnet3d-with-one-mri-type?scriptVersionId=70464234) shows that the validation log loss is often close to 0.6931. This indicates that the model may not have learned anything useful. For a binary classification problem, 0.6931 is the expected [negative log loss](https://en.wikipedia.org/wiki/Cross_entropy) if you set all predictions to 0.5.",
    "1470638": "What could be a reason for such performance?",
    "1472206": "novice03 small data is the biggest issue in this competition. That's why model is not improving."
  },
  "source": "meta"
}