Open TY-Cheng opened 3 years ago
Hi and thanks for your kind words!
There are questions within this issue:
pyvinecopulib
: the thing is, both rvinecopulib
and pyvinecopulib
are wrappers around vinecopulib
, a C++ library for vine copulas modeling, but they differ completely in their design/implementation. Because R users are less used to object-oriented code, we needed to write wrappers that would look/feel familiar to the typical user. But Python is much closer to C++ in the sense that people are used to work with classes/methods. As a result, pyvinecopulib
simply exposes the C++ classes and their methods using pybind11. Actually, pyvinecopulib
is almost entirely contained in this C++ file, and we haven't written much actual Python code. We would need to look at existing stuff for plotting in Python, but we simply haven't taken the time to do it yet. Any help on that would be welcome :)Having some extra visualization functionality in Python would generally be a good idea, but I think both @tvatter and I don't have much time for this at the moment.
Converting the vine into adjacency matrices or similar would be easy to implement in the meanwhile, but would still require a lot of extra work from the user. Could you build something from there and maybe contribute it to our library, @TY-Cheng? :)
Thank you so much for this masterpiece package.
Just wondering if we have plot function implemented for pyvinecopulib? just like rvinecopulib in R? The exported json file is not yet directly compatible with 'igraph' or 'networkx', it would be more helpful to customised visualisation if they are compatible. thx a lot!