Comments (3)
'Node' isn't the best name for these (and it's confusing as nodes are defined internally, too). 'Tensor' may also be confused with TF tensors. Since they are intended to behave like arrays, perhaps 'greta array' is a better term?
The print method might then give:
greta array (fixed)
[,1] [,2] [,3]
[1,] 0 1 0
[2,] 1 0 1.2
greta array (deterministic)
[,1] [,2] [,3]
[1,] ? ? ?
[2,] ? ? ?
greta array (stochastic with beta distribution)
[,1] [,2] [,3]
[1,] ? ? ?
[2,] ? ? ?
for consistency, and to hide internal functions from users, it might be better to thinly wrap these in a greta_array
S3 class?
from greta.
ideas for the greta_array
class are in this gist
from greta.
implemented in #24
from greta.
Related Issues (20)
- M1 TF2 dev errors for new optimisers HOT 3
- greta has crash situation: address 0x50, cause 'memory not mapped' HOT 29
- extra_samples fails when when thin, pb_update and/or n_samples are not multiples HOT 1
- Implement new TFP optimisers?
- Extract convergence and iteration information from TF2 optimisers
- Deprecate optimisers accessed through compat?
- Improve documentation on non-independent sampling using greta_array()
- install_greta_deps() claims success when it has actually failed (windows) HOT 3
- Creating 'greta-env' conda environment using python v3.7 failed HOT 2
- TF2 Errors in `test_inference.R` - bad proposals are not rejected HOT 1
- TF2 error - Failure (`test_inference.R:293)`: mcmc supports rwmh sampler with normal/uniform proposals HOT 3
- TF2 error - Failure (`test_inference.R:317`): mcmc supports slice sampler with single precision models
- TF2 error - Failure (`test_inference.R:351`): numerical issues are handled in mcmc
- TF2 - Failure (`test_inference.R:375`): mcmc works in parallel - cannot find TF installation when using `future`
- TF2 error - "adam" optimiser doesn't converge
- TF2 error - "iterations" object not found for `adagrad_da` `proximal_adagrad` `proximal_gradient_descent` HOT 2
- Implement `outer` function in greta
- `dim<-` doesn't alway create an unknowns object
- error retrieving diagonal from rectangular matrix HOT 2
- Implement helper function to provide better initial values HOT 2
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 greta.