{
  "id": 395634,
  "title": "Why score in local machine is different with kaggle notebook",
  "url": "/competitions/predict-student-performance-from-game-play/discussion/395634",
  "author_name": "Data Science Dances",
  "post_date": "2023-03-18T03:37:13.850000",
  "votes": 0,
  "comment_count": 0,
  "views": 0,
  "content": "<p>I have set np.random.seed(42) and seed=42 in XGBClassifier but the score in the local machine is different with kaggle notebook.<br>\nI also check the version of sklearn and xgboost</p>\n<p>Kaggle notebook:</p>\n<ul>\n<li>xgboost: 1.6.2</li>\n<li>sklearn: 1.0.2</li>\n</ul>\n<p>My local machine:</p>\n<ul>\n<li>xgboost: 1.6.1</li>\n<li>sklearn: 1.1.1<br>\nI wonder if the version difference will lead to the score difference, </li>\n</ul>",
  "messages": [
    {
      "id": 2186714,
      "postDate": "2023-03-18T03:37:13.850Z",
      "content": "<p>I have set np.random.seed(42) and seed=42 in XGBClassifier but the score in the local machine is different with kaggle notebook.<br>\nI also check the version of sklearn and xgboost</p>\n<p>Kaggle notebook:</p>\n<ul>\n<li>xgboost: 1.6.2</li>\n<li>sklearn: 1.0.2</li>\n</ul>\n<p>My local machine:</p>\n<ul>\n<li>xgboost: 1.6.1</li>\n<li>sklearn: 1.1.1<br>\nI wonder if the version difference will lead to the score difference, </li>\n</ul>",
      "rawMarkdown": "I have set np.random.seed(42) and seed=42 in XGBClassifier but the score in the local machine is different with kaggle notebook.\nI also check the version of sklearn and xgboost\n\nKaggle notebook:\n- xgboost: 1.6.2\n- sklearn: 1.0.2\n\nMy local machine:\n- xgboost: 1.6.1\n- sklearn: 1.1.1\nI wonder if the version difference will lead to the score difference, "
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "2186714": "I have set np.random.seed(42) and seed=42 in XGBClassifier but the score in the local machine is different with kaggle notebook.\nI also check the version of sklearn and xgboost\n\nKaggle notebook:\n- xgboost: 1.6.2\n- sklearn: 1.0.2\n\nMy local machine:\n- xgboost: 1.6.1\n- sklearn: 1.1.1\nI wonder if the version difference will lead to the score difference, "
  }
}