Coder Social home page Coder Social logo

gsoc-bayesbd's Introduction

GSOC-BayesBD

To install the BayesBD package you will need:

  1. R, version 3.4.1 was used to build BayesBD.
  2. Rtools.
  3. The devtools package.

Steps:

  1. Open Rgui.
  2. Install the "devtools" package if you have not already using the dropdown "Packages -> Install package(s)...". Load the devtools package using the command library(devtools).
  3. Submit the command: install_github("nasyring/GSOC-BayesBD", subdir = "BayesBD").

Alternative Installation: Thie version 1.2 is built for Windows on CRAN. Install using the menu in Rgui.

Learning about the package:

  1. Load the package with the command libary(BayesBD). Bring up documentation using the command ?BayesBD, ?fitBinImage, ?fitContImage.
  2. Run the examples therein.
  3. Run BayesBDshiny() to bring up an interactive, html-based version of the package.

gsoc-bayesbd's People

Contributors

nasyring avatar

Stargazers

 avatar Meng Li avatar

Watchers

James Cloos avatar Meng Li avatar  avatar

gsoc-bayesbd's Issues

Performance comparison vs. the benchmark

Could we have some comparison in terms of the speed gain by doing the cpp, compared to the original package? Both functions should produce same results when the random number generators are controlled.

Shiny Integration

I have posted a very simple example (BayesBD_shinybinary) of using Shiny to interface with BayesBD. This is meant to start a conversation about how Shiny might be useful for sharing this work with others and facilitating visualization.

Currently, the app is barebones. It is set up to show examples of binary image boundary detection and allows the user to specify input values over a range for model parameters and sampling settings. It uses c++ code and keeps the number of samples low so that it updates quickly. Since this is a work in progress, it is not yet posted to Shiny.io, the free server available from RStudio which allows you to actually post Shiny apps to the web. For now, it just runs off of the local machine.

Code blocks & R crashing

In order to debug the R GUI crash issue, will it help if break the code into blocks and test them separately? Also, there are a lot of Rcpp's in the draft code, indicating pretty intense calls of C++ from R, does it seem to be a reason for the crash?

Code Documentation & R package

I guess it's now also a good time to document the code and create the updated R package. It usually takes a while to put things into a 'final' product so better to start slightly earlier.

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.