{
  "id": 253412,
  "title": "What is the secret behind random seed 42?",
  "url": "/competitions/rsna-miccai-brain-tumor-radiogenomic-classification/discussion/253412",
  "author_name": "Old Monk",
  "post_date": "2021-07-16T12:23:11.784000",
  "votes": 28,
  "comment_count": 32,
  "views": 0,
  "content": "<p>Hello Kagglers,</p>\n<p>Always wondered if there is any trick of the trade to select the random seed while training a model. In a lot of public notebooks have seen the number 42 used. Is there any science behind it or it is as the variable name suggests \"truly random\"?<br>\nWould like to understand your opinion here.</p>\n<p>Thanks and Regards,<br>\nOld Monk</p>",
  "messages": [
    {
      "id": 1391639,
      "postDate": "2021-07-17T20:11:12.117Z",
      "content": "<p><a href=\"https://en.wikipedia.org/wiki/42_(number)\" target=\"_blank\">The number 42</a> is used as a random seed in many languages because 42 is cited in <a href=\"https://en.wikipedia.org/wiki/The_Hitchhiker%27s_Guide_to_the_Galaxy\" target=\"_blank\">The Hitchhiker's Guide to the Galaxy</a> (Douglas Adams, 🤓) as the <strong>\"Answer to the Ultimate Question of Life, the Universe, and Everything,\"</strong>.🤔</p>\n<p>| <img src=\"https://images.penguinrandomhouse.com/cover/9780593359440\" alt=\"\">| <img src=\"https://qph.fs.quoracdn.net/main-qimg-3dbd74855aab996df92e66abf53ab977\" alt=\"\"> </p>",
      "rawMarkdown": "[The number 42](https://en.wikipedia.org/wiki/42_(number)) is used as a random seed in many languages because 42 is cited in [The Hitchhiker's Guide to the Galaxy](https://en.wikipedia.org/wiki/The_Hitchhiker%27s_Guide_to_the_Galaxy) (Douglas Adams, 🤓) as the **\"Answer to the Ultimate Question of Life, the Universe, and Everything,\"**.🤔\n\n\n| ![](https://images.penguinrandomhouse.com/cover/9780593359440)| ![](https://qph.fs.quoracdn.net/main-qimg-3dbd74855aab996df92e66abf53ab977) \n",
      "votes": 31,
      "replies": [
        {
          "id": 1392011,
          "postDate": "2021-07-18T09:38:12.363Z",
          "content": "<p>Wow I didnt knew this. Thanks for sharing!</p>",
          "rawMarkdown": "Wow I didnt knew this. Thanks for sharing!",
          "votes": 3
        },
        {
          "id": 1394150,
          "postDate": "2021-07-20T08:00:29.110Z",
          "content": "<p>I read it somewhere in a book, probably in <a href=\"http://www.grad.hr/nastava/gs/prg/NumericalRecipesinC.pdf\" target=\"_blank\">Numerical Recipes in C</a>…</p>",
          "rawMarkdown": "I read it somewhere in a book, probably in [Numerical Recipes in C](http://www.grad.hr/nastava/gs/prg/NumericalRecipesinC.pdf)...",
          "votes": 1
        },
        {
          "id": 1394514,
          "postDate": "2021-07-20T12:27:24.397Z",
          "content": "<p>This is awesome fact you have shared. Thanks for sharing this </p>",
          "rawMarkdown": "This is awesome fact you have shared. Thanks for sharing this ",
          "votes": 1
        },
        {
          "id": 1395255,
          "postDate": "2021-07-21T04:48:54.643Z",
          "content": "<p>wow, good to know</p>",
          "rawMarkdown": "wow, good to know\n",
          "votes": 1
        }
      ]
    },
    {
      "id": 1390173,
      "postDate": "2021-07-16T12:23:11.783Z",
      "content": "<p>Hello Kagglers,</p>\n<p>Always wondered if there is any trick of the trade to select the random seed while training a model. In a lot of public notebooks have seen the number 42 used. Is there any science behind it or it is as the variable name suggests \"truly random\"?<br>\nWould like to understand your opinion here.</p>\n<p>Thanks and Regards,<br>\nOld Monk</p>",
      "rawMarkdown": "Hello Kagglers,\n\nAlways wondered if there is any trick of the trade to select the random seed while training a model. In a lot of public notebooks have seen the number 42 used. Is there any science behind it or it is as the variable name suggests \"truly random\"?\nWould like to understand your opinion here.\n\nThanks and Regards,\nOld Monk",
      "votes": 27
    },
    {
      "id": 1390219,
      "postDate": "2021-07-16T13:04:31.557Z",
      "content": "<p>Hi there <a href=\"https://www.kaggle.com/saurabhbagchi\" target=\"_blank\">@saurabhbagchi</a>! </p>\n<p>I asked myself the same questions a few days ago.</p>\n<p>Turns out, it comes from the The Hitchhiker’s Guide to the Galaxy book! </p>\n<p>In the novel, a group of geniuses seek to find the answer to the Ultimate Question of Life, The Universe, and Everything. They turn to a city-sized computer, Deep Thought, to try to obtain the answer. Seven and a half million years later, the computer spits out the number 42. However, the “ultimate question” is still unknown. And funnily enough, when you search “Answer to the Ultimate Question of Life, the Universe, and Everything” Google directs you to the built-in calculator that reads ‘42’. So moral of the story, don’t ask questions. The answer is always 42.</p>\n<p>Cheers!</p>",
      "rawMarkdown": "Hi there @saurabhbagchi! \n\nI asked myself the same questions a few days ago.\n\nTurns out, it comes from the The Hitchhiker’s Guide to the Galaxy book! \n\nIn the novel, a group of geniuses seek to find the answer to the Ultimate Question of Life, The Universe, and Everything. They turn to a city-sized computer, Deep Thought, to try to obtain the answer. Seven and a half million years later, the computer spits out the number 42. However, the “ultimate question” is still unknown. And funnily enough, when you search “Answer to the Ultimate Question of Life, the Universe, and Everything” Google directs you to the built-in calculator that reads ‘42’. So moral of the story, don’t ask questions. The answer is always 42.\n\nCheers!",
      "votes": 16,
      "replies": [
        {
          "id": 1390248,
          "postDate": "2021-07-16T13:39:03.310Z",
          "content": "<p>Wow, this is interesting thanks for sharing <a href=\"https://www.kaggle.com/jonaslneri\" target=\"_blank\">@jonaslneri</a> !</p>",
          "rawMarkdown": "Wow, this is interesting thanks for sharing @jonaslneri !",
          "votes": 2
        },
        {
          "id": 1390871,
          "postDate": "2021-07-17T06:18:46.447Z",
          "rawMarkdown": "",
          "votes": 4,
          "isDeleted": true
        },
        {
          "id": 1390935,
          "postDate": "2021-07-17T07:29:54.650Z",
          "content": "<p>you are saying right <a href=\"https://www.kaggle.com/jonaslneri\" target=\"_blank\">@jonaslneri</a> but data scientist  needs scientific reason for any question 😊😊</p>",
          "rawMarkdown": "you are saying right @jonaslneri but data scientist  needs scientific reason for any question 😊😊",
          "votes": 2
        },
        {
          "id": 1391463,
          "postDate": "2021-07-17T16:14:15.730Z",
          "content": "<p>I think using 42 as seed parameter is a bit like printing 'Hello World', a reference to something related to IT that made its way into the everyday life of a data worker ;). Sometimes people know its origin sometimes not.</p>",
          "rawMarkdown": "I think using 42 as seed parameter is a bit like printing 'Hello World', a reference to something related to IT that made its way into the everyday life of a data worker ;). Sometimes people know its origin sometimes not.",
          "votes": 2
        },
        {
          "id": 1391528,
          "postDate": "2021-07-17T17:20:53.087Z",
          "content": "<p>I also discovered this last year, posing a similar question in my mind about the selection of the number 42 being referenced in some open resource library material, and finding out the reference to HGTG book (fantastic sci-fi series)… nice to see some extended discussion on this.  it is fun to read other people's thoughts on it.  Also interesting to see other people's preference for numbers…. it is after-all just a random selection, but it makes me wonder if there something possibly non-random for some random selections…</p>",
          "rawMarkdown": "I also discovered this last year, posing a similar question in my mind about the selection of the number 42 being referenced in some open resource library material, and finding out the reference to HGTG book (fantastic sci-fi series)... nice to see some extended discussion on this.  it is fun to read other people's thoughts on it.  Also interesting to see other people's preference for numbers.... it is after-all just a random selection, but it makes me wonder if there something possibly non-random for some random selections..."
        },
        {
          "id": 1391605,
          "postDate": "2021-07-17T18:53:14.720Z",
          "rawMarkdown": "",
          "votes": 1,
          "isDeleted": true
        },
        {
          "id": 1391606,
          "postDate": "2021-07-17T18:58:18.747Z",
          "content": "<p>Well I use myself a set of fixed parameters for my seeds: 42 (from HGTG), 47 (from Hitman) and 666 because hell why not 😅</p>",
          "rawMarkdown": "Well I use myself a set of fixed parameters for my seeds: 42 (from HGTG), 47 (from Hitman) and 666 because hell why not 😅",
          "votes": 2
        },
        {
          "id": 1392012,
          "postDate": "2021-07-18T09:39:26.750Z",
          "content": "<p>47 for too long was in my usernames. All because of Hitman Agent 47!</p>",
          "rawMarkdown": "47 for too long was in my usernames. All because of Hitman Agent 47!",
          "votes": 2
        },
        {
          "id": 1396342,
          "postDate": "2021-07-22T03:08:31.130Z",
          "content": "<p>Awesome!! I am very happy to be a part of the Kaggle community and learning new stuff every day.</p>\n<p>I did not know this, thanks for sharing.</p>",
          "rawMarkdown": "Awesome!! I am very happy to be a part of the Kaggle community and learning new stuff every day.\n\nI did not know this, thanks for sharing."
        }
      ]
    },
    {
      "id": 1390769,
      "postDate": "2021-07-17T04:35:48.723Z",
      "content": "<p>I generally use YEAR as my seed. So, this year, my seed value is 2021. </p>",
      "rawMarkdown": "I generally use YEAR as my seed. So, this year, my seed value is 2021. ",
      "votes": 3
    },
    {
      "id": 1390735,
      "postDate": "2021-07-17T03:50:08.973Z",
      "content": "<p>I think it falls to a personal preference. Most people start off by copying other's work, and if most notebooks are made using Seed 42, the person forking would also use that.<br>\nAnd habits are hard to break I guess. I personally use random seed 5 always. <a href=\"https://www.kaggle.com/saurabhbagchi\" target=\"_blank\">@saurabhbagchi</a> </p>",
      "rawMarkdown": "I think it falls to a personal preference. Most people start off by copying other's work, and if most notebooks are made using Seed 42, the person forking would also use that.\nAnd habits are hard to break I guess. I personally use random seed 5 always. @saurabhbagchi ",
      "votes": 3,
      "replies": [
        {
          "id": 1390939,
          "postDate": "2021-07-17T07:30:40.793Z",
          "content": "<p>Yup, the least change that person forking popular notebooks should do is update the random seed 🙏.<br>\nThanks for sharing your thoughts <a href=\"https://www.kaggle.com/stoicstatic\" target=\"_blank\">@stoicstatic</a> !</p>",
          "rawMarkdown": "Yup, the least change that person forking popular notebooks should do is update the random seed 🙏.\nThanks for sharing your thoughts @stoicstatic !"
        }
      ]
    },
    {
      "id": 1455832,
      "postDate": "2021-08-06T17:47:15.970Z",
      "content": "<p>It's mainly because of forking I think.. One person creates a notebook with a seed 42, another person forks it, and then it became so popular that it became a Kaggle tradition</p>\n<p>honestly no idea I'm using 2021 screw 42</p>",
      "rawMarkdown": "It's mainly because of forking I think.. One person creates a notebook with a seed 42, another person forks it, and then it became so popular that it became a Kaggle tradition\n\nhonestly no idea I'm using 2021 screw 42",
      "votes": 2
    },
    {
      "id": 1394130,
      "postDate": "2021-07-20T07:36:06.167Z",
      "content": "<p>That is very interesting</p>",
      "rawMarkdown": "That is very interesting\n",
      "votes": 1
    },
    {
      "id": 1392165,
      "postDate": "2021-07-18T12:01:51.877Z",
      "content": "<p>Great job !!</p>",
      "rawMarkdown": "Great job !!",
      "votes": 1
    },
    {
      "id": 1390926,
      "postDate": "2021-07-17T07:24:44.213Z",
      "content": "<p>Good discussion ….</p>",
      "rawMarkdown": "Good discussion ....",
      "votes": 1
    },
    {
      "id": 1401048,
      "postDate": "2021-07-26T21:19:36.660Z",
      "content": "<p>42 shows up in natural science every now and then so it became a standard to use it in ML as well. It is the angle at which light should fall on water to create a rainbow as mentioned in this video <a href=\"https://www.youtube.com/watch?v=0lngjO5bV2Y\" target=\"_blank\">https://www.youtube.com/watch?v=0lngjO5bV2Y</a> but who knows maybe one can only know on their 42nd birthday.</p>",
      "rawMarkdown": "42 shows up in natural science every now and then so it became a standard to use it in ML as well. It is the angle at which light should fall on water to create a rainbow as mentioned in this video https://www.youtube.com/watch?v=0lngjO5bV2Y but who knows maybe one can only know on their 42nd birthday.",
      "votes": 2,
      "replies": [
        {
          "id": 1401225,
          "postDate": "2021-07-27T05:49:15.433Z",
          "rawMarkdown": "",
          "votes": 1,
          "isDeleted": true
        }
      ]
    },
    {
      "id": 1400891,
      "postDate": "2021-07-26T17:31:35.557Z",
      "content": "<p><strong>You Must See This</strong> <a href=\"url\" target=\"_blank\">https://youtu.be/zyG8Vlw5aAw</a></p>",
      "rawMarkdown": "**You Must See This** [https://youtu.be/zyG8Vlw5aAw](url)",
      "votes": 2
    },
    {
      "id": 1397459,
      "postDate": "2021-07-23T08:23:51.933Z",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/saurabhbagchi\" target=\"_blank\">@saurabhbagchi</a></p>\n<p>Read  <a href=\"https://medium.com/@leticia.b/the-story-of-seed-42-874953452b94\" target=\"_blank\">this</a></p>",
      "rawMarkdown": "Hi @saurabhbagchi\n\nRead  [this](https://medium.com/@leticia.b/the-story-of-seed-42-874953452b94)",
      "votes": 2,
      "replies": [
        {
          "id": 1397518,
          "postDate": "2021-07-23T09:10:31.927Z",
          "content": "<p>Thanks <a href=\"https://www.kaggle.com/kritidoneria\" target=\"_blank\">@kritidoneria</a> , this is very helpful!</p>",
          "rawMarkdown": "Thanks @kritidoneria , this is very helpful!",
          "votes": 1
        }
      ]
    },
    {
      "id": 1391059,
      "postDate": "2021-07-17T08:47:24.040Z",
      "content": "<p>It is all preference, I personally like 300 or even 100. 42 might be the fashion :D But I guess, it's all preference. Nice discussion. </p>",
      "rawMarkdown": "It is all preference, I personally like 300 or even 100. 42 might be the fashion :D But I guess, it's all preference. Nice discussion. ",
      "votes": 2
    },
    {
      "id": 1390252,
      "postDate": "2021-07-16T13:45:31.417Z",
      "content": "<p>Thanks <a href=\"https://www.kaggle.com/jonaslneri\" target=\"_blank\">@jonaslneri</a>, I heard before, but good to remember.</p>",
      "rawMarkdown": "Thanks @jonaslneri, I heard before, but good to remember.",
      "votes": 2
    },
    {
      "id": 1401539,
      "postDate": "2021-07-27T12:00:14.023Z",
      "content": "<p>42</p>\n<p></p>",
      "rawMarkdown": "42\n\n~~Your message must have at least 10 characters.~~",
      "votes": 1
    },
    {
      "id": 1397574,
      "postDate": "2021-07-23T09:53:14.373Z",
      "rawMarkdown": "",
      "votes": 1,
      "isDeleted": true
    },
    {
      "id": 1397164,
      "postDate": "2021-07-22T21:12:15.737Z",
      "rawMarkdown": "",
      "votes": -1,
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 1391639,
      "author_name": "Jose Guzman",
      "author_url": "",
      "post_date": "2021-07-17T20:11:12.117000",
      "content": "<p><a href=\"https://en.wikipedia.org/wiki/42_(number)\" target=\"_blank\">The number 42</a> is used as a random seed in many languages because 42 is cited in <a href=\"https://en.wikipedia.org/wiki/The_Hitchhiker%27s_Guide_to_the_Galaxy\" target=\"_blank\">The Hitchhiker's Guide to the Galaxy</a> (Douglas Adams, 🤓) as the <strong>\"Answer to the Ultimate Question of Life, the Universe, and Everything,\"</strong>.🤔</p>\n<p>| <img src=\"https://images.penguinrandomhouse.com/cover/9780593359440\" alt=\"\">| <img src=\"https://qph.fs.quoracdn.net/main-qimg-3dbd74855aab996df92e66abf53ab977\" alt=\"\"> </p>",
      "votes": 31,
      "replies": [
        {
          "id": 1392011,
          "author_name": "Shahebaz Mohammad",
          "author_url": "",
          "post_date": "2021-07-18T09:38:12.363000",
          "content": "<p>Wow I didnt knew this. Thanks for sharing!</p>",
          "votes": 3,
          "replies": []
        },
        {
          "id": 1394150,
          "author_name": "Jose Guzman",
          "author_url": "",
          "post_date": "2021-07-20T08:00:29.110000",
          "content": "<p>I read it somewhere in a book, probably in <a href=\"http://www.grad.hr/nastava/gs/prg/NumericalRecipesinC.pdf\" target=\"_blank\">Numerical Recipes in C</a>…</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1394514,
          "author_name": "Manu Siddhartha",
          "author_url": "",
          "post_date": "2021-07-20T12:27:24.397000",
          "content": "<p>This is awesome fact you have shared. Thanks for sharing this </p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1395255,
          "author_name": "Nikhil D R",
          "author_url": "",
          "post_date": "2021-07-21T04:48:54.643000",
          "content": "<p>wow, good to know</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 1390219,
      "author_name": "Jonas Neri",
      "author_url": "",
      "post_date": "2021-07-16T13:04:31.557000",
      "content": "<p>Hi there <a href=\"https://www.kaggle.com/saurabhbagchi\" target=\"_blank\">@saurabhbagchi</a>! </p>\n<p>I asked myself the same questions a few days ago.</p>\n<p>Turns out, it comes from the The Hitchhiker’s Guide to the Galaxy book! </p>\n<p>In the novel, a group of geniuses seek to find the answer to the Ultimate Question of Life, The Universe, and Everything. They turn to a city-sized computer, Deep Thought, to try to obtain the answer. Seven and a half million years later, the computer spits out the number 42. However, the “ultimate question” is still unknown. And funnily enough, when you search “Answer to the Ultimate Question of Life, the Universe, and Everything” Google directs you to the built-in calculator that reads ‘42’. So moral of the story, don’t ask questions. The answer is always 42.</p>\n<p>Cheers!</p>",
      "votes": 16,
      "replies": [
        {
          "id": 1390248,
          "author_name": "Old Monk",
          "author_url": "",
          "post_date": "2021-07-16T13:39:03.310000",
          "content": "<p>Wow, this is interesting thanks for sharing <a href=\"https://www.kaggle.com/jonaslneri\" target=\"_blank\">@jonaslneri</a> !</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 1390871,
          "author_name": "",
          "author_url": "",
          "post_date": "2021-07-17T06:18:46.447000",
          "content": "",
          "votes": 4,
          "replies": []
        },
        {
          "id": 1390935,
          "author_name": "laxman kusuma",
          "author_url": "",
          "post_date": "2021-07-17T07:29:54.650000",
          "content": "<p>you are saying right <a href=\"https://www.kaggle.com/jonaslneri\" target=\"_blank\">@jonaslneri</a> but data scientist  needs scientific reason for any question 😊😊</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 1391463,
          "author_name": "Cédric Brice",
          "author_url": "",
          "post_date": "2021-07-17T16:14:15.730000",
          "content": "<p>I think using 42 as seed parameter is a bit like printing 'Hello World', a reference to something related to IT that made its way into the everyday life of a data worker ;). Sometimes people know its origin sometimes not.</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 1391528,
          "author_name": "ElenaEB",
          "author_url": "",
          "post_date": "2021-07-17T17:20:53.087000",
          "content": "<p>I also discovered this last year, posing a similar question in my mind about the selection of the number 42 being referenced in some open resource library material, and finding out the reference to HGTG book (fantastic sci-fi series)… nice to see some extended discussion on this.  it is fun to read other people's thoughts on it.  Also interesting to see other people's preference for numbers…. it is after-all just a random selection, but it makes me wonder if there something possibly non-random for some random selections…</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1391605,
          "author_name": "",
          "author_url": "",
          "post_date": "2021-07-17T18:53:14.720000",
          "content": "",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1391606,
          "author_name": "Cédric Brice",
          "author_url": "",
          "post_date": "2021-07-17T18:58:18.747000",
          "content": "<p>Well I use myself a set of fixed parameters for my seeds: 42 (from HGTG), 47 (from Hitman) and 666 because hell why not 😅</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 1392012,
          "author_name": "Shahebaz Mohammad",
          "author_url": "",
          "post_date": "2021-07-18T09:39:26.750000",
          "content": "<p>47 for too long was in my usernames. All because of Hitman Agent 47!</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 1396342,
          "author_name": "Vinayak Shanawad",
          "author_url": "",
          "post_date": "2021-07-22T03:08:31.130000",
          "content": "<p>Awesome!! I am very happy to be a part of the Kaggle community and learning new stuff every day.</p>\n<p>I did not know this, thanks for sharing.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1390769,
      "author_name": "Tahsin Mostafiz",
      "author_url": "",
      "post_date": "2021-07-17T04:35:48.723000",
      "content": "<p>I generally use YEAR as my seed. So, this year, my seed value is 2021. </p>",
      "votes": 3,
      "replies": []
    },
    {
      "id": 1390735,
      "author_name": "Nikit Periwal",
      "author_url": "",
      "post_date": "2021-07-17T03:50:08.973000",
      "content": "<p>I think it falls to a personal preference. Most people start off by copying other's work, and if most notebooks are made using Seed 42, the person forking would also use that.<br>\nAnd habits are hard to break I guess. I personally use random seed 5 always. <a href=\"https://www.kaggle.com/saurabhbagchi\" target=\"_blank\">@saurabhbagchi</a> </p>",
      "votes": 3,
      "replies": [
        {
          "id": 1390939,
          "author_name": "Old Monk",
          "author_url": "",
          "post_date": "2021-07-17T07:30:40.793000",
          "content": "<p>Yup, the least change that person forking popular notebooks should do is update the random seed 🙏.<br>\nThanks for sharing your thoughts <a href=\"https://www.kaggle.com/stoicstatic\" target=\"_blank\">@stoicstatic</a> !</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1455832,
      "author_name": "Jaechan Lee",
      "author_url": "",
      "post_date": "2021-08-06T17:47:15.970000",
      "content": "<p>It's mainly because of forking I think.. One person creates a notebook with a seed 42, another person forks it, and then it became so popular that it became a Kaggle tradition</p>\n<p>honestly no idea I'm using 2021 screw 42</p>",
      "votes": 2,
      "replies": []
    },
    {
      "id": 1394130,
      "author_name": "Amish Agrawal",
      "author_url": "",
      "post_date": "2021-07-20T07:36:06.167000",
      "content": "<p>That is very interesting</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1392165,
      "author_name": "Mohamed Hany",
      "author_url": "",
      "post_date": "2021-07-18T12:01:51.877000",
      "content": "<p>Great job !!</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1390926,
      "author_name": "laxman kusuma",
      "author_url": "",
      "post_date": "2021-07-17T07:24:44.213000",
      "content": "<p>Good discussion ….</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1401048,
      "author_name": "cyberia",
      "author_url": "",
      "post_date": "2021-07-26T21:19:36.660000",
      "content": "<p>42 shows up in natural science every now and then so it became a standard to use it in ML as well. It is the angle at which light should fall on water to create a rainbow as mentioned in this video <a href=\"https://www.youtube.com/watch?v=0lngjO5bV2Y\" target=\"_blank\">https://www.youtube.com/watch?v=0lngjO5bV2Y</a> but who knows maybe one can only know on their 42nd birthday.</p>",
      "votes": 2,
      "replies": [
        {
          "id": 1401225,
          "author_name": "",
          "author_url": "",
          "post_date": "2021-07-27T05:49:15.433000",
          "content": "",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 1400891,
      "author_name": "Rahul Rajendra Saw",
      "author_url": "",
      "post_date": "2021-07-26T17:31:35.557000",
      "content": "<p><strong>You Must See This</strong> <a href=\"url\" target=\"_blank\">https://youtu.be/zyG8Vlw5aAw</a></p>",
      "votes": 2,
      "replies": []
    },
    {
      "id": 1397459,
      "author_name": "KritiDoneria",
      "author_url": "",
      "post_date": "2021-07-23T08:23:51.933000",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/saurabhbagchi\" target=\"_blank\">@saurabhbagchi</a></p>\n<p>Read  <a href=\"https://medium.com/@leticia.b/the-story-of-seed-42-874953452b94\" target=\"_blank\">this</a></p>",
      "votes": 2,
      "replies": [
        {
          "id": 1397518,
          "author_name": "Old Monk",
          "author_url": "",
          "post_date": "2021-07-23T09:10:31.927000",
          "content": "<p>Thanks <a href=\"https://www.kaggle.com/kritidoneria\" target=\"_blank\">@kritidoneria</a> , this is very helpful!</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 1391059,
      "author_name": "Vivek Chowdhury",
      "author_url": "",
      "post_date": "2021-07-17T08:47:24.040000",
      "content": "<p>It is all preference, I personally like 300 or even 100. 42 might be the fashion :D But I guess, it's all preference. Nice discussion. </p>",
      "votes": 2,
      "replies": []
    },
    {
      "id": 1390252,
      "author_name": "Kaan BOKE",
      "author_url": "",
      "post_date": "2021-07-16T13:45:31.417000",
      "content": "<p>Thanks <a href=\"https://www.kaggle.com/jonaslneri\" target=\"_blank\">@jonaslneri</a>, I heard before, but good to remember.</p>",
      "votes": 2,
      "replies": []
    },
    {
      "id": 1401539,
      "author_name": "Vladislav Levshinskii",
      "author_url": "",
      "post_date": "2021-07-27T12:00:14.023000",
      "content": "<p>42</p>\n<p></p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1397574,
      "author_name": "",
      "author_url": "",
      "post_date": "2021-07-23T09:53:14.373000",
      "content": "",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1397164,
      "author_name": "",
      "author_url": "",
      "post_date": "2021-07-22T21:12:15.737000",
      "content": "",
      "votes": -1,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1391639": "[The number 42](https://en.wikipedia.org/wiki/42_(number)) is used as a random seed in many languages because 42 is cited in [The Hitchhiker's Guide to the Galaxy](https://en.wikipedia.org/wiki/The_Hitchhiker%27s_Guide_to_the_Galaxy) (Douglas Adams, 🤓) as the **\"Answer to the Ultimate Question of Life, the Universe, and Everything,\"**.🤔\n\n\n| ![](https://images.penguinrandomhouse.com/cover/9780593359440)| ![](https://qph.fs.quoracdn.net/main-qimg-3dbd74855aab996df92e66abf53ab977) \n",
    "1390173": "Hello Kagglers,\n\nAlways wondered if there is any trick of the trade to select the random seed while training a model. In a lot of public notebooks have seen the number 42 used. Is there any science behind it or it is as the variable name suggests \"truly random\"?\nWould like to understand your opinion here.\n\nThanks and Regards,\nOld Monk",
    "1390219": "Hi there @saurabhbagchi! \n\nI asked myself the same questions a few days ago.\n\nTurns out, it comes from the The Hitchhiker’s Guide to the Galaxy book! \n\nIn the novel, a group of geniuses seek to find the answer to the Ultimate Question of Life, The Universe, and Everything. They turn to a city-sized computer, Deep Thought, to try to obtain the answer. Seven and a half million years later, the computer spits out the number 42. However, the “ultimate question” is still unknown. And funnily enough, when you search “Answer to the Ultimate Question of Life, the Universe, and Everything” Google directs you to the built-in calculator that reads ‘42’. So moral of the story, don’t ask questions. The answer is always 42.\n\nCheers!",
    "1390769": "I generally use YEAR as my seed. So, this year, my seed value is 2021. ",
    "1390735": "I think it falls to a personal preference. Most people start off by copying other's work, and if most notebooks are made using Seed 42, the person forking would also use that.\nAnd habits are hard to break I guess. I personally use random seed 5 always. @saurabhbagchi ",
    "1455832": "It's mainly because of forking I think.. One person creates a notebook with a seed 42, another person forks it, and then it became so popular that it became a Kaggle tradition\n\nhonestly no idea I'm using 2021 screw 42",
    "1394130": "That is very interesting\n",
    "1392165": "Great job !!",
    "1390926": "Good discussion ....",
    "1401048": "42 shows up in natural science every now and then so it became a standard to use it in ML as well. It is the angle at which light should fall on water to create a rainbow as mentioned in this video https://www.youtube.com/watch?v=0lngjO5bV2Y but who knows maybe one can only know on their 42nd birthday.",
    "1400891": "**You Must See This** [https://youtu.be/zyG8Vlw5aAw](url)",
    "1397459": "Hi @saurabhbagchi\n\nRead  [this](https://medium.com/@leticia.b/the-story-of-seed-42-874953452b94)",
    "1391059": "It is all preference, I personally like 300 or even 100. 42 might be the fashion :D But I guess, it's all preference. Nice discussion. ",
    "1390252": "Thanks @jonaslneri, I heard before, but good to remember.",
    "1401539": "42\n\n~~Your message must have at least 10 characters.~~",
    "1397574": "",
    "1397164": ""
  }
}