DataCaptureClient-class: Data Capture Client Class

Description Details Fields Examples

Description

Data Capture Client

Details

Data Capture Client to help capture prediction data

Fields

feature_names

array of feature names

predict_names

array of prediction names

metadata_names

array of metadata names

instance_id

string containing a unique instance id

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(DominoDataCapture)
data_capture_client <- DataCaptureClient(
feature_names = c("sepal.length", "sepal.width", "petal.length"),
predict_names = c("variety")
)
data_capture_client$capturePrediction(
feature_values = c(sepal_length, sepal_width, petal_length),
predict_values = c(predicted_value),
event_id = event_id
)

DominoDataCapture documentation built on Nov. 7, 2021, 5:06 p.m.