caravagnalab / viber Goto Github PK
View Code? Open in Web Editor NEWVIBER - Variational Binomial Mixtures
VIBER - Variational Binomial Mixtures
Hi @caravagn, I noticed that when I set trace = TRUE
in the variational_fit
step it fails, resulting in this error:
[easypar] 10/10 computations returned errors and will be removed.
Error in sum(errs) : invalid 'type' (list) of argument
Specifically, the issue seems to be coming from here, the piece of code starting at row 286:
if(save_trace) {
fit_trace = bind_rows(fit_trace,
tibble(
cluster.Binomial = labels,
step = i))
}
Replacing with cluster.Binomial = unlist(labels)
seems to solve the problem but I'm not sure that's what you were looking for.
That's the code I used (with VIBER version: VIBER_0.1.0
):
library(VIBER)
data(mvbmm_example)
variational_fit(x = mvbmm_example$successes,
y = mvbmm_example$trials,
trace = TRUE)
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.