{"action":"created","issue":{"url":"https://api.github.com/repos/libertyh/ising-model/issues/1","labels_url":"https://api.github.com/repos/libertyh/ising-model/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/libertyh/ising-model/issues/1/comments","events_url":"https://api.github.com/repos/libertyh/ising-model/issues/1/events","html_url":"https://github.com/libertyh/ising-model/issues/1","id":76706232,"number":1,"title":"Demo not working","user":{"login":"RDTm","id":7127641,"avatar_url":"https://avatars.githubusercontent.com/u/7127641?v=3","gravatar_id":"","url":"https://api.github.com/users/RDTm","html_url":"https://github.com/RDTm","followers_url":"https://api.github.com/users/RDTm/followers","following_url":"https://api.github.com/users/RDTm/following{/other_user}","gists_url":"https://api.github.com/users/RDTm/gists{/gist_id}","starred_url":"https://api.github.com/users/RDTm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RDTm/subscriptions","organizations_url":"https://api.github.com/users/RDTm/orgs","repos_url":"https://api.github.com/users/RDTm/repos","events_url":"https://api.github.com/users/RDTm/events{/privacy}","received_events_url":"https://api.github.com/users/RDTm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/libertyh/ising-model/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-15T12:00:11Z","updated_at":"2015-05-18T23:57:09Z","closed_at":"2015-05-18T20:06:18Z","body":"Dear authors,\r\n\r\nIt seems to me that the demo is not working - when I run run_ising_demo.m, I get the following error:\r\n\r\n**Undefined function or variable \"X_train\"**\r\n**Error in ising_neurons_L1reg (line 125)**\r\n**nsamples = size(X_train,2); % number of training samples**\r\n\r\n**Error in run_ising_demo (line 50)**\r\n**[all_J, all_logL, modelname] = ising_neurons_L1reg(datafile, model, nchunks);**\r\n\r\nIt seems the dataset read-in is not properly divided into training and test set.\r\n"},"comment":{"url":"https://api.github.com/repos/libertyh/ising-model/issues/comments/103273090","html_url":"https://github.com/libertyh/ising-model/issues/1#issuecomment-103273090","issue_url":"https://api.github.com/repos/libertyh/ising-model/issues/1","id":103273090,"user":{"login":"libertyh","id":3268583,"avatar_url":"https://avatars.githubusercontent.com/u/3268583?v=3","gravatar_id":"","url":"https://api.github.com/users/libertyh","html_url":"https://github.com/libertyh","followers_url":"https://api.github.com/users/libertyh/followers","following_url":"https://api.github.com/users/libertyh/following{/other_user}","gists_url":"https://api.github.com/users/libertyh/gists{/gist_id}","starred_url":"https://api.github.com/users/libertyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libertyh/subscriptions","organizations_url":"https://api.github.com/users/libertyh/orgs","repos_url":"https://api.github.com/users/libertyh/repos","events_url":"https://api.github.com/users/libertyh/events{/privacy}","received_events_url":"https://api.github.com/users/libertyh/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T23:57:09Z","updated_at":"2015-05-18T23:57:09Z","body":"Great.  I added that line to the demo file as well, thank you for\nsuggesting.\nBest wishes,\nLiberty\n\nOn Mon, May 18, 2015 at 3:34 PM, RDTm <notifications@github.com> wrote:\n\n> Hey,\n>\n> the code is running now, but I also needed to:\n> addpath('3rd_party_code/minFunc')\n>\n> so maybe it's reasonable to add this to the demo file.\n>\n> I can't check right now if it produces reasonable outputs (it really late\n> in my timezone), but hopefully if it runs it does. But if I don't get back\n> to you tomorrow, then it means everything is working fine.\n>\n> Thanks a lot,\n>\n> a.\n>\n>\n>\n> On Mon, May 18, 2015 at 11:02 PM, Liberty Hamilton <\n> notifications@github.com\n> > wrote:\n>\n> > Thank you for catching the typo -- I have corrected it in the code, let\n> me\n> > know if it still does not work for you.\n> > Best,\n> > Liberty\n> >\n> > On Fri, May 15, 2015 at 5:00 AM, RDTm <notifications@github.com> wrote:\n> >\n> > > Dear authors,\n> > >\n> > > It seems to me that the demo is not working - when I run\n> > run_ising_demo.m,\n> > > I get the following error:\n> > >\n> > > *Undefined function or variable \"X_train\"*\n> > > *Error in ising_neurons_L1reg (line 125)*\n> > > *nsamples = size(X_train,2); % number of training samples*\n> > >\n> > > *Error in run_ising_demo (line 50)*\n> > > *[all_J, all_logL, modelname] = ising_neurons_L1reg(datafile, model,\n> > > nchunks);*\n> > >\n> > > It seems the dataset read-in is not properly divided into training and\n> > > test set.\n> > >\n> > > —\n> > > Reply to this email directly or view it on GitHub\n> > > <https://github.com/libertyh/ising-model/issues/1>.\n> > >\n> >\n> > —\n> > Reply to this email directly or view it on GitHub\n> > <https://github.com/libertyh/ising-model/issues/1#issuecomment-103193878\n> >.\n> >\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/libertyh/ising-model/issues/1#issuecomment-103236856>.\n>\n"}}