-
Notifications
You must be signed in to change notification settings - Fork 56
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
Reorganize distributions into submodule #143
Conversation
Codecov Report
@@ Coverage Diff @@
## master #143 +/- ##
==========================================
+ Coverage 96.14% 97.68% +1.54%
==========================================
Files 48 49 +1
Lines 3213 3155 -58
==========================================
- Hits 3089 3082 -7
+ Misses 124 73 -51
Continue to review full report at Codecov.
|
I think it's a good idea to do a separate This might be a counter argument to the idea of defining manifold-specific distributions in distributions, so we have to see what's more practical. For the Starting with a submodule is a good idea! Edit: With the label “WIP” instead of in the title, I feel its easier to filer and see (and more colourful orange). |
Separating distributions is a good idea and I generally support even splitting it to a separate package. |
The alternative to this is to keep everything in For now, I think I'll move all distributions code, including manifold-specific distributions, into the |
Good plan. We can still decide later whether to turn that in to its own module (I think that might be nice) if we find a good way to split. An idea could also be But we can disuss and decide this later and do this PR as a submodule, for sure. |
Anyone have any good ideas for a nice file structure in ManifoldDistributions? What I have now is really unsatisfactory, but I can't think if anything better. |
I think the file structure is OK. At least I don't have a better idea. |
This is obviously too stale to continue work on it. I'll leave this open now as a reminder to try again when I have time. Unless someone else wants to take a stab at it. |
Sure, no need to rush it. I won't work on this for now. I want to finish porting FunManifolds and find a good solution to JuliaManifolds/ManifoldsBase.jl#45 first. |
Sure, you can also close this one and keep track of this in an issue, since I think in som time this might be hard to get back up to date? But whatever you find nicer. |
This PR might be obsolete since we started ManifoldMeasures.jl? |
Yes, this PR is way too outdated to be useful, and I have no intention of continuing this work in another PR. |
As proposed in #57, this PR reorganizes the distributions code to be in its own submodule
ManifoldDistributions
. The main reason for this is so that we can (eventually) removeDistribution
from all manifold distribution names, in favor of simpler names more consistent with Distributions.jl likeProjected
andUniform
.The intended usage in the future would be for someone who wants manifold distributions to call
using Manifolds.ManifoldDistributions
.There are some open questions here. Right now, only the basic distributions are defined in
ManifoldDistributions
, while manifold-specific distributions likePowerPointDistribution
are defined in that manifold file. If we instead move those manifold-specific distributions intoManifoldDistributions
, we might speed up the load time of Manifolds quite a bit, and it would make it easier to splitManifoldDistributions
into its own package eventually if that's what we want to do.Edit: I'd appreciate input on this latter point