Skip to content

Releases: blasif/cocons

0.1.3

10 Oct 08:40
Compare
Choose a tag to compare

cocons 0.1.3

  • Vignette updates, watermark removed
  • Documentation polished
  • New holes_bm dataset with independent realizations and spatial trend

Enhances

  • added a NEWS.md file with version updates / modifications / enhances / etc
  • automatized delta for method plot for coco class.
  • Better visualization for plot(cocoOptim object, type = "ellipse")
  • coco:
    • now it is not necessary to provide all models for each source of nonstationarity. Those not specified will be set to those referenced
      with a stationary 0-mean model (i.e. tilt = 0 , aniso = 0, nugget = -Inf (because of log-parameterization)). If 'smooth' is not specified, then it is set to 0.5.
  • cocoOptim:
    • "auto" option for ncores argument for cocoOptim, providing a convenient number of threads based on the number of parameters to estimate, available threads, and settings of the LBFGSB routine
    • "safe" argument, which prevents crashes due to ill-posed covariance matrices (Choelsky factorization error)
    • .cocons.check.convergence now checks and reports at which iteration ill-posed covariance matrices have been found during the optimization.
    • now "pmle" works with multiple independent realizations for coco types dense and sparse
    • safer parallel handling
  • getHessian more memory efficient
  • cocoSim:
    • if provided a fitted coco object, then pars argument can be NULL (default), and coco.object@output$par is used instead (and also type is set to diff).
    • more memory efficient
  • safer parallel handling for getHessian
  • polishing of neg2loglikelihood functions, leading to more efficient code
  • new and more polished internal functions to assess the validity of arguments (stopifnot() instead of if() stop())
  • getCondNumber optimized
  • small improvement over cpp functions

Changes

  • switched getPen as an internal function
  • method plot for coco objects shows rotation angle of the kernel w.r.t x-axis
  • GetSpateffects now provides angle w.r.t to x-axis
  • method "summary" for coco objecets (former "print" method)
  • more proper naming of objects inside functions
  • renaming of "cat.vars" to "skip.scale" + associated checks and optimization
  • getCondNumber removed, which can be replaced with kappa function from base R (i.e. kappa(getCovMatrix(coco.object),exact = TRUE))

cocons 0.1.2

06 Sep 07:40
Compare
Choose a tag to compare

Several improves from 0.1.1:

  • Improve overall help files
  • Add examples for coco, cocoOptim, cocoPredict, and cocoSim
  • update Vignette
  • some bug fixes and overall code polishing

Some important changes in R files:

  • "smooth_limits" of "info" from the coco function is now called "smooth.limits" to match the style of other arguments (no backward compatibility)
  • new names for C++ sparse covariance functions
  • add warnings of non-convergence of the LBFGSB for cocoOptim
  • bug fixes for coco "methods"
  • less redundant code