Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could statsmodels dependency be replaced with scipy? #76

Closed
twiecki opened this issue Jan 9, 2014 · 2 comments
Closed

Could statsmodels dependency be replaced with scipy? #76

twiecki opened this issue Jan 9, 2014 · 2 comments
Labels

Comments

@twiecki
Copy link

twiecki commented Jan 9, 2014

It seems that some package maintainers that would like to rely on seaborn are hesitant to add more dependencies. I was thus wondering if statsmodels is really required as scipy provides linear regression (via stats.linregress) and KDE.

Did miss anything that's only in statsmodels?

@mwaskom
Copy link
Owner

mwaskom commented Jan 9, 2014

Hah, I just moved the KDE from scipy to statsmodels :) The main advantage is the availability of different kernels, and faster computation in the univariate gaussian case.

There are a few things that require statmodels (or at least require either statsmodels or my implementing some statsmodelish things in pure scipy), like logit=True, robust=True, and lowess=True in regplot, coefplot, interactplot, etc.

I have plans (cf #67) to make the statsmodels dependency optional (but strongly recommended) by pushing the import down into the local context where it's needed.

@twiecki
Copy link
Author

twiecki commented Jan 9, 2014

Ah, missed that issue. That makes sense!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants