yhat.predict_bulk: Make bulk predictions using Yhat.

Description Usage Arguments Examples

View source: R/yhatR.R

Description

This function calls Yhat's bulk API and returns a response formatted as a data frame.

Usage

1
2
yhat.predict_bulk(model_name, data, model_owner, raw_input = FALSE,
  silent = TRUE)

Arguments

model_name

the name of the model you want to call

data

input rows of data to be scored

model_owner

the owner of the model [optional]

raw_input

when true, incoming data will NOT be coerced into data.frame

silent

should output of url to console (via yhat.post) be silenced? Default is FALSE.

Examples

1
2
3
4
5
6
7
8
9
yhat.config <- c(
 username = "your username",
 apikey = "your apikey",
 env = "http://sandbox.yhathq.com/"
)
## Not run: 
yhat.predict_bulk("irisModel", iris)

## End(Not run)

yhat/yhatr documentation built on May 4, 2019, 2:33 p.m.