{"action":"opened","issue":{"url":"https://api.github.com/repos/aardvark-platform/aardvark.semantictextonforests/issues/4","repository_url":"https://api.github.com/repos/aardvark-platform/aardvark.semantictextonforests","labels_url":"https://api.github.com/repos/aardvark-platform/aardvark.semantictextonforests/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/aardvark-platform/aardvark.semantictextonforests/issues/4/comments","events_url":"https://api.github.com/repos/aardvark-platform/aardvark.semantictextonforests/issues/4/events","html_url":"https://github.com/aardvark-platform/aardvark.semantictextonforests/issues/4","id":254553676,"number":4,"title":"Crash in function Linear.Train()","user":{"login":"fatichar","id":10287054,"avatar_url":"https://avatars0.githubusercontent.com/u/10287054?v=4","gravatar_id":"","url":"https://api.github.com/users/fatichar","html_url":"https://github.com/fatichar","followers_url":"https://api.github.com/users/fatichar/followers","following_url":"https://api.github.com/users/fatichar/following{/other_user}","gists_url":"https://api.github.com/users/fatichar/gists{/gist_id}","starred_url":"https://api.github.com/users/fatichar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatichar/subscriptions","organizations_url":"https://api.github.com/users/fatichar/orgs","repos_url":"https://api.github.com/users/fatichar/repos","events_url":"https://api.github.com/users/fatichar/events{/privacy}","received_events_url":"https://api.github.com/users/fatichar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-01T07:01:44Z","updated_at":"2017-09-01T07:01:44Z","closed_at":null,"author_association":"NONE","body":"I am getting an Exception at the last call Linear.Train() in the following code:\r\n\r\n`\r\n            var features = CreateFeatures(learnset);\r\n            learnset.Features = features;\r\n            var featureVectors = CreateFeatureVectors(learnset, learnset.PageSamples);\r\n\r\n            var classIds = CreateClassIds(taxonomy);\r\n            \r\n            var problem = new Problem\r\n            {\r\n                x = featureVectors,\r\n                y = GetClasses(learnset.PageSamples, classIds),\r\n                Bias = 1\r\n            };\r\n\r\n            var parameter = new Parameter(SolverType.MCSVM_CS);\r\n\r\n            learnset.Model = Linear.Train(problem, parameter);`\r\n\r\nException Detail:\r\n```\r\n  System.AccessViolationException occurred\r\n  HResult=-2147467261\r\n  Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.\r\n  Source=LibLinear\r\n  StackTrace:\r\n       at Solver_MCSVM_CS.Solve(Solver_MCSVM_CS* , Double* w) in c:\\data\\development\\aardvark.semantictextonforests\\src\\liblinear\\linear.cpp:line 718\r\n  InnerException: \r\n```\r\n"}}
{"actor":{"display_login":"fatichar"}}