Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kdpsingh/splash
Splashing a User Interface onto h2o MOJO Files
https://github.com/kdpsingh/splash
Last synced: about 2 months ago
JSON representation
Splashing a User Interface onto h2o MOJO Files
- Host: GitHub
- URL: https://github.com/kdpsingh/splash
- Owner: ML4LHS
- License: other
- Created: 2021-03-05T11:57:28.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-05T12:04:04.000Z (almost 4 years ago)
- Last Synced: 2024-04-11T01:50:25.133Z (9 months ago)
- Language: R
- Homepage:
- Size: 206 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
- awesome-h2o - splash R package
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# splash: Splashing a User Interface onto h2o MOJO Files
When supplied with the path to an `h2o` mojo (`.zip`) file, `splash` builds an interactive document (`.Rmd` file), provides an `h2o-genmodel.jar` file, and launches the interactive document using `rmarkdown::render()`.
## Installation
You can install the development version of `splash` from GitHub with:
``` r
remotes::install_github('ML4LHS/splash')
```## Here is how it works
```{r eval=FALSE}
library(splash)temp_dir = file.path(tempdir(), 'splash_test')
dir.create(temp_dir)
file.copy(from = system.file('extdata/prostate_model.zip', package = 'splash'),
to = file.path(temp_dir, 'prostate_model.zip'))splash(file.path(temp_dir, 'prostate_model.zip'), overwrite = TRUE)
```![Screenshot of splash](splash_screenshot.png)