Learn R Programming

DominoPredictionLogging (version 0.1.0)

PredictionClient-class: Prediction Client Class

Description

Prediction client

Arguments

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

Details

Prediction Client to help capture prediction data

Examples

Run this code
# NOT RUN {
library(DominoPredictionLogging)
prediction_client <- PredictionClient(
feature_names = c("sepal.length", "sepal.width", "petal.length"),
predict_names = c("variety")
)
prediction_client$record(
feature_values = c(sepal_length, sepal_width, petal_length),
predict_values = c(predicted_value),
event_id = event_id
)
# }

Run the code above in your browser using DataLab