Comments (3)
@zeeshan5885 this is a good idea ✌️. Any mechanism that could compute the expressions of type GenericRV
would make it more flexible ✊🏼 and powerful 💪🏼. Thanks for the report ❤️!
from jaxampler.
I see the solution to this issue in the following parts.
- A mechanism that can recognize multiple objects of
GenericRV
that are manipulated by a computational function. - After the objects have been stored and the pattern has been recognized then we would have to calculate the xxfs and apply the same expression.
We can achieve this goal using Expression Trees. They are standard practice in the evaluation of expression in computer science. One potential problem that can arise in the following situation, let's suppose we have two random variables,
In this case, we have to pass arguments carefully. At the moment I have only one idea to handle this situation which is to use key word arguments instead of position arguments.
from jaxampler.
We can also notice that only the PDFs of the random variable combine the same way as the function combines the random variable. This is not always true for other XXFs.
from jaxampler.
Related Issues (20)
- Broadcasting arrays making objects heavy
- Shapes of parameter is not influencing the `rvs` of a random variable (distribution)
- Use pre-commit hooks for CI
- Incompatible types in static type analysis using `pyright`
- Incompatible method overriding HOT 1
- Add No U-Turn Sampler (NUTS) [Adaptation of HMC] HOT 1
- JAX operations are for `ArrayLike` objects but we are passing `Numeric` typed objects
- Add `verbose`
- Lack of standard nomenclature among similar classes
- `rvs.Binomial.cdf_x` is not working as expected for shaped `n` HOT 1
- Incorrect implementation of `rvs.Triangular.logcdf_x` HOT 1
- Statistical measures like mean, median and other higher order measures for different distribution
- Integer arguments causing `OverflowError: cannot convert float infinity to integer`
- Location–scale family of `jaxampler.rvs` HOT 1
- `rvs` function contains unnecessary details which can be abstracted away!
- Factory method for `xxf` function to overcome the decision of using `xxf_x` and `xxf_v`
- Expression Tree to evaluate the algebraic combination of `rvs`
- Single type for Random Variables
- Module not found after freshly installation
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 jaxampler.