{"action":"created","issue":{"url":"https://api.github.com/repos/MaxHalford/prince/issues/17","repository_url":"https://api.github.com/repos/MaxHalford/prince","labels_url":"https://api.github.com/repos/MaxHalford/prince/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/MaxHalford/prince/issues/17/comments","events_url":"https://api.github.com/repos/MaxHalford/prince/issues/17/events","html_url":"https://github.com/MaxHalford/prince/issues/17","id":291413305,"number":17,"title":"ValueError: array must not contain infs or NaNs","user":{"login":"F3kih","id":32375280,"avatar_url":"https://avatars3.githubusercontent.com/u/32375280?v=4","gravatar_id":"","url":"https://api.github.com/users/F3kih","html_url":"https://github.com/F3kih","followers_url":"https://api.github.com/users/F3kih/followers","following_url":"https://api.github.com/users/F3kih/following{/other_user}","gists_url":"https://api.github.com/users/F3kih/gists{/gist_id}","starred_url":"https://api.github.com/users/F3kih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/F3kih/subscriptions","organizations_url":"https://api.github.com/users/F3kih/orgs","repos_url":"https://api.github.com/users/F3kih/repos","events_url":"https://api.github.com/users/F3kih/events{/privacy}","received_events_url":"https://api.github.com/users/F3kih/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-01-25T00:52:07Z","updated_at":"2018-02-21T14:39:02Z","closed_at":null,"author_association":"NONE","body":"When i Try CA the algorithm stops in compute SVD and i got a value error :/ \r\nI verified that i have no NaN or inf values. \r\nMy dataframe is a resulat of TFvectorizer with a dictionnary so values in the sparse matrix (used as a dataframe) are greater or equal to Zero.\r\n\r\nprint(pd.__version__) 0.20.3\r\nprint(np.__version__) 1.13.3\r\nprint(scipy.__version__) 1.0.0\r\nPython 3.6.4\r\nWindows 64bits\r\n\r\nWen i ran the SVD decomposition with scipy it works but not with princee which is surprising.\r\n\r\nAnybody could help me please ?"},"comment":{"url":"https://api.github.com/repos/MaxHalford/prince/issues/comments/367346550","html_url":"https://github.com/MaxHalford/prince/issues/17#issuecomment-367346550","issue_url":"https://api.github.com/repos/MaxHalford/prince/issues/17","id":367346550,"user":{"login":"F3kih","id":32375280,"avatar_url":"https://avatars3.githubusercontent.com/u/32375280?v=4","gravatar_id":"","url":"https://api.github.com/users/F3kih","html_url":"https://github.com/F3kih","followers_url":"https://api.github.com/users/F3kih/followers","following_url":"https://api.github.com/users/F3kih/following{/other_user}","gists_url":"https://api.github.com/users/F3kih/gists{/gist_id}","starred_url":"https://api.github.com/users/F3kih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/F3kih/subscriptions","organizations_url":"https://api.github.com/users/F3kih/orgs","repos_url":"https://api.github.com/users/F3kih/repos","events_url":"https://api.github.com/users/F3kih/events{/privacy}","received_events_url":"https://api.github.com/users/F3kih/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T14:39:02Z","updated_at":"2018-02-21T14:39:02Z","author_association":"NONE","body":"I think that you have to review the contengency table, Note that you have\nto get a table that Sum of columns or rows muts be equals to one.\nThis is the particularity of the transformation that you ahve to do on the\ncontengenvcy table.\nI think that the package don't compute this operation, so try to do it\nmanually and tell me about the results.\n\n2018-02-21 15:26 GMT+01:00 Susann Vorberg <notifications@github.com>:\n\n> For me it is exactly the same\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/MaxHalford/prince/issues/17#issuecomment-367342737>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/Ae4B8GyEaaXXZaKHEj1fJ_9id1EoAjydks5tXCeegaJpZM4RsKk->\n> .\n>\n"}}
{"actor":{"display_login":"F3kih"}}