helper_optimal_prediction | R Documentation |
[BETA] Compute the optimal prediction for each rows in a data frame, for a given model, a list of actionable features and a number of samples for each features to be tested.
helper_optimal_prediction( project_id, experiment_id, model_id, df, actionable_features, nb_sample, maximize, zip = FALSE, version = 1 )
project_id |
id of the project containing the use case. |
experiment_id |
id of the experiment to be predicted on. |
model_id |
id of the model to be predicted on. |
df |
a data frame to be predicted on. |
actionable_features |
a list of actionable_featuress features contained in the names of the data frame. |
nb_sample |
a vector of number of sample for each actionable_features features. |
maximize |
a boolean indicating if we maximize or minimize the predicted target. |
zip |
a boolean indicating if the data frame to predict should be zipped prior sending to the instance. |
version |
version of the use case we want to make the prediction on. |
data.frame - optimal vector and the prediction associated with for each rows in the original data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.