{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/3693","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/3693/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/3693/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/3693/events","html_url":"https://github.com/scikit-learn/scikit-learn/issues/3693","id":43658341,"number":3693,"title":"test_transformers numerically unstable tests fail on 64-bit python","user":{"login":"drudd","id":4128715,"avatar_url":"https://avatars.githubusercontent.com/u/4128715?v=3","gravatar_id":"","url":"https://api.github.com/users/drudd","html_url":"https://github.com/drudd","followers_url":"https://api.github.com/users/drudd/followers","following_url":"https://api.github.com/users/drudd/following{/other_user}","gists_url":"https://api.github.com/users/drudd/gists{/gist_id}","starred_url":"https://api.github.com/users/drudd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drudd/subscriptions","organizations_url":"https://api.github.com/users/drudd/orgs","repos_url":"https://api.github.com/users/drudd/repos","events_url":"https://api.github.com/users/drudd/events{/privacy}","received_events_url":"https://api.github.com/users/drudd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels/Bug","name":"Bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-09-23T17:25:53Z","updated_at":"2015-04-22T15:11:19Z","closed_at":"2015-04-20T21:38:17Z","body":"This bug has been reported in other cases (#3255, #1826, #1838) but reported as limited to 32-bit python (see specifically #3255 and justification for closure). \r\n\r\nScientificLinux 6.5 (64-bit, gcc 4.4.7)\r\npython 2.7.8\r\nnumpy 1.8.2 (built against MKL 10.3)\r\nscipy 0.14.0\r\nscikit-learn 0.15.2\r\n\r\n```\r\nFAIL: sklearn.tests.test_common.test_transformers('CCA', <class 'sklearn.cross_decomposition.cca_.CCA'>, array([[ 2.51189522,  2.6430893 ,  2.54847718],\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/software/python-2.7-2014q3-el6-x86_64/lib/python2.7/site-packages/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/software/python-2.7-2014q3-el6-x86_64/lib/python2.7/site-packages/sklearn/tests/test_common.py\", line 287, in check_transformer\r\n    % Transformer)\r\n  File \"/software/python-2.7-2014q3-el6-x86_64/lib/python2.7/site-packages/numpy/testing/utils.py\", line 811, in assert_array_almost_equal\r\n    header=('Arrays are not almost equal to %d decimals' % decimal))\r\n  File \"/software/python-2.7-2014q3-el6-x86_64/lib/python2.7/site-packages/numpy/testing/utils.py\", line 644, in assert_array_compare\r\n    raise AssertionError(msg)\r\nAssertionError:\r\nArrays are not almost equal to 2 decimals\r\nconsecutive fit_transform outcomes not consistent in <class 'sklearn.cross_decomposition.cca_.CCA'>\r\n(mismatch 88.3333333333%)\r\n x: array([[  8.87962900e-01,   1.60346761e-15],\r\n       [ -9.23212796e-01,  -3.35912310e-16],\r\n       [ -9.23212796e-01,  -3.35912310e-16],...\r\n y: array([[ 0.8484875 ,  0.53649757],\r\n       [-0.8994568 , -0.5195078 ],\r\n       [-0.8994568 , -0.5195078 ],...\r\n\r\n======================================================================\r\nFAIL: sklearn.tests.test_common.test_transformers('KernelPCA', <class 'sklearn.decomposition.kernel_pca.KernelPCA'>, array([[ 2.51189522,  2.6430893 ,  2.54847718],\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/software/python-2.7-2014q3-el6-x86_64/lib/python2.7/site-packages/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/software/python-2.7-2014q3-el6-x86_64/lib/python2.7/site-packages/sklearn/tests/test_common.py\", line 296, in check_transformer\r\n    % Transformer)\r\n  File \"/software/python-2.7-2014q3-el6-x86_64/lib/python2.7/site-packages/numpy/testing/utils.py\", line 811, in assert_array_almost_equal\r\n    header=('Arrays are not almost equal to %d decimals' % decimal))\r\n  File \"/software/python-2.7-2014q3-el6-x86_64/lib/python2.7/site-packages/numpy/testing/utils.py\", line 599, in assert_array_compare\r\n    raise AssertionError(msg)\r\nAssertionError:\r\nArrays are not almost equal to 2 decimals\r\nconsecutive fit_transform outcomes not consistent in <class 'sklearn.decomposition.kernel_pca.KernelPCA'>\r\n(shapes (30, 17), (30, 16) mismatch)\r\n x: array([[  1.87664949e+00,   8.57398986e-02,   4.20312700e-02,\r\n          3.33090792e-08,   0.00000000e+00,   0.00000000e+00,\r\n          0.00000000e+00,   0.00000000e+00,   2.59520075e-08,...\r\n y: array([[  1.87664949e+00,   8.57398986e-02,   4.20312700e-02,\r\n          3.15985371e-08,   0.00000000e+00,   0.00000000e+00,\r\n          0.00000000e+00,   2.66040637e-08,   0.00000000e+00,...\r\n\r\n----------------------------------------------------------------------\r\n```"},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/95228266","html_url":"https://github.com/scikit-learn/scikit-learn/issues/3693#issuecomment-95228266","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/3693","id":95228266,"user":{"login":"amueller","id":449558,"avatar_url":"https://avatars.githubusercontent.com/u/449558?v=3","gravatar_id":"","url":"https://api.github.com/users/amueller","html_url":"https://github.com/amueller","followers_url":"https://api.github.com/users/amueller/followers","following_url":"https://api.github.com/users/amueller/following{/other_user}","gists_url":"https://api.github.com/users/amueller/gists{/gist_id}","starred_url":"https://api.github.com/users/amueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amueller/subscriptions","organizations_url":"https://api.github.com/users/amueller/orgs","repos_url":"https://api.github.com/users/amueller/repos","events_url":"https://api.github.com/users/amueller/events{/privacy}","received_events_url":"https://api.github.com/users/amueller/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T15:11:19Z","updated_at":"2015-04-22T15:11:19Z","body":"np, thanks for checking :)"}}