{
  "id": 545479,
  "title": "tabnet training issue",
  "url": "/competitions/child-mind-institute-problematic-internet-use/discussion/545479",
  "author_name": "Cyrus",
  "post_date": "2024-11-10T13:57:44.800000",
  "votes": 0,
  "comment_count": 0,
  "views": 0,
  "content": "<p>since the trainML doing the k-fold, do we need to do the train val split inside tabnet?             <br>\n        # Create internal validation set<br>\n        X_train, X_valid, y_train, y_valid = train_test_split(<br>\n            X, <br>\n            y, <br>\n            test_size=0.2,<br>\n            random_state=2024<br>\n        )</p>",
  "messages": [
    {
      "id": 3041543,
      "postDate": "2024-11-10T13:57:44.800Z",
      "content": "<p>since the trainML doing the k-fold, do we need to do the train val split inside tabnet?             <br>\n        # Create internal validation set<br>\n        X_train, X_valid, y_train, y_valid = train_test_split(<br>\n            X, <br>\n            y, <br>\n            test_size=0.2,<br>\n            random_state=2024<br>\n        )</p>",
      "rawMarkdown": "since the trainML doing the k-fold, do we need to do the train val split inside tabnet?             \n        # Create internal validation set\n        X_train, X_valid, y_train, y_valid = train_test_split(\n            X, \n            y, \n            test_size=0.2,\n            random_state=2024\n        )\n        "
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "3041543": "since the trainML doing the k-fold, do we need to do the train val split inside tabnet?             \n        # Create internal validation set\n        X_train, X_valid, y_train, y_valid = train_test_split(\n            X, \n            y, \n            test_size=0.2,\n            random_state=2024\n        )\n        "
  }
}