Comments (7)
The {..., Dims=1}
in Composed
. After #44 we'll have dimension information in Bijector
, and in the case of these "wrapper" bijectors, e.g. Composed
, it could be nice to show the dimensionality of the bijector:)
from bijectors.jl.
I see, I think the dims is a good idea.
from bijectors.jl.
You can see how the README will look with dimensionality from PR #44 combined with the proposed Base.show
overload over at https://github.com/torfjelde/Bijectors.jl/tree/tor/show-overload
from bijectors.jl.
How does 1 differ from 2?
from bijectors.jl.
We can also drop the Dims=
and just write the dimensionality N
, which is similar to what you get by default for all other bijectors, e.g. Exp()
is displayed as Exp{0}()
because by default we assume Exp
to be 0-dimensional (can also instantiate as Exp{N}()
where N
is an integer)
from bijectors.jl.
Would it make sense to use lower-case dim
instead of Dim
? I think this would be more julia style.
from bijectors.jl.
I'm not necessarily against that; my reasoning for choosing Dim
is because it's a type-parameter rather than an argument. Could also rename to D
or dim
as you suggested :)
from bijectors.jl.
Related Issues (20)
- MethodError: no method matching `(::Inverse)...`
- Zygote error differentiating `Coupling` HOT 4
- `PlanarLayer` broken in 0.9.9 HOT 17
- OrderedBijector gives surprising results HOT 13
- Road to DensityInterface? HOT 11
- Rewrite: what do we want
- Fitting normalizing flow HOT 2
- Matrix Variate Bijectors - Lower/Uppertriangular transforms
- Zygote AD & `logpdf` for transformed multivariate
- `Bijectors.ordered(d)` is incorrect if `bijector(d)` is not `Identity` HOT 1
- Adding support for FunctionChains.jl? HOT 9
- Problem compiling an app with Turing
- MethodError: no method matching bijector(::MixtureModel{Multivariate, Continuous, MvNormal, Float64}) HOT 1
- CorrBijector makes posterior improper HOT 7
- SimplexBijector tests fails on boundary
- Remove heavy usage of `@generated`
- Questions on custom bijectors HOT 1
- Bijector for MatrixNormal HOT 2
- Remove heavy usage of `@generated` HOT 2
- Add `rng` to have the reproducibility in `PlanarLayer` and `RadialLayer`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bijectors.jl.