Skip to main content
Source

pub async fn evaluate_model( &self, model_name: String, replicas: i32, deployment_mode: String, source_table: String, destination_table: String, ) -> Result<EvaluateModelResponse, KineticaError>

Evaluat a model

  • model_name - Name of the model to be evaluated.
  • replicas - Number of replicas.
  • deployment_mode - Type of the deployment.
  • source_table - Name of the source table.
  • destination_table - Output table.
Source

pub async fn evaluate_model_with_opts( &self, model_name: String, replicas: i32, deployment_mode: String, source_table: String, destination_table: String, options: EvaluateModelRequestOptions, ) -> Result<EvaluateModelResponse, KineticaError>

Evaluat a model

  • model_name - Name of the model to be evaluated.
  • replicas - Number of replicas.
  • deployment_mode - Type of the deployment.
  • source_table - Name of the source table.
  • destination_table - Output table.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built EvaluateModelRequest to the /evaluate/model endpoint.

Sends a pre-built EvaluateModelRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.