{"action":"opened","issue":{"url":"https://api.github.com/repos/mwaskom/seaborn/issues/618","labels_url":"https://api.github.com/repos/mwaskom/seaborn/issues/618/labels{/name}","comments_url":"https://api.github.com/repos/mwaskom/seaborn/issues/618/comments","events_url":"https://api.github.com/repos/mwaskom/seaborn/issues/618/events","html_url":"https://github.com/mwaskom/seaborn/issues/618","id":92114671,"number":618,"title":"Fix random failure of logistic regression test","user":{"login":"mwaskom","id":315810,"avatar_url":"https://avatars.githubusercontent.com/u/315810?v=3","gravatar_id":"","url":"https://api.github.com/users/mwaskom","html_url":"https://github.com/mwaskom","followers_url":"https://api.github.com/users/mwaskom/followers","following_url":"https://api.github.com/users/mwaskom/following{/other_user}","gists_url":"https://api.github.com/users/mwaskom/gists{/gist_id}","starred_url":"https://api.github.com/users/mwaskom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwaskom/subscriptions","organizations_url":"https://api.github.com/users/mwaskom/orgs","repos_url":"https://api.github.com/users/mwaskom/repos","events_url":"https://api.github.com/users/mwaskom/events{/privacy}","received_events_url":"https://api.github.com/users/mwaskom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mwaskom/seaborn/labels/testing","name":"testing","color":"AABBCC"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-30T14:49:36Z","updated_at":"2015-06-30T14:49:36Z","closed_at":null,"body":"Probably just poisson variation but it feels like this has been failing more often (weirdly, almost always on the Python 3.4 build.\r\n\r\n```python\r\n======================================================================\r\nERROR: seaborn.tests.test_linearmodels.TestRegressionPlotter.test_logistic_regression\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/travis/miniconda/envs/testenv/lib/python3.4/site-packages/nose/case.py\", line 198, in runTest\r\n    self.test(*self.arg)\r\n  File \"/home/travis/miniconda/envs/testenv/lib/python3.4/site-packages/numpy/testing/decorators.py\", line 146, in skipper_func\r\n    return f(*args, **kwargs)\r\n  File \"/home/travis/build/mwaskom/seaborn/seaborn/tests/test_linearmodels.py\", line 347, in test_logistic_regression\r\n    _, yhat, _ = p.fit_regression(x_range=(-3, 3))\r\n  File \"/home/travis/build/mwaskom/seaborn/seaborn/linearmodels.py\", line 194, in fit_regression\r\n    family=Binomial())\r\n  File \"/home/travis/build/mwaskom/seaborn/seaborn/linearmodels.py\", line 250, in fit_statsmodels\r\n    n_boot=self.n_boot, units=self.units)\r\n  File \"/home/travis/build/mwaskom/seaborn/seaborn/algorithms.py\", line 76, in bootstrap\r\n    boot_dist.append(func(*sample, **func_kwargs))\r\n  File \"/home/travis/build/mwaskom/seaborn/seaborn/linearmodels.py\", line 244, in <lambda>\r\n    reg_func = lambda _x, _y: model(_y, _x, **kwargs).fit().predict(grid)\r\n  File \"/home/travis/miniconda/envs/testenv/lib/python3.4/site-packages/statsmodels/genmod/generalized_linear_model.py\", line 719, in fit\r\n    raise PerfectSeparationError(msg)\r\nstatsmodels.tools.sm_exceptions.PerfectSeparationError: Perfect separation detected, results not available\r\n```\r\n"}}