{"action":"closed","issue":{"url":"https://api.github.com/repos/kronenthaler/libai/issues/32","repository_url":"https://api.github.com/repos/kronenthaler/libai","labels_url":"https://api.github.com/repos/kronenthaler/libai/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/kronenthaler/libai/issues/32/comments","events_url":"https://api.github.com/repos/kronenthaler/libai/issues/32/events","html_url":"https://github.com/kronenthaler/libai/issues/32","id":194422216,"number":32,"title":"NeuralNetwork not completely honoring the offset value","user":{"login":"dktcoding","id":709639,"avatar_url":"https://avatars.githubusercontent.com/u/709639?v=3","gravatar_id":"","url":"https://api.github.com/users/dktcoding","html_url":"https://github.com/dktcoding","followers_url":"https://api.github.com/users/dktcoding/followers","following_url":"https://api.github.com/users/dktcoding/following{/other_user}","gists_url":"https://api.github.com/users/dktcoding/gists{/gist_id}","starred_url":"https://api.github.com/users/dktcoding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dktcoding/subscriptions","organizations_url":"https://api.github.com/users/dktcoding/orgs","repos_url":"https://api.github.com/users/dktcoding/repos","events_url":"https://api.github.com/users/dktcoding/events{/privacy}","received_events_url":"https://api.github.com/users/dktcoding/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-08T19:25:57Z","updated_at":"2016-12-09T15:15:21Z","closed_at":"2016-12-09T15:15:20Z","body":"This is actually a minor issue, but when calling `NeuralNetwork#error()` or `MLP#train()` with an offset, values outside the range `[offset, offset + length]` should be completely ignored, thus they could very well be `null`. Currently the code accesses element `[0]` of the array instead of element at position `[offset]`.\r\n\r\nOther NN seem to be unaffected since they handle the offset value differently."}}
{"actor":{"display_login":"dktcoding"}}