shinyML_classification: Implement a shiny web app to compare h2o and Spark supervised...

Description Usage Arguments Author(s) Examples

View source: R/shinyML_classification.R

Description

This function creates in one line of code a shareable web app to compare supervised classification model performances

Usage

1
2
3
4
5
6
7
shinyML_classification(
  data = data,
  y,
  framework = "h2o",
  share_app = FALSE,
  port = NULL
)

Arguments

data

dataset containing one or more explanatory variables and one categorical variable to predict. The dataset must be a data.frame or a data.table and can contain time-based column on Date or POSIXct format

y

the categorical output variable to predict (must correspond to one data column)

framework

the machine learning framework chosen to train and test models (either h2o or Spark). h2o by default

share_app

a logical value indicating whether the app must be shared on local LAN

port

a four-digit number corresponding to the port the application should listen to. This parameter is necessary only if share_app option is set to TRUE

Author(s)

Jean Bertin, jean.bertin@mines-paris.org

Examples

1
2
3
4
5
## Not run: 
library(shinyML)
shinyML_classification(data = iris,y = "Species",framework = "h2o")

## End(Not run)

JeanBertinR/shinyML documentation built on March 3, 2021, 10:14 a.m.