create_deployment_model {previsionio}R Documentation

Create a new deployment for a model.

Description

Create a new deployment for a model.

Usage

create_deployment_model(
  project_id,
  name,
  experiment_id,
  main_model_experiment_version_id,
  challenger_model_experiment_version_id = NULL,
  access_type = c("fine_grained"),
  type_violation_policy = c("best_effort"),
  description = NULL,
  main_model_id,
  challenger_model_id = NULL
)

Arguments

project_id

id of the project, can be obtained with get_projects().

name

name of the deployment.

experiment_id

id of the experiment to deploy, can be obtained with get_experiment_id_from_name().

main_model_experiment_version_id

id of the experiment_version to deploy, can be obtained with get_experiment_version_id().

challenger_model_experiment_version_id

id of the challenger experiment_version to deploy, can be obtained with get_experiment_version_id().

access_type

type of access of the deployment among "fine_grained" (project defined, default), "private" (instance) or "public" (everyone).

type_violation_policy

handling of type violation when making predictions among "best_effort" (default) or "strict" (stops the prediction if there is a type violation).

description

description of the deployment.

main_model_id

id of the model to deploy

challenger_model_id

id of the challenger model to deploy

Value

list - parsed content of the deployment.


[Package previsionio version 11.7.0 Index]