{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4775","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4775/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4775/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4775/events","html_url":"https://github.com/scikit-learn/scikit-learn/pull/4775","id":81434720,"number":4775,"title":"[MRG+1] cd_fast.pyx : changed ctype to np.ndarray to avoid cython read only error","user":{"login":"arthurmensch","id":4078691,"avatar_url":"https://avatars.githubusercontent.com/u/4078691?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurmensch","html_url":"https://github.com/arthurmensch","followers_url":"https://api.github.com/users/arthurmensch/followers","following_url":"https://api.github.com/users/arthurmensch/following{/other_user}","gists_url":"https://api.github.com/users/arthurmensch/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurmensch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurmensch/subscriptions","organizations_url":"https://api.github.com/users/arthurmensch/orgs","repos_url":"https://api.github.com/users/arthurmensch/repos","events_url":"https://api.github.com/users/arthurmensch/events{/privacy}","received_events_url":"https://api.github.com/users/arthurmensch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-27T12:59:39Z","updated_at":"2015-05-31T19:45:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/4775","html_url":"https://github.com/scikit-learn/scikit-learn/pull/4775","diff_url":"https://github.com/scikit-learn/scikit-learn/pull/4775.diff","patch_url":"https://github.com/scikit-learn/scikit-learn/pull/4775.patch"},"body":"Should fix issue #4772. Benchmarking the changes (calling cd_fast within a lasso regression) suggest we do not reduce performance compared to current master\r\n\r\nI added a regression test that fails on current master (setting a read only flag on design matrix)"},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/107239682","html_url":"https://github.com/scikit-learn/scikit-learn/pull/4775#issuecomment-107239682","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4775","id":107239682,"user":{"login":"arthurmensch","id":4078691,"avatar_url":"https://avatars.githubusercontent.com/u/4078691?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurmensch","html_url":"https://github.com/arthurmensch","followers_url":"https://api.github.com/users/arthurmensch/followers","following_url":"https://api.github.com/users/arthurmensch/following{/other_user}","gists_url":"https://api.github.com/users/arthurmensch/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurmensch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurmensch/subscriptions","organizations_url":"https://api.github.com/users/arthurmensch/orgs","repos_url":"https://api.github.com/users/arthurmensch/repos","events_url":"https://api.github.com/users/arthurmensch/events{/privacy}","received_events_url":"https://api.github.com/users/arthurmensch/received_events","type":"User","site_admin":false},"created_at":"2015-05-31T19:45:01Z","updated_at":"2015-05-31T19:45:01Z","body":"I cannot understand why np.ndarray proves to be faster than typed memory view since they are supposed to have a larger overhead"}}