{
  "id": 15420,
  "title": "Python Help, please",
  "url": "/competitions/grasp-and-lift-eeg-detection/discussion/15420",
  "author_name": "",
  "post_date": "2015-07-21T17:06:33.210Z",
  "votes": 1,
  "comment_count": 5,
  "views": 537,
  "content": "<p>I'm trying to write out Alex's features to file as I'm more comfortable using R. </p>\n\n<p><a href=\"https://www.kaggle.com/domcastro/grasp-and-lift-eeg-detection/write-the-features-to-file\">https://www.kaggle.com/domcastro/grasp-and-lift-eeg-detection/write-the-features-to-file</a></p>\n\n<p>I can't get it to work as I get stuck on the arrays/matrix/frames.\nI tried hstack, append and now converted to data frame but still can't get it to work. Can anyone help out? ta</p>",
  "messages": [
    {
      "id": "86335",
      "postDate": "07/21/2015 17:06:33",
      "content": "<p>I'm trying to write out Alex's features to file as I'm more comfortable using R. </p>\n\n<p><a href=\"https://www.kaggle.com/domcastro/grasp-and-lift-eeg-detection/write-the-features-to-file\">https://www.kaggle.com/domcastro/grasp-and-lift-eeg-detection/write-the-features-to-file</a></p>\n\n<p>I can't get it to work as I get stuck on the arrays/matrix/frames.\nI tried hstack, append and now converted to data frame but still can't get it to work. Can anyone help out? ta</p>",
      "rawMarkdown": "I'm trying to write out Alex's features to file as I'm more comfortable using R. \r\n\r\nhttps://www.kaggle.com/domcastro/grasp-and-lift-eeg-detection/write-the-features-to-file\r\n\r\nI can't get it to work as I get stuck on the arrays/matrix/frames.\r\nI tried hstack, append and now converted to data frame but still can't get it to work. Can anyone help out? ta",
      "votes": null
    },
    {
      "id": "86353",
      "postDate": "07/21/2015 18:20:11",
      "content": "<p>@Bluefool, </p>\n\n<p>try this locally <a href=\"https://www.kaggle.com/devinanzelmo/grasp-and-lift-eeg-detection/beat-the-benchmark-0-67\">https://www.kaggle.com/devinanzelmo/grasp-and-lift-eeg-detection/beat-the-benchmark-0-67</a>  and see if it works.  it used all the available disk space for scripts. It will likely be a couple of GB of data. </p>",
      "rawMarkdown": "Bluefool, \r\n\r\ntry this locally https://www.kaggle.com/devinanzelmo/grasp-and-lift-eeg-detection/beat-the-benchmark-0-67  and see if it works.  it used all the available disk space for scripts. It will likely be a couple of GB of data.",
      "votes": null
    },
    {
      "id": "86354",
      "postDate": "07/21/2015 18:22:14",
      "content": "<p>Thanks - just going to give it a go. - Might take me a while if I have to install stuff for Python</p>",
      "rawMarkdown": "Thanks - just going to give it a go. - Might take me a while if I have to install stuff for Python",
      "votes": null
    },
    {
      "id": "86355",
      "postDate": "07/21/2015 18:27:01",
      "content": "<p>you can try running it for one subject at a time, and then downloading and switching the subject. I just edited that script so it only runs for one subject and includes the test set IDS. But using python will give more flexibility to try things out. The labels are also tacked onto the train set. Best of luck. </p>",
      "rawMarkdown": "you can try running it for one subject at a time, and then downloading and switching the subject. I just edited that script so it only runs for one subject and includes the test set IDS. But using python will give more flexibility to try things out. The labels are also tacked onto the train set. Best of luck.",
      "votes": null
    },
    {
      "id": "86360",
      "postDate": "07/21/2015 18:42:44",
      "content": "<p>Taking longer than expected as I have to download data again for the new events file</p>",
      "rawMarkdown": "Taking longer than expected as I have to download data again for the new events file",
      "votes": null
    },
    {
      "id": "86373",
      "postDate": "07/21/2015 19:35:31",
      "content": "<p>Thanks ever so much. It worked and all files are written.</p>",
      "rawMarkdown": "Thanks ever so much. It worked and all files are written.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 86353,
      "author_name": "devinanzelmo",
      "author_url": "",
      "post_date": "07/21/2015 18:20:11",
      "content": "<p>@Bluefool, </p>\n\n<p>try this locally <a href=\"https://www.kaggle.com/devinanzelmo/grasp-and-lift-eeg-detection/beat-the-benchmark-0-67\">https://www.kaggle.com/devinanzelmo/grasp-and-lift-eeg-detection/beat-the-benchmark-0-67</a>  and see if it works.  it used all the available disk space for scripts. It will likely be a couple of GB of data. </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 86354,
      "author_name": "domcastro",
      "author_url": "",
      "post_date": "07/21/2015 18:22:14",
      "content": "<p>Thanks - just going to give it a go. - Might take me a while if I have to install stuff for Python</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 86355,
      "author_name": "devinanzelmo",
      "author_url": "",
      "post_date": "07/21/2015 18:27:01",
      "content": "<p>you can try running it for one subject at a time, and then downloading and switching the subject. I just edited that script so it only runs for one subject and includes the test set IDS. But using python will give more flexibility to try things out. The labels are also tacked onto the train set. Best of luck. </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 86360,
      "author_name": "domcastro",
      "author_url": "",
      "post_date": "07/21/2015 18:42:44",
      "content": "<p>Taking longer than expected as I have to download data again for the new events file</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 86373,
      "author_name": "domcastro",
      "author_url": "",
      "post_date": "07/21/2015 19:35:31",
      "content": "<p>Thanks ever so much. It worked and all files are written.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "86335": "I'm trying to write out Alex's features to file as I'm more comfortable using R. \r\n\r\nhttps://www.kaggle.com/domcastro/grasp-and-lift-eeg-detection/write-the-features-to-file\r\n\r\nI can't get it to work as I get stuck on the arrays/matrix/frames.\r\nI tried hstack, append and now converted to data frame but still can't get it to work. Can anyone help out? ta",
    "86353": "Bluefool, \r\n\r\ntry this locally https://www.kaggle.com/devinanzelmo/grasp-and-lift-eeg-detection/beat-the-benchmark-0-67  and see if it works.  it used all the available disk space for scripts. It will likely be a couple of GB of data.",
    "86354": "Thanks - just going to give it a go. - Might take me a while if I have to install stuff for Python",
    "86355": "you can try running it for one subject at a time, and then downloading and switching the subject. I just edited that script so it only runs for one subject and includes the test set IDS. But using python will give more flexibility to try things out. The labels are also tacked onto the train set. Best of luck.",
    "86360": "Taking longer than expected as I have to download data again for the new events file",
    "86373": "Thanks ever so much. It worked and all files are written."
  },
  "source": "meta"
}