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

Fix DeprecationWarnings #24

Closed
ManuelAlvarezC opened this issue Jun 28, 2018 · 0 comments
Closed

Fix DeprecationWarnings #24

ManuelAlvarezC opened this issue Jun 28, 2018 · 0 comments
Assignees
Labels
internal The issue doesn't change the API or functionality
Milestone

Comments

@ManuelAlvarezC
Copy link
Contributor

ManuelAlvarezC commented Jun 28, 2018

When fitting a GaussianCopula the following warning is raised:

copulas/multivariate/GaussianCopula.py:64: FutureWarning: Method .as_matrix will be removed in a future version. Use .values instead.
means = [np.mean(res.iloc[:, i].as_matrix()) for i in range(n)]
numpy/lib/function_base.py:3103: RuntimeWarning: invalid value encountered in subtract
X -= avg[:, None]
copulas/multivariate/GaussianCopula.py:66: FutureWarning: Method .as_matrix will be removed in a future version. Use .values instead.
return (cov.as_matrix(), means, res)

@ManuelAlvarezC ManuelAlvarezC added the internal The issue doesn't change the API or functionality label Jun 28, 2018
@ManuelAlvarezC ManuelAlvarezC self-assigned this Jun 28, 2018
@ManuelAlvarezC ManuelAlvarezC added this to the 0.2.0 milestone Aug 14, 2018
@ManuelAlvarezC ManuelAlvarezC modified the milestones: 0.2.0, 0.1.1 Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal The issue doesn't change the API or functionality
Projects
None yet
Development

No branches or pull requests

1 participant