Coder Social home page Coder Social logo

flowmix's People

Contributors

jacobbien avatar sangwon-hyun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flowmix's Issues

Gradients 2 MGL1704 3-D data issue

Suppose we read in data via

dat <- readRDS("./flowmix/paper-data/MGL1704-hourly-paper.RDS")

dat$countslist has length 308 while dat$ylist has length 296

My quick "fix" is something like...

list2env(dat, envir = globalenv())
countslist <- countslist[names(countslist) %in% names(ylist)]

Clean plotting code

Leave the bare minimum (and the functions that were used for the manuscript); delete all else.
There are currently several R files containing plotting code; consolidate.

use ::

I get errors such as could not find function "mclapply" when I run the covarem_once function from flowcy. When I first run library(parallel) this error goes away. I believe this means you are using mclapply in the package rather than parallel::mclapply. Beyond making this change, all functions from other packages should be handled similarly. Refer to this section of Hadley Wickham's R Packages book for how to handle functions that are from other R packages.

cv_aggregate: error generated by `exists` function

The cv_aggregate function contains the following line of code:

stopifnot(exists(c("prob_lambdas", "mean_lambdas")))

which generates an error, since exists expects a string argument, not a vector of strings.

A workaround is to replace the above line with

stopifnot(exists("prob_lambdas"))
stopifnot(exists("mean_lambdas"))

init_mn() function

nsize = pmin(nrow(y)/TT * 30, nrow(y)) reports error when TT = 300, nrow(y) = 5.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.