Search code examples
pythonmachine-learningdata-analysis

In machine learning why most guys using random_state=42?


I found many people using random_state=42 everywhere. why 42 so popular?


Solution

  • It's a reference to The Hitchhiker's Guide to the Galaxy.

    And it makes your results much better ;)